|
@@ -72,10 +72,10 @@
|
|
|
<if test="null != queryOrderFormLimitReq.factoryCoverName and queryOrderFormLimitReq.factoryCoverName != ''">
|
|
|
AND factory.id = #{queryOrderFormLimitReq.factoryCoverName}
|
|
|
</if>
|
|
|
- <if test=" 1 == queryOrderFormLimitReq.associateSapOrder or 1 ==queryOrderFormLimitReq.status ">
|
|
|
+ <if test=" 1 == queryOrderFormLimitReq.associateSapOrder or 1 ==queryOrderFormLimitReq.type ">
|
|
|
AND package.sap_order_no IS NOT NULL
|
|
|
</if>
|
|
|
- <if test=" 2 == queryOrderFormLimitReq.associateSapOrder or 2 ==queryOrderFormLimitReq.status ">
|
|
|
+ <if test=" 2 == queryOrderFormLimitReq.associateSapOrder or 2 ==queryOrderFormLimitReq.type ">
|
|
|
AND package.sap_order_no IS NULL
|
|
|
</if>
|
|
|
</where>
|