gongdecai 4 years ago
parent
commit
15acfe32c3

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

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