|
@ -90,10 +90,10 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
rs.put("states",states);
|
|
|
List<Map<String,Object>> diseases = new ArrayList<>();
|
|
|
Map<String,Object> dis1 = new HashMap<>();
|
|
|
dis1.put("code","1");
|
|
|
dis1.put("code","HP0093");
|
|
|
dis1.put("name","高血压");
|
|
|
Map<String,Object> dis2 = new HashMap<>();
|
|
|
dis2.put("code","2");
|
|
|
dis2.put("code","HP0047");
|
|
|
dis2.put("name","糖尿病");
|
|
|
diseases.add(dis1);
|
|
|
diseases.add(dis2);
|
|
@ -851,10 +851,12 @@ public class PrescriptionInfoService extends BaseService {
|
|
|
" FROM " +
|
|
|
" wlyy_prescription pr " +
|
|
|
" JOIN wlyy_prescription_expressage e ON pr. CODE = e.prescription_code " +
|
|
|
" JOIN wlyy_prescription_reviewed r ON pr.code = r.prescription_code " +
|
|
|
" WHERE " +
|
|
|
" pr.admin_team_id = ? " +
|
|
|
" AND pr.dispensary_type = 3 " +
|
|
|
" AND e.expressage_code IS NULL");
|
|
|
" AND e.expressage_code IS NULL " +
|
|
|
" AND r.status=1 ");
|
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(pre_sql.toString(),new Object[]{teamCode});
|
|
|
|
|
|
if(list!=null&&list.size()>0){
|