|
@@ -134,12 +134,9 @@
|
|
|
<if test="orderNo != null and orderNo != ''">
|
|
|
AND co.orderNo = #{orderNo}
|
|
|
</if>
|
|
|
- <if test="organizeID != null and organizeID != '' and organizeID != 0 ">
|
|
|
+ <if test="organizeID != null">
|
|
|
AND co.organizeID = #{organizeID}
|
|
|
</if>
|
|
|
- <if test="organizeID == 0 ">
|
|
|
- AND (co.organizeID IS NULL OR co.organizeID = 2)
|
|
|
- </if>
|
|
|
<if test="status != null and status != ''">
|
|
|
<choose>
|
|
|
<when test="status == '99'.toString()">
|
|
@@ -639,12 +636,9 @@
|
|
|
<if test="orderID != null and orderID != ''">
|
|
|
AND co.orderID = #{orderID}
|
|
|
</if>
|
|
|
- <if test="organizeID != null and organizeID != '' and organizeID != 0 ">
|
|
|
+ <if test="organizeID != null">
|
|
|
AND co.organizeID = #{organizeID}
|
|
|
</if>
|
|
|
- <if test="organizeID == 0 ">
|
|
|
- AND (co.organizeID IS NULL OR co.organizeID = 2)
|
|
|
- </if>
|
|
|
<if test="orderNo != null and orderNo != ''">
|
|
|
AND co.orderNo like concat('%', #{orderNo} ,'%')
|
|
|
</if>
|