gongdecai 4 سال پیش
والد
کامیت
15acfe32c3
1فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 6 2
      winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/ContractManagementInfoMapper.xml

+ 6 - 2
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/ContractManagementInfoMapper.xml

@@ -18,7 +18,9 @@
             <if test="searchType == 2">
             <if test="searchType == 2">
                 AND m.status_flag = '3'
                 AND m.status_flag = '3'
             </if>
             </if>
-
+            <if test="searchType == 3">
+                AND p.mildew_grain != 0
+            </if>
         </if>
         </if>
         <if test="startDate != null">
         <if test="startDate != null">
             AND (DATE_FORMAT(m.signing_date,"%Y%m%d") &gt;=
             AND (DATE_FORMAT(m.signing_date,"%Y%m%d") &gt;=
@@ -65,7 +67,9 @@
             <if test="searchType == 2">
             <if test="searchType == 2">
                 AND m.status_flag = '3'
                 AND m.status_flag = '3'
             </if>
             </if>
-
+            <if test="searchType == 3">
+                AND p.mildew_grain != 0
+            </if>
         </if>
         </if>
         <if test="contractType != null and contractType != ''">
         <if test="contractType != null and contractType != ''">
             AND m.contract_type = #{contractType}
             AND m.contract_type = #{contractType}