feature:客户信息导入

release
gaorl 2 years ago
parent bfce02aba3
commit 8c7187bbbf
  1. 2
      order-management-base-service/src/main/java/com/dxhy/order/baseservice/module/buyer/service/impl/BuyerServiceImpl.java

@ -181,6 +181,7 @@ public class BuyerServiceImpl implements BuyerService {
}
//查找根据销方税号 deptid
if (StringUtils.isNotEmpty(buyerEntity.getPurchaseName())) {
param = new HashMap<>(5);
param.put("purchaseName", buyerEntity.getPurchaseName());
int i = buyerMapper.selectBuyerByName(param, shList);
if (i > 0) {
@ -196,6 +197,7 @@ public class BuyerServiceImpl implements BuyerService {
checkResultMapList.add(checkResultMap1);
}
if (StringUtils.isNotEmpty(buyerEntity.getEntId())&&StringUtils.isNotEmpty(buyerEntity.getBuyerCode())) {
param = new HashMap<>(5);
param.put("ent_id", buyerEntity.getEntId());
param.put("buyerCode", buyerEntity.getBuyerCode());
int i = buyerMapper.selectBuyerByName(param, shList);

Loading…
Cancel
Save