Merge pull request 'demand: 批量扫描漏组批次订单扫描过滤未接单/已取消的运单,扫描过滤进口的虚拟单' (#99) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/99
This commit is contained in:
heyu 2025-07-08 09:46:33 +08:00
commit 35c163c692

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>