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