diff --git a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml index 8f30bfcbd..4f439a529 100644 --- a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml @@ -178,35 +178,40 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ) - - and EXISTS ( - select 1 from emis_waybill ewb - where a.bill_code=ewb.bill_code and ewb.pickup_method in('1','3') and ewb.order_status in ('0','1','3') + + and EXISTS ( + select 1 from emis_waybill ewb + where a.bill_code=ewb.bill_code and ewb.pickup_method in('1','3') and ewb.order_status in ('0','1','3') + + + and ewb.pick_start_date = ]]> #{params.beginPickStartDate} + + + and ewb.pick_start_date #{params.endPickStartDate} + + + + + and ewb.salesmen like concat('%', #{params.salesmen}, '%') + + + + and ewb.send_name like concat('%', #{params.sendName}, '%') + + + + and ewb.send_mobile like concat('%', #{params.sendMobile}, '%') + + + + and ewb.send_company like concat('%', #{params.sendCompany}, '%') + + + and ewb.into_warehouse_code=#{params.privSiteCode} - - and ewb.pick_start_date = ]]> #{params.beginPickStartDate} - - - and ewb.pick_start_date #{params.endPickStartDate} - - - ) - - - - and EXISTS ( - select 1 from emis_waybill ewb - where a.bill_code=ewb.bill_code and ewb.pickup_method in('1','3') and ewb.order_status in ('0','1','3') - - and ewb.pick_start_date = ]]> #{params.beginPickStartDate} - - - and ewb.pick_start_date #{params.endPickStartDate} - - - + ) - + and create_time = ]]> #{params.beginCreateTime}