Browse Source

feat(all): 索菲亚工厂

1 修改索菲亚工厂客户名称处理逻辑
dev
zhaoqiaobo 2 months ago
parent
commit
70d2f2632f
  1. 2
      blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/DeliveryNoteServiceImpl.java

2
blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/DeliveryNoteServiceImpl.java

@ -165,7 +165,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
advanceEntity.setServiceNum(orderInfoVO.getMainOrderNo());
advanceEntity.setSenderFactory(vo.getSendAddr());
// 工长名字为无,则取客户名字 工长名字不为无 则取工长电话 客户名字转工长名字
if(StrUtil.equals(orderInfoVO.getConnectName(),"无")){
if(StrUtil.equals(orderInfoVO.getConnectName(),"无") || StrUtil.isEmpty(orderInfoVO.getConnectName())){
advanceEntity.setCustomerName(orderInfoVO.getReceiver());
advanceEntity.setCustomerPhone(orderInfoVO.getReceiveTel());
}else{

Loading…
Cancel
Save