浏览代码

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},'%')