|
|
|
@ -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); |
|
|
|
|