Commit 3bde27ab authored by zhengyi's avatar zhengyi

提货记录时间统计的提货箱数,按时间范围内的提货记录值来统计

parent 157ab200
......@@ -7571,6 +7571,9 @@
left join ecw_channel channel on channel.channel_id = o.channel_id
where o.deleted = 0 and o.in_warehouse_state != 211 and o.in_warehouse_state != 208 and o.status != 10 and
op.deleted = 0
<if test="query.beginPickUpTime != null and query.endPickUpTime != null ">
AND op.`create_time` between #{query.beginPickUpTime} and #{query.endPickUpTime})
</if>
<if test="query.deptId != null ">
AND o.dept_id = #{query.deptId}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment