|
@@ -1,6 +1,5 @@
|
|
package com.steerinfo.dil.service.impl;
|
|
package com.steerinfo.dil.service.impl;
|
|
|
|
|
|
-import com.steerinfo.dil.controller.AmsSaleTrucknoMaterialController;
|
|
|
|
import com.steerinfo.dil.feign.IMFeign;
|
|
import com.steerinfo.dil.feign.IMFeign;
|
|
import com.steerinfo.dil.feign.TmsTruckFeign;
|
|
import com.steerinfo.dil.feign.TmsTruckFeign;
|
|
import com.steerinfo.dil.mapper.*;
|
|
import com.steerinfo.dil.mapper.*;
|
|
@@ -12,8 +11,6 @@ import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
-import java.text.ParseException;
|
|
|
|
-import java.text.SimpleDateFormat;
|
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -520,7 +517,13 @@ public class AmsSaleOrderMaterialServiceImpl implements IAmsSaleOrderMaterialSer
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public int updateInwardConsignee(Map<String, Object> mapValue) {
|
|
public int updateInwardConsignee(Map<String, Object> mapValue) {
|
|
- return amsSaleOrderMaterialMapper.updateInwardConsignee(mapValue);
|
|
|
|
|
|
+ if(mapValue.get("saleOrderId") != null && mapValue.get("sendStationId") != null ){
|
|
|
|
+ amsSaleOrderMaterialMapper.updateSendStation(mapValue);
|
|
|
|
+ }
|
|
|
|
+ if(mapValue.get("saleOrderId") != null && mapValue.get("consigneeId") != null){
|
|
|
|
+ amsSaleOrderMaterialMapper.updateInwardConsignee(mapValue);
|
|
|
|
+ }
|
|
|
|
+ return 1;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|