demand: 批量扫描漏组批次订单扫描过滤未接单/已取消的运单,扫描过滤进口的虚拟单

committer: heyu
This commit is contained in:
aike 2025-07-08 09:45:46 +08:00
parent eb5f85960e
commit 9702583f04

View File

@ -3822,8 +3822,12 @@
</if>
and a.send_date <![CDATA[ > ]]> '2025-01-01 00:00:00'
and a.send_date <![CDATA[ <= ]]> DATE_SUB(CURDATE(), INTERVAL 7 DAY)
and (a.virtual_remark is null or virtual_remark = '' or virtual_remark = ' ')
and (a.problem_type is null or a.problem_type != 151)
and (
(a.receive_country = '0086' and a.problem_type not in (173,170,151))
or
(a.receive_country != '0086' and (a.virtual_remark is null or a.virtual_remark = '' or a.virtual_remark = ' ')and (a.problem_type is null or a.problem_type != 151))
)
and a.order_status not in ('0','2')
order by a.create_time desc
limit #{offset}, #{pageSize}
</select>