|
|
@@ -936,9 +936,15 @@
|
|
|
<if test="orderNo != null">
|
|
|
and a.order_no= #{orderNo,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="approval != null">
|
|
|
- and a.approval= #{approval,jdbcType=INTEGER}
|
|
|
+ <if test="approval ==0">
|
|
|
+ and e.approval = 0
|
|
|
</if>
|
|
|
+ <if test="approval ==1">
|
|
|
+ and e.approval = 1
|
|
|
+ </if>
|
|
|
+ <if test="approval ==2">
|
|
|
+ and e.approval > 1
|
|
|
+ </if>
|
|
|
<if test="contractNo != null">
|
|
|
and e.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
@@ -984,9 +990,15 @@
|
|
|
<if test="orderNo != null">
|
|
|
and a.order_no= #{orderNo,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="approval != null">
|
|
|
- and a.approval= #{approval,jdbcType=INTEGER}
|
|
|
+ <if test="approval ==0">
|
|
|
+ and e.approval = 0
|
|
|
+ </if>
|
|
|
+ <if test="approval ==1">
|
|
|
+ and e.approval = 1
|
|
|
</if>
|
|
|
+ <if test="approval ==2">
|
|
|
+ and e.approval > 1
|
|
|
+ </if>
|
|
|
<if test="contractNo != null">
|
|
|
and e.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
|
|
|
</if>
|