Browse Source

1.解决梦天的经销商问题

newStockUp
pref_mail@163.com 1 year ago
parent
commit
d1a8e943f8
  1. 14
      blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/AsyncDataServiceImpl.java

14
blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/service/impl/AsyncDataServiceImpl.java

@ -389,8 +389,11 @@ public class AsyncDataServiceImpl implements IAsyncDataService {
advanceEntity.setMctsTruckNo(mtFactoryOrderMain.getSendCarNumber());// 车牌//字段没有了
advanceEntity.setFirstPackName(""); //一级品类
advanceEntity.setFirstPackCode(""); //一级品类
advanceEntity.setDealerName(mtFactoryOrder.getDealerName()); //商场名称
advanceEntity.setDealerCode(StringUtil.isBlank(mtFactoryOrder.getDealerCode()) ? "" : mtFactoryOrder.getDealerCode()); //商场编码
advanceEntity.setDueDate(""); // 交期
advanceEntity.setIsOpai(0); //是否干仓配
advanceEntity.setOrderNum("");//MSCS订单号 可以为空
@ -399,8 +402,15 @@ public class AsyncDataServiceImpl implements IAsyncDataService {
advanceEntity.setCustomerPhone(StringUtil.isBlank(mtFactoryOrder.getCustomPhone()) ? "" : mtFactoryOrder.getCustomPhone()); // 顾客电话
advanceEntity.setCustomerRoad(StringUtil.isBlank(mtFactoryOrder.getCustomAddress()) ? "" : mtFactoryOrder.getCustomAddress());//顾客地址
advanceEntity.setSystemType("线上"); //订单类型
advanceEntity.setStoreNo(mtFactoryOrder.getExclusiveCode()); //门店编码
advanceEntity.setStoreName(mtFactoryOrder.getExclusiveName()); //门店名称
// advanceEntity.setStoreNo(mtFactoryOrder.getExclusiveCode()); //门店编码
// advanceEntity.setStoreName(mtFactoryOrder.getExclusiveName()); //门店名称
//todo 这里是老系统无法呈现门店信息 所以将门店信息同步修改为经销商信息
advanceEntity.setStoreNo(mtFactoryOrder.getDealerName()); //
advanceEntity.setStoreName(StringUtil.isBlank(mtFactoryOrder.getDealerCode()) ? "" : mtFactoryOrder.getDealerCode()); //门店名称
advanceEntity.setSerialKey(""); //序列号
advanceEntity.setServiceNum(StringUtil.isBlank(mtFactoryOrder.getMainOrderCode()) ? "" : mtFactoryOrder.getMainOrderCode()); //服务号
advanceEntity.setMatingCode("");//齐套模式 可以为空

Loading…
Cancel
Save