开票物料匹配,规格型号问题

release
gongquanlin 2 years ago
parent ec3c9ac173
commit 2f154d2089
  1. 11
      order-management-consumer/src/main/java/com/dxhy/order/consumer/openapi/service/impl/CommonInterfaceServiceImpl.java

@ -587,7 +587,18 @@ public class CommonInterfaceServiceImpl implements CommonInterfaceService {
.append("\r\n");
} else {
// 如果找到记录,进行赋值匹配
// 判断是否推送了物料的名称、单位、规格型号信息
if (StringUtils.isEmpty(item.getXmmc())) {
item.setXmmc(commodityCodeEntity.getXmmc());
}
if (StringUtils.isEmpty(item.getXmdw())) {
item.setXmdw(commodityCodeEntity.getXmdw());
}
if (StringUtils.isEmpty(item.getGgxh())) {
item.setGgxh(commodityCodeEntity.getGgxh());
}
}

Loading…
Cancel
Save