فهرست منبع

Merge remote-tracking branch 'origin/20210512_yw_check' into debug

wangsy 4 سال پیش
والد
کامیت
7dc202d31a
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      src/main/resources/mapper/MedCheckInfoMapper.xml

+ 5 - 2
src/main/resources/mapper/MedCheckInfoMapper.xml

@@ -149,8 +149,11 @@
         <if test="endDate != null">
             <![CDATA[ AND mbi.behospital_date < #{endDate}]]>
         </if>
-        <if test="creatStatus != null and creatStatus != ''">
-            AND mci.create_status = #{creatStatus}
+        <if test="creatStatus != null and creatStatus == 1">
+            AND mci.job_create_time is not null
+        </if>
+        <if test="creatStatus != null and creatStatus == 0">
+            AND mci.job_create_time is null
         </if>
         <if test="name != null and name != ''">
             AND mbi.name like CONCAT('%',#{name},'%')