|
@@ -10,11 +10,12 @@ import com.ruoyi.approvalFlow.domain.vo.AppAuditItemVO;
|
|
|
import com.ruoyi.approvalFlow.mapper.*;
|
|
|
import com.ruoyi.approvalFlow.service.IAuditPathsService;
|
|
|
import com.ruoyi.basicData.domain.TFees;
|
|
|
+import com.ruoyi.basicData.mapper.TCorpsMapper;
|
|
|
import com.ruoyi.basicData.mapper.TFeesMapper;
|
|
|
+import com.ruoyi.basicData.mapper.TWarehouseMapper;
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
import com.ruoyi.common.core.domain.model.LoginUser;
|
|
|
import com.ruoyi.common.exception.WarehouseException;
|
|
|
-import com.ruoyi.common.utils.DateUtils;
|
|
|
import com.ruoyi.common.utils.DictUtils;
|
|
|
import com.ruoyi.common.utils.StringUtils;
|
|
|
import com.ruoyi.finance.domain.TFee;
|
|
@@ -23,26 +24,21 @@ import com.ruoyi.finance.service.impl.TFeeServiceImpl;
|
|
|
import com.ruoyi.reportManagement.domain.TWhgenleg;
|
|
|
import com.ruoyi.reportManagement.mapper.TWhgenlegMapper;
|
|
|
import com.ruoyi.warehouseBusiness.component.CalculationWarehouseService;
|
|
|
-import com.ruoyi.warehouseBusiness.domain.TWarehouseAgreement;
|
|
|
-import com.ruoyi.warehouseBusiness.domain.TWarehouseBills;
|
|
|
-import com.ruoyi.warehouseBusiness.domain.TWarehousebillsfees;
|
|
|
-import com.ruoyi.warehouseBusiness.domain.TWarehousebillsitems;
|
|
|
+import com.ruoyi.warehouseBusiness.domain.*;
|
|
|
+import com.ruoyi.warehouseBusiness.domain.dto.TWarehouseBillsR;
|
|
|
import com.ruoyi.warehouseBusiness.domain.enums.WarehouseActIdEnum;
|
|
|
import com.ruoyi.warehouseBusiness.domain.enums.WarehouseTypeEnum;
|
|
|
-import com.ruoyi.warehouseBusiness.mapper.TWarehouseAgreementMapper;
|
|
|
-import com.ruoyi.warehouseBusiness.mapper.TWarehouseBillsMapper;
|
|
|
-import com.ruoyi.warehouseBusiness.mapper.TWarehousebillsfeesMapper;
|
|
|
-import com.ruoyi.warehouseBusiness.mapper.TWarehousebillsitemsMapper;
|
|
|
+import com.ruoyi.warehouseBusiness.mapper.*;
|
|
|
import com.ruoyi.warehouseBusiness.service.impl.TWarehouseAgreementServiceImpl;
|
|
|
import com.ruoyi.warehouseBusiness.service.impl.TWarehouseBillsServiceImpl;
|
|
|
import com.ruoyi.warehouseBusiness.service.impl.TWarehousebillsModifyServiceImpl;
|
|
|
-import com.sun.scenario.effect.impl.sw.java.JSWEffectPeer;
|
|
|
import org.apache.commons.compress.utils.Lists;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.transaction.interceptor.TransactionAspectSupport;
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.*;
|
|
|
|
|
|
import static java.util.stream.Collectors.toList;
|
|
@@ -109,6 +105,12 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
|
|
|
@Autowired
|
|
|
private CalculationWarehouseService calculationWarehouseService;
|
|
|
+ @Autowired
|
|
|
+ private TWarehouseMapper tWarehouseMapper;
|
|
|
+ @Autowired
|
|
|
+ private TCorpsMapper tCorpsMapper;
|
|
|
+ @Autowired
|
|
|
+ private TEnclosureMapper tEnclosureMapper;
|
|
|
|
|
|
/**
|
|
|
* 查询审批流配置主
|
|
@@ -287,17 +289,17 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
*/
|
|
|
@Override
|
|
|
public List<Map<String, Object>> selectAllAuditItems(AuditItems auditItems) {
|
|
|
- List<Map<String,Object>> list = auditItemsMapper.selectAuditItems(auditItems);
|
|
|
- for (Map<String,Object> map : list) {
|
|
|
+ List<Map<String, Object>> list = auditItemsMapper.selectAuditItems(auditItems);
|
|
|
+ for (Map<String, Object> map : list) {
|
|
|
// 根据审批明细详情主表 id 获取审批明细从表数据
|
|
|
- List<Map<String,Object>> auditItemsDoList = auditItemsDoMapper.selectByFPid(Long.valueOf(map.get("id").toString()));
|
|
|
+ List<Map<String, Object>> auditItemsDoList = auditItemsDoMapper.selectByFPid(Long.valueOf(map.get("id").toString()));
|
|
|
StringBuilder stringBuilder = new StringBuilder();
|
|
|
- for (Map<String,Object> auditItemsDo : auditItemsDoList) {
|
|
|
+ for (Map<String, Object> auditItemsDo : auditItemsDoList) {
|
|
|
if (StringUtils.isNotNull(auditItemsDo)) { // 有数据
|
|
|
stringBuilder.append(auditItemsDo.get("fBsno")).append(",");
|
|
|
}
|
|
|
}
|
|
|
- map.put("fBsno",StringUtils.removeTheLastComma(stringBuilder));
|
|
|
+ map.put("fBsno", StringUtils.removeTheLastComma(stringBuilder));
|
|
|
}
|
|
|
return list;
|
|
|
}
|
|
@@ -376,7 +378,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
} else {
|
|
|
tWarehouseBillsMapper.warehouseFollowUpdate(auditItems.getBillId(), fettle, at.getAuditItem());
|
|
|
}
|
|
|
- getfBillStatus(auditItems,at,fettle);
|
|
|
+ getfBillStatus(auditItems, at, fettle);
|
|
|
if (Objects.equals(fettle, 6L)) {
|
|
|
if (Objects.equals(auditItems.getActId(), 120L)) {
|
|
|
List<TWarehousebillsfees> feesList = tWarehousebillsfeesMapper.selectWarehousebillsfeesByPId(auditItems.getBillId());
|
|
@@ -670,7 +672,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
tWarehouseBills.setfId(auditItems.getBillId());
|
|
|
tWarehouseBills.setfBillstatus(fettle);
|
|
|
tWarehouseBillsMapper.updateKaHeOrder(tWarehouseBills);
|
|
|
- getfBillStatus(auditItems,at,fettle);
|
|
|
+ getfBillStatus(auditItems, at, fettle);
|
|
|
} else if (Objects.equals(auditItems.getActId(), WarehouseActIdEnum.FEE_CHANGES.getActId().longValue())) {
|
|
|
// 费用变更审核通过处理
|
|
|
if ("T".equals(at.getIffinalItem())) {
|
|
@@ -708,10 +710,11 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
|
|
|
/**
|
|
|
* 获取费用明细数据,并保持费用明细请核状态不改动
|
|
|
+ *
|
|
|
* @param auditItems 审批流
|
|
|
- * @param at 审批流
|
|
|
+ * @param at 审批流
|
|
|
*/
|
|
|
- public void getfBillStatus(AuditItems auditItems,AuditItems at,Long fettle) {
|
|
|
+ public void getfBillStatus(AuditItems auditItems, AuditItems at, Long fettle) {
|
|
|
List<TWarehousebillsfees> tWarehousebillsfees = tWarehousebillsfeesMapper.selectWarehousebillsfeesByPId(auditItems.getBillId());
|
|
|
for (TWarehousebillsfees result : tWarehousebillsfees) {
|
|
|
if (result.getfBillstatus() != 6L) { // 判断状态
|
|
@@ -748,7 +751,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
} else {
|
|
|
tWarehouseBillsMapper.warehouseApprovalUpdate(auditItems, fettle);
|
|
|
}
|
|
|
- getfBillStatus(auditItems,auditItems,null);
|
|
|
+ getfBillStatus(auditItems, auditItems, null);
|
|
|
if (Objects.equals(auditItems.getActId(), 150L)) {
|
|
|
List<TWarehousebillsfees> feesList = tWarehousebillsfeesMapper.selectWarehousebillsfeesByPId(auditItems.getBillId());
|
|
|
for (TWarehousebillsfees wareItem : feesList) {
|
|
@@ -791,7 +794,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
return ajaxResult;
|
|
|
}
|
|
|
// 更新费用明细
|
|
|
- AjaxResult result = tFeeServiceImpl.updateDSFMoney(auditItems.getBillId(),fBillType);
|
|
|
+ AjaxResult result = tFeeServiceImpl.updateDSFMoney(auditItems.getBillId(), fBillType);
|
|
|
String message = result.get("code").toString();
|
|
|
if ("500".equals(message)) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
@@ -825,14 +828,14 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
} else if (auditItems.getActId() >= 430 && auditItems.getActId() <= 450) {
|
|
|
fettle = 3L;
|
|
|
String fBillType = null;
|
|
|
- if (auditItems.getActId() == 450 || auditItems.getActId() == 440){
|
|
|
+ if (auditItems.getActId() == 450 || auditItems.getActId() == 440) {
|
|
|
fBillType = "DCRevoke";
|
|
|
- }else if (auditItems.getActId() == 430){
|
|
|
+ } else if (auditItems.getActId() == 430) {
|
|
|
fBillType = "KHDZRevoke";
|
|
|
}
|
|
|
// 查询财务状态
|
|
|
TFee tFee = tFeeMapper.selectTFeeById(auditItems.getBillId());
|
|
|
- if (!"4".equals(tFee.getfBillstatus()) && !"5".equals(tFee.getfBillstatus())) {
|
|
|
+ if (!"4".equals(tFee.getfBillstatus()) && !"5".equals(tFee.getfBillstatus())) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return AjaxResult.error("审批驳回失败: 数据已操作");
|
|
|
}
|
|
@@ -844,7 +847,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
return ajaxResult;
|
|
|
}
|
|
|
// 更新费用明细
|
|
|
- AjaxResult result = tFeeServiceImpl.updateMoney(auditItems.getBillId(),fBillType);
|
|
|
+ AjaxResult result = tFeeServiceImpl.updateMoney(auditItems.getBillId(), fBillType);
|
|
|
String message = result.get("code").toString();
|
|
|
if ("500".equals(message)) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
@@ -934,7 +937,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
tWarehouseBills.setfId(auditItems.getBillId());
|
|
|
tWarehouseBills.setfBillstatus(fettle);
|
|
|
tWarehouseBillsMapper.updateKaHeOrder(tWarehouseBills);
|
|
|
- getfBillStatus(auditItems,auditItems,null);
|
|
|
+ getfBillStatus(auditItems, auditItems, null);
|
|
|
} else if (Objects.equals(auditItems.getActId(), WarehouseActIdEnum.FEE_CHANGES.getActId().longValue())) {
|
|
|
warehousebillsModifyService.additionalFeeInformation(auditItems.getBillId(), WarehouseTypeEnum.DISMISS);
|
|
|
}
|
|
@@ -1020,9 +1023,9 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
}
|
|
|
}
|
|
|
tWarehouseBillsMapper.warehouseApprovalUpdate(auditItems, fettle);
|
|
|
- getfBillStatus(auditItems,auditItems,null);
|
|
|
+ getfBillStatus(auditItems, auditItems, null);
|
|
|
// 撤销审批时删除审批流任务明细从表对应数据
|
|
|
- AuditItemsAbout.revokeDeleteAID(auditItems.getActId(),auditItems.getBillId());
|
|
|
+ AuditItemsAbout.revokeDeleteAID(auditItems.getActId(), auditItems.getBillId());
|
|
|
} else if (auditItems.getActId() >= 210 && auditItems.getActId() <= 230) {
|
|
|
fettle = 2L;
|
|
|
String fBillType = null;
|
|
@@ -1045,14 +1048,14 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
return AjaxResult.error("审批撤销失败: 更新审批状态失败");
|
|
|
}
|
|
|
// 更新费用明细
|
|
|
- AjaxResult result = tFeeServiceImpl.updateDSFMoney(auditItems.getBillId(),fBillType);
|
|
|
+ AjaxResult result = tFeeServiceImpl.updateDSFMoney(auditItems.getBillId(), fBillType);
|
|
|
String message = result.get("code").toString();
|
|
|
if ("500".equals(message)) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return result;
|
|
|
}
|
|
|
// 撤销审批时删除审批流任务明细从表对应数据
|
|
|
- AuditItemsAbout.revokeDeleteAID(auditItems.getActId(),auditItems.getBillId());
|
|
|
+ AuditItemsAbout.revokeDeleteAID(auditItems.getActId(), auditItems.getBillId());
|
|
|
} else if (auditItems.getActId() >= 310 && auditItems.getActId() <= 320) {
|
|
|
fettle = 2L;
|
|
|
// 查询协议状态
|
|
@@ -1070,7 +1073,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
}
|
|
|
if (auditItems.getActId() == 310) { // 如果是仓储费审批流
|
|
|
// 删去审批流业务编号
|
|
|
- AuditItemsAbout.revokeDeleteAID(auditItems.getActId(),auditItems.getBillId());
|
|
|
+ AuditItemsAbout.revokeDeleteAID(auditItems.getActId(), auditItems.getBillId());
|
|
|
}
|
|
|
} else if (auditItems.getActId() == 410) {
|
|
|
fettle = 2L;
|
|
@@ -1101,9 +1104,9 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
} else if (auditItems.getActId() >= 430 && auditItems.getActId() <= 450) {
|
|
|
fettle = 2L;
|
|
|
String fBillType = null;
|
|
|
- if (auditItems.getActId() == 450 || auditItems.getActId() == 440){
|
|
|
+ if (auditItems.getActId() == 450 || auditItems.getActId() == 440) {
|
|
|
fBillType = "DCRevoke";
|
|
|
- }else if (auditItems.getActId() == 430){
|
|
|
+ } else if (auditItems.getActId() == 430) {
|
|
|
fBillType = "KHDZRevoke";
|
|
|
}
|
|
|
// 查询财务状态
|
|
@@ -1120,7 +1123,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
return AjaxResult.error("审批撤销失败: 更新审批状态失败");
|
|
|
}
|
|
|
// 更新费用明细
|
|
|
- AjaxResult result = tFeeServiceImpl.updateMoney(auditItems.getBillId(),fBillType);
|
|
|
+ AjaxResult result = tFeeServiceImpl.updateMoney(auditItems.getBillId(), fBillType);
|
|
|
String message = result.get("code").toString();
|
|
|
if ("500".equals(message)) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
@@ -1175,7 +1178,7 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return AjaxResult.error("审核失败,更新费用状态失败");
|
|
|
}
|
|
|
- AuditItemsAbout.revokeDeleteAID(auditItems.getActId(),auditItems.getBillId());
|
|
|
+ AuditItemsAbout.revokeDeleteAID(auditItems.getActId(), auditItems.getBillId());
|
|
|
} else if (auditItems.getActId() == 180) { // 出库明细撤销
|
|
|
//入库明细审核
|
|
|
fettle = 2L;
|
|
@@ -1186,14 +1189,14 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
tWarehouseBills.setfItemstatus(fettle);
|
|
|
i = tWarehouseBillsMapper.updateTWarehousebills(tWarehouseBills);
|
|
|
int size = tWarehousebillsitemsMapper.selectWarehouseItemsByfPid(auditItems.getBillId()).size();
|
|
|
- if (size!=0) {
|
|
|
+ if (size != 0) {
|
|
|
i = tWarehousebillsitemsMapper.warehouseItemfItemstatus(auditItems.getBillId(), fettle);
|
|
|
}
|
|
|
if (i <= 0) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
|
return AjaxResult.error("审核失败,更新费用状态失败");
|
|
|
}
|
|
|
- AuditItemsAbout.revokeDeleteAID(auditItems.getActId(),auditItems.getBillId());
|
|
|
+ AuditItemsAbout.revokeDeleteAID(auditItems.getActId(), auditItems.getBillId());
|
|
|
} else if (auditItems.getActId() == 471) {
|
|
|
fettle = 2L;
|
|
|
// 变更凯和申请修改订单状态
|
|
@@ -1231,9 +1234,9 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
tWarehouseBills.setfId(auditItems.getBillId());
|
|
|
tWarehouseBills.setfBillstatus(fettle);
|
|
|
tWarehouseBillsMapper.updateKaHeOrder(tWarehouseBills);
|
|
|
- getfBillStatus(auditItems,auditItems,null);
|
|
|
+ getfBillStatus(auditItems, auditItems, null);
|
|
|
// 撤销审批时删除审批流任务明细从表对应数据
|
|
|
- AuditItemsAbout.revokeDeleteAID(auditItems.getActId(),auditItems.getBillId());
|
|
|
+ AuditItemsAbout.revokeDeleteAID(auditItems.getActId(), auditItems.getBillId());
|
|
|
} else if (Objects.equals(auditItems.getActId(), WarehouseActIdEnum.FEE_CHANGES.getActId().longValue())) {
|
|
|
warehousebillsModifyService.withdrawalApprovalById(auditItems.getBillId());
|
|
|
}
|
|
@@ -1293,4 +1296,89 @@ public class AuditPathsServiceImpl implements IAuditPathsService {
|
|
|
return appAuditItemVOList;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 放货申请
|
|
|
+ *
|
|
|
+ * @param fId 仓库主表id
|
|
|
+ * @return 结果
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public TWarehouseBillsR generatePDF(Long fId) {
|
|
|
+
|
|
|
+ // 查询仓库主表数据
|
|
|
+ TWarehouseBills tWarehousebills = tWarehouseBillsMapper.selectTWarehousebillsById(fId);
|
|
|
+
|
|
|
+ TWarehouseBillsR tWarehouseBillsR = new TWarehouseBillsR();
|
|
|
+ tWarehouseBillsR.setfBillno(tWarehousebills.getfBillno());
|
|
|
+ tWarehouseBillsR.setfMblno(tWarehousebills.getfMblno());
|
|
|
+ tWarehouseBillsR.setfCustomno(tWarehousebills.getfCustomno());
|
|
|
+ tWarehouseBillsR.setfWarehouseName(tWarehouseMapper.selectTWarehouseById(tWarehousebills.getfWarehouseid()) == null ? "无" : tWarehouseMapper.selectTWarehouseById(tWarehousebills.getfWarehouseid()).getfName());
|
|
|
+ tWarehouseBillsR.setfBsdate(tWarehousebills.getfBsdate());
|
|
|
+ tWarehouseBillsR.setCreateTime(tWarehousebills.getCreateTime());
|
|
|
+ tWarehouseBillsR.setfCorpName(tCorpsMapper.selectTCorpsById(tWarehousebills.getfCorpid()) == null ? "" : tCorpsMapper.selectTCorpsById(tWarehousebills.getfCorpid()).getfName());
|
|
|
+
|
|
|
+ // 查询仓库明细从表数据
|
|
|
+ TWarehousebillsitems tWarehousebillsitems = new TWarehousebillsitems();
|
|
|
+ tWarehousebillsitems.setfPid(fId);
|
|
|
+ List<Map<String, Object>> mapList = tWarehousebillsitemsMapper.selectGoodsTransferitemsList(tWarehousebillsitems);
|
|
|
+
|
|
|
+ //总件数
|
|
|
+ Long fQty = 0l;
|
|
|
+
|
|
|
+ //总毛重
|
|
|
+ BigDecimal fGrossweight = new BigDecimal(0);
|
|
|
+
|
|
|
+ //总净重
|
|
|
+ BigDecimal fNetweight = new BigDecimal(0);
|
|
|
+
|
|
|
+ //客户出库集合
|
|
|
+ List<Map<String, Object>> customerList = new ArrayList<>();
|
|
|
+ //客户结余集合
|
|
|
+ List<Map<String, Object>> balanceList = new ArrayList<>();
|
|
|
+
|
|
|
+ for (Map<String, Object> map : mapList) {
|
|
|
+ //计算出库总件数
|
|
|
+ fQty = (long) map.get("fPlanqty") + fQty;
|
|
|
+ //计算出库总毛重
|
|
|
+ fGrossweight = fGrossweight.add((BigDecimal) map.get("fPlangrossweight"));
|
|
|
+ //计算出库总净重
|
|
|
+ fNetweight = fNetweight.add((BigDecimal) map.get("fPlannetweight"));
|
|
|
+
|
|
|
+ //出库数据
|
|
|
+ Map<String, Object> customer = new HashMap<>();
|
|
|
+ customer.put("fGoodsids", map.get("fGoodsids"));
|
|
|
+ customer.put("fBoxno", map.get("fBoxno"));
|
|
|
+ customer.put("fPlanqty", map.get("fPlanqty"));
|
|
|
+ customer.put("fPlangrossweight", map.get("fPlangrossweight"));
|
|
|
+ customer.put("fPlannetweight", map.get("fPlannetweight"));
|
|
|
+ customerList.add(customer);
|
|
|
+ //结余数据
|
|
|
+ Map<String, Object> balance = new HashMap<>();
|
|
|
+ balance.put("fGoodsids", map.get("fGoodsids"));
|
|
|
+ balance.put("fQty", map.get("fQty"));
|
|
|
+ balance.put("fGrossweight", map.get("fGrossweight"));
|
|
|
+ balance.put("fNetweight", map.get("fNetweight"));
|
|
|
+ balanceList.add(balance);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ tWarehouseBillsR.setfQty(fQty);
|
|
|
+ tWarehouseBillsR.setfGrossweight(fGrossweight);
|
|
|
+ tWarehouseBillsR.setfNetweight(fNetweight);
|
|
|
+
|
|
|
+ // 查询订单附件
|
|
|
+ List<TEnclosure> tEnclosureList = tEnclosureMapper.selectTEnclosureByPId(tWarehousebills.getfId());
|
|
|
+ if (CollectionUtils.isNotEmpty(tEnclosureList)) {
|
|
|
+ tWarehouseBillsR.setEnclosureList(tEnclosureList);
|
|
|
+ }
|
|
|
+ //查询客户资料附件
|
|
|
+ List<TEnclosure> customerInformationList = tEnclosureMapper.selectTEnclosureByPId(tWarehousebills.getfCorpid());
|
|
|
+ if (CollectionUtils.isNotEmpty(customerInformationList)) {
|
|
|
+ tWarehouseBillsR.setCustomerInformationList(customerInformationList);
|
|
|
+ }
|
|
|
+
|
|
|
+ return tWarehouseBillsR;
|
|
|
+ }
|
|
|
+
|
|
|
}
|