Browse Source

优化门诊病历编辑的时候会将诊断区域的请选择加入到诊断

hurugang 3 years ago
parent
commit
4d1d4c2e3a

+ 3 - 0
src/main/java/cn/hnthyy/thmz/controller/mz/MzBlRecordController.java

@@ -225,6 +225,9 @@ public class MzBlRecordController {
                 resultMap.put("message", "修改门诊病历的处理意见失败,您无法修改非您本人接诊的病历!");
                 return resultMap;
             }
+            if("请选择".equals(mzBlRecord.getIcdText())){
+                mzBlRecord.setIcdText(null);
+            }
             dbMzBlRecord.setEmrChiefComplaint(mzBlRecord.getEmrChiefComplaint());
             dbMzBlRecord.setEmrHpi(mzBlRecord.getEmrHpi());
             dbMzBlRecord.setEmrPs(mzBlRecord.getEmrPs());

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzfzPatientOrderMapper.java

@@ -75,7 +75,7 @@ public interface MzfzPatientOrderMapper {
      * @return
      */
     @Select({"<script>",
-            "select top ${pageSize} rtrim(patient_id) patient_id,times,name,dept_code,room_code,doctor_code,gh_no,visit_date,slow_flag,serial_no,req_type,req_order,ampm,fz_no,status_flag,call_time,fz_flag FROM (SELECT ROW_NUMBER() OVER (ORDER BY mzfz_patient_order_page.fz_no asc) AS RowNumber,",
+            "select top ${pageSize} rtrim(patient_id) patient_id,times,name,dept_code,room_code,doctor_code,gh_no,visit_date,slow_flag,serial_no,req_type,req_order,ampm,fz_no,status_flag,call_time,fz_flag FROM (SELECT ROW_NUMBER() OVER (ORDER BY mzfz_patient_order_page.fz_no,visit_date asc) AS RowNumber,",
             "* from ${tableName} mzfz_patient_order_page WITH(NOLOCK) where 1=1 and DateDiff(hh,visit_date,getDate()) &lt;=24 ",
             "<when test='statusFlagList!=null'>",
             " and status_flag in ",