This commit is contained in:
linfso 2024-08-17 16:46:28 +08:00
parent 94fac35be4
commit a44ad066a7

View File

@ -809,15 +809,12 @@ public class EmisWaybillController extends EmisBaseController
List<EmisWaybill> list = null;
// 如果单号不为空,则去除其他参数
if(!StringUtils.isEmpty(emisWaybill.getBillCode())){
EmisWaybill queryEmisWaybill =new EmisWaybill();
queryEmisWaybill.setBillCode(WaybillHelper.formatQueryValue(emisWaybill.getBillCode()));
emisWaybill.setBillCode(WaybillHelper.formatQueryValue(emisWaybill.getBillCode()));
String[] billCodeSortList = emisWaybill.getBillCode().split(",");
if(billCodeSortList.length>1){
// queryEmisWaybill.setParams(null);
queryEmisWaybill.getParams().put("billCodeSortList",Arrays.asList(billCodeSortList));
emisWaybill.getParams().put("billCodeSortList",Arrays.asList(billCodeSortList));
}
list = emisWaybillService.selectPrintWaybillList(queryEmisWaybill);
list = emisWaybillService.selectPrintWaybillList(emisWaybill);
}else{
// 设置通用权限查询参数
setPrivParams(emisWaybill);