This commit is contained in:
linfso 2025-01-05 22:03:01 +08:00
parent 243bd9c91b
commit 9216d20143

View File

@ -747,20 +747,19 @@ public class EmisWaybillController extends EmisBaseController
list = emisWaybillService.selectWaitGotOrderList(emisWaybill);
}
else{
// 如果不带查询本人开单的数据
if(StringUtils.isEmpty(emisWaybill.getBillCode())){
try {
emisWaybill.setRegisterManCode(getLoginUser().getUser().getEmpCode());
}catch(Exception ex){
ex.printStackTrace();
}
}
// 查询已取消 和转单的订单
if( "3".equals(waybillStatType) || "4".equals(waybillStatType) ){
list = emisWaybillService.selectOrderList(emisWaybill);
}
else{
// 如果不带查询本人开单的数据
// if(StringUtils.isEmpty(emisWaybill.getBillCode())){
// try {
// emisWaybill.setRegisterManCode(getLoginUser().getUser().getEmpCode());
// }catch(Exception ex){
// ex.printStackTrace();
// }
// }
list = emisWaybillService.selectEmisWaybillList(emisWaybill);
}