|
@@ -372,6 +372,15 @@ GROUP BY planNo;
|
|
|
<if test='sy.rejectDate != null and sy.rejectDate !="" and sy.rejectDate == "1"'>
|
|
|
AND b.stuta = '驳回'
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test='sy.signNum != null and sy.signNum !="" and sy.signNum=="1"'>
|
|
|
+ AND JSON_EXTRACT( a.cost_info, '$.signNumA' ) <![CDATA[<]]>0
|
|
|
+ </if>
|
|
|
+ <if test='sy.signNum != null and sy.signNum !="" and sy.signNum=="2"'>
|
|
|
+ AND JSON_EXTRACT( a.cost_info, '$.signNumB' ) >=0
|
|
|
+ AND JSON_EXTRACT( a.cost_info, '$.signNumB' ) <![CDATA[<]]>0.8
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="sy.status != null and sy.status !=''">
|
|
|
AND a.status in
|
|
|
<foreach collection="status" item="value" index="index" open="(" separator="," close=")">
|
|
@@ -498,11 +507,10 @@ GROUP BY planNo;
|
|
|
AND b.stuta = '驳回'
|
|
|
</if>
|
|
|
|
|
|
-
|
|
|
- <if test="sy.signNumA != null and sy.signNumA !=''">
|
|
|
+ <if test='sy.signNum != null and sy.signNum !="" and sy.signNum=="1"'>
|
|
|
AND JSON_EXTRACT( a.cost_info, '$.signNumA' ) <![CDATA[<]]>0
|
|
|
</if>
|
|
|
- <if test="sy.signNumB != null and sy.signNumB !=''">
|
|
|
+ <if test='sy.signNum != null and sy.signNum !="" and sy.signNum=="2"'>
|
|
|
AND JSON_EXTRACT( a.cost_info, '$.signNumB' ) >=0
|
|
|
AND JSON_EXTRACT( a.cost_info, '$.signNumB' ) <![CDATA[<]]>0.8
|
|
|
</if>
|