|
|
@ -662,14 +662,14 @@ public class CommonInterfaceServiceImpl implements CommonInterfaceService { |
|
|
|
|
|
|
|
|
|
|
|
List<CommodityCodeEntity> commodityCodeEntityList = commodityService.queryCommodityInfoList(pageSpxxReq, NsrsbhUtils.transShListByXhfNsrsbh(xhfNsrsbh)); |
|
|
|
List<CommodityCodeEntity> commodityCodeEntityList = commodityService.queryCommodityInfoList(pageSpxxReq, NsrsbhUtils.transShListByXhfNsrsbh(xhfNsrsbh)); |
|
|
|
if (ObjectUtil.isNotEmpty(commodityCodeEntityList)) { |
|
|
|
if (ObjectUtil.isNotEmpty(commodityCodeEntityList)) { |
|
|
|
if (commodityCodeEntityList.size() > 1) { |
|
|
|
// if (commodityCodeEntityList.size() > 1) {
|
|
|
|
log.error("{}根据商品名称查询到多个商品信息,商品名称:{}", LOGGER_MSG, item.getXmmc()); |
|
|
|
// log.error("{}根据商品名称查询到多个商品信息,商品名称:{}", LOGGER_MSG, item.getXmmc());
|
|
|
|
errorStr.append(errorMsg) |
|
|
|
// errorStr.append(errorMsg)
|
|
|
|
.append(ConfigureConstant.STRING_UNDERLINE) |
|
|
|
// .append(ConfigureConstant.STRING_UNDERLINE)
|
|
|
|
.append(OrderValidateEnum.INVOICE_SPBM_QUERY_NULL.getMessage()) |
|
|
|
// .append(OrderValidateEnum.INVOICE_SPBM_QUERY_NULL.getMessage())
|
|
|
|
.append("\r\n"); |
|
|
|
// .append("\r\n");
|
|
|
|
continue; |
|
|
|
// continue;
|
|
|
|
} |
|
|
|
// }
|
|
|
|
CommodityCodeEntity commodityCodeEntity = commodityCodeEntityList.get(0); |
|
|
|
CommodityCodeEntity commodityCodeEntity = commodityCodeEntityList.get(0); |
|
|
|
completeCommodityMessageBySpid(item, commodityCodeEntity, fpzlDm, taxEquipmentInfo); |
|
|
|
completeCommodityMessageBySpid(item, commodityCodeEntity, fpzlDm, taxEquipmentInfo); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|