Commit bdfa7841e1b66b081bfa26409d354d99825aee7b

Authored by yeqianyong
1 parent 6a9d12e5

楚江ERP-查询可撤销/变更的订货单数据接口bug修复

... ... @@ -182,9 +182,9 @@
182 182 AND tb.type ='PRODUCTION'
183 183 </when>
184 184 <when test="vo.queryType == 'CHANGE'">
185   - and tb.examine_status = 'PASS'
186   - and tb.status != 'SHIPPED'
187   - and tb.revoke_status != 'UNDOING'
  185 + AND tb.examine_status = 'PASS'
  186 + AND tb.status != 'SHIPPED'
  187 + AND (tb.revoke_status != 'UNDOING' OR tb.revoke_status IS NULL)
188 188 </when>
189 189 <otherwise>
190 190 AND 1 = 0 <!-- 确保查询不到任何数据 -->
... ...