|
@@ -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") >=
|
|
AND (DATE_FORMAT(m.signing_date,"%Y%m%d") >=
|
|
@@ -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}
|