Prechádzať zdrojové kódy

Merge branch 'dev' of https://git.steerinfo.com/DAL-DAZHOU/DAL-DAZHOU-API into dev

zx 3 rokov pred
rodič
commit
eaa8a88d36

+ 25 - 4
src/main/java/com/steerinfo/dil/controller/AMScontroller.java

@@ -895,6 +895,9 @@ public class AMScontroller{
                                                         Integer pageSize,
                                                         Integer apiId,
                                                         Integer dayplanId){
+        if (mapValue == null) {
+            mapValue = new HashMap<>();
+        }
         return amsFeign.getMaterialMesByDayPlanId(mapValue,pageNum,pageSize,apiId,dayplanId);
     }
 
@@ -913,9 +916,22 @@ public class AMScontroller{
         return amsFeign.getRailOffsetDayplan(mapValue, pageNum, pageSize, apiId,dayplanReceiveStatus,carrierId);
     }
 
+    @PostMapping("/getRailOffsetDayplanId")
+    @ApiOperation(value = "根据ID展示钢材发往异地库计划")
+    public Map<String, Object> getRailOffsetDayplanId(@RequestBody(required = false) Map<String, Object> mapValue,
+                                                    Integer pageNum,
+                                                    Integer pageSize,
+                                                    Integer apiId,
+                                                    Integer dayPlanId) {
+        if (mapValue == null) {
+            mapValue = new HashMap<>();
+        }
+        return amsFeign.getRailOffsetDayplanId(mapValue, pageNum, pageSize, apiId,dayPlanId);
+    }
+
     @ApiModelProperty(value = "下发钢材发往异地库计划")
     @PostMapping("/issueRailOffsetDayplan")
-    public RESTfulResult issueRailOffsetDayplan(@RequestBody List<Map<String,Object>> mapList) {
+    public Map<String,Object> issueRailOffsetDayplan(@RequestBody List<Map<String,Object>> mapList) {
         return amsFeign.issueRailOffsetDayplan(mapList);
     }
 
@@ -1133,9 +1149,8 @@ public class AMScontroller{
     public Map<String, Object> getPurchaseIdByBatch(@RequestBody(required = false) Map<String,Object> mapValue,
                                                           Integer pageNum,
                                                           Integer pageSize,
-                                                          Integer apiId,
-                                                          String con) {
-        return amsFeign.getPurchaseIdByBatch(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
+                                                          Integer apiId) {
+        return amsFeign.getPurchaseIdByBatch(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId);
     }
 
     @ApiModelProperty(value = "仓库模代框")
@@ -1176,4 +1191,10 @@ public class AMScontroller{
     public Map<String,Object> getdayPlanToTheStationId() {
         return amsFeign.getdayPlanToTheStationId();
     }
+
+    @ApiModelProperty(value = "异地库下拉")
+    @GetMapping("/getOffsetWarehouse")
+    public Map<String,Object> getOffsetWarehouse() {
+        return amsFeign.getOffsetWarehouse();
+    }
 }

+ 15 - 0
src/main/java/com/steerinfo/dil/controller/TMSController.java

@@ -1514,6 +1514,15 @@ public class TMSController extends BaseRESTfulController {
         return tmsTrainFeign.addPleaseForNZ(tmstrainLoadingResult);
     }
 
+    @ApiOperation(value="内转新增达州站-厂内装车实绩 ")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
+    })
+        @PostMapping("/addDaZhouToDaGangLoadResult")
+    public Map<String, Object> addDaZhouToDaGangLoadResult(@RequestBody(required = false)Map<String, Object> map){
+        return tmsTruckFeign.addDaZhouToDaGangLoadResult(map);
+    }
+
     @ApiOperation(value = "内转查询请车作业信息")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
@@ -1756,4 +1765,10 @@ public class TMSController extends BaseRESTfulController {
     ){
         return tmsTruckFeign.getAllTimeTaskResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con);
     }
+
+    @ApiOperation(value="新增钢材到异地库达州站驻港人员确定收货")
+    @PostMapping("/addSteelNzReceiptResult")
+    public Map<String, Object> addSteelNzReceiptResult(@RequestBody(required = false) Map<String, Object> map) {
+        return tmsTruckFeign.addSteelNzReceiptResult(map);
+    }
 }

