|
@ -1907,12 +1907,12 @@ public class FamilyContractService extends BaseService {
|
|
" WHERE " +
|
|
" WHERE " +
|
|
" sf.type = 2 " +
|
|
" sf.type = 2 " +
|
|
" AND sf. STATUS >= 0 " +
|
|
" AND sf. STATUS >= 0 " +
|
|
" and sf.doctor = ? " +
|
|
|
|
|
|
// " and sf.doctor = ? " +
|
|
" and sf.admin_team_code = ? " +
|
|
" and sf.admin_team_code = ? " +
|
|
" AND ( sf.doctor_health is null or sf.doctor_health ='' ) ";
|
|
" AND ( sf.doctor_health is null or sf.doctor_health ='' ) ";
|
|
List<Map<String, Object>> datas = null;
|
|
List<Map<String, Object>> datas = null;
|
|
//查找居民
|
|
//查找居民
|
|
datas = jdbcTemplate.queryForList(sql, labelType, doctorCode, teamCode);
|
|
|
|
|
|
datas = jdbcTemplate.queryForList(sql, labelType, teamCode);
|
|
|
|
|
|
//根据类别查找标签
|
|
//根据类别查找标签
|
|
List<SignPatientLabel> s = labelDao.findByLabelTypeAndStatusAndTeamCode(labelType, 1,teamCode);
|
|
List<SignPatientLabel> s = labelDao.findByLabelTypeAndStatusAndTeamCode(labelType, 1,teamCode);
|