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