+ 1 - 1
src/main/java/com/steerinfo/dil/controller/UniversalController.java

@@ -139,7 +139,7 @@ public class UniversalController extends BaseRESTfulController {
     }
 
 
-    @ApiOperation(value="查询所有空闲的运力信息")
+    @ApiOperation(value="通过订单ID查询订单下所有物资")
     @ApiImplicitParams({
             @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
             @ApiImplicitParam(name = "apiId(248)", value = "动态表头", required = false, dataType = "Integer"),

+ 14 - 3
src/main/java/com/steerinfo/dil/feign/AmsFeign.java

@@ -1175,8 +1175,7 @@ public interface AmsFeign {
     Map<String, Object> getPurchaseIdByBatch(@RequestBody(required = false) Map<String,Object> mapValue,
                                              @RequestParam Integer pageNum,
                                              @RequestParam Integer pageSize,
-                                             @RequestParam Integer apiId,
-                                             @RequestParam String con);
+                                             @RequestParam Integer apiId);
 
     @GetMapping("/api/v1/ams/amstruckinwardrequirement/getCapacityType")
     Map<String, Object> getCapacityType();
@@ -1187,6 +1186,10 @@ public interface AmsFeign {
     @GetMapping("/api/v1/ams/amstruckinwardplan/getCarrierList")
     Map<String, Object> getCarrierList();
 
+    @GetMapping("/api/v1/ams/amstruckinwardrequirement/getOffsetWarehouse")
+    Map<String, Object> getOffsetWarehouse();
+
+
     @PostMapping("/api/v1/ams/amstruckinwardrequirement/getWareHouse")
     Map<String, Object> getWareHouse(@RequestBody(required = false) Map<String,Object> mapValue,
                                      @RequestParam Integer pageNum,
@@ -1212,7 +1215,7 @@ public interface AmsFeign {
      * @return
      */
     @PostMapping(value = "/api/v1/ams/amsrailoffsetdayplan/issueRailOffsetDayplan")
-    RESTfulResult issueRailOffsetDayplan(@RequestBody List<Map<String, Object>> mapList);
+    Map<String,Object> issueRailOffsetDayplan(@RequestBody List<Map<String, Object>> mapList);
 
     /**
      * 到站下拉
@@ -1220,4 +1223,12 @@ public interface AmsFeign {
      */
     @GetMapping("/api/v1/ams/amsrailoffsetdayplan/getdayPlanToTheStationId")
     Map<String, Object> getdayPlanToTheStationId();
+
+
+    @PostMapping(value = "/api/v1/ams/amsrailoffsetdayplan/getRailOffsetDayplanId")
+    Map<String, Object> getRailOffsetDayplanId(@RequestBody(required = false) Map<String, Object> mapValue,
+                                             @RequestParam Integer pageNum,
+                                             @RequestParam Integer pageSize,
+                                             @RequestParam Integer apiId,
+                                             @RequestParam Integer dayPlanId);
 }

+ 7 - 0
src/main/java/com/steerinfo/dil/feign/TmsTruckFeign.java

@@ -313,6 +313,13 @@ public interface TmsTruckFeign {
                                               @RequestParam("pageNum") Integer pageNum,
                                               @RequestParam("pageSize") Integer pageSize,
                                               @RequestParam("con") String con);
+
+    @PostMapping("api/v1/truckTms/tmstruckloadresults/addDaZhouToDaGangLoadResult")
+    Map<String, Object> addDaZhouToDaGangLoadResult(@RequestBody(required = false)Map<String, Object> map);
+
+    @ApiOperation(value="新增钢材到异地库达州站驻港人员确定收货")
+    @PostMapping("/addSteelNzReceiptResult")
+    public Map<String, Object> addSteelNzReceiptResult(@RequestBody(required = false) Map<String, Object> map);
 }
 
 

+ 2 - 0
src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

@@ -152,6 +152,8 @@
         from (
                  select RM.MATERIAL_NAME               "materialName",
                         RM.MATERIAL_THEORETICAL_WEIGHT "materialTheoreticalWeight",
+                        RM.MATERIAL_SPECIFICATION       "materialSpecification",
+                        RM.MATERIAL_MODEL               "materialModel",
                         OOM.ORDER_MATERIAL_NUMBER      "orderMaterialNumber"
 
                  from OMSTRUCK_ORDER_MATERIAL OOM