|
@@ -7,10 +7,12 @@ import com.steerinfo.dil.mapper.*;
|
|
|
import com.steerinfo.dil.model.*;
|
|
|
import com.steerinfo.dil.service.ITmstruckLoadResultService;
|
|
|
import com.steerinfo.dil.util.DataChange;
|
|
|
+import com.steerinfo.dil.util.HTTPRequestUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
+import java.io.IOException;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
@@ -356,6 +358,14 @@ public class TmstruckLoadResultServiceImpl implements ITmstruckLoadResultService
|
|
|
String warehouseName = utilsMapper.queryWarehouseName(DataChange.dataToBigDecimal(map.get("warehouseId")));
|
|
|
map.put("warehouseName",warehouseName);
|
|
|
}
|
|
|
+ try {
|
|
|
+ String url = "https://jl.dasteel.cn:44325/api/logistics/LoadAndUnloadFlag?orderNumber=" + orderNumber;
|
|
|
+ HTTPRequestUtils.sendGet(url,"utf-8");
|
|
|
+ } catch (org.apache.http.ParseException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ } catch (IOException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
i = tmstruckMeasureCommissionService.addMeasureCommissionForLoding(map);
|
|
|
return 1;
|
|
|
}
|