Explorar el Código

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

HUJIANGUO hace 3 años
padre
commit
d2b7e3eaed

+ 3 - 2
src/main/java/com/steerinfo/dil/controller/AMScontroller.java

@@ -1228,8 +1228,9 @@ public class AMScontroller{
                                                Integer dispatchStatus,
                                                Integer sporadicStatus,
                                                String carrierSsoId,
-                                               String userId) {
-        return amsFeign.getSporadicOrdersList(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, orderType, issueStatus, con,dispatchStatus,sporadicStatus,carrierSsoId,userId);
+                                               String userId,
+                                               String userIds) {
+        return amsFeign.getSporadicOrdersList(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, orderType, issueStatus, con,dispatchStatus,sporadicStatus,carrierSsoId,userId,userIds);
     }
 
     @ApiModelProperty(value = "查看物资详情")

+ 5 - 2
src/main/java/com/steerinfo/dil/controller/OMSController.java

@@ -650,8 +650,11 @@ public class OMSController {
                                                  Integer type,
                                                  Integer orderStatus,
                                                  String carrierId,
-                                                 String  con) {
-        return omsFeign.getOthersOrderMesToSend(mapValue==null?new HashMap<>(): mapValue, apiId, pageNum, pageSize, orderStatus, carrierId, type, con);
+                                                 String  con,
+                                                 String userId,
+                                                 String usersId,
+                                                       Integer type1) {
+        return omsFeign.getOthersOrderMesToSend(mapValue==null?new HashMap<>(): mapValue, apiId, pageNum, pageSize, orderStatus, carrierId, type, con,userId,usersId,type1);
     }
 
     @ApiOperation(value = "修改运输订单方法:根据运输订单id修改运力id")

+ 64 - 32
src/main/java/com/steerinfo/dil/controller/TMSController.java

@@ -1165,8 +1165,11 @@ public class TMSController extends BaseRESTfulController {
                                           Integer pageNum,
                                           Integer pageSize,
                                           Integer status,
-                                          Integer orderType, String con){
-        return tmsTruckFeign.getAllLoadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, orderType, con);
+                                          Integer orderType,
+                                          String con,
+                                          String userId,
+                                          String userIds){
+        return tmsTruckFeign.getAllLoadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, orderType, con,userId,userIds);
     }
 
     @ApiOperation(value = "新增采购汽车装车实绩")
@@ -1239,9 +1242,11 @@ public class TMSController extends BaseRESTfulController {
                                                Integer pageNum,
                                                Integer pageSize,
                                                Integer orderType,
-                                               String con
+                                               String con,
+                                               String userId,
+                                               String userIds
     ){
-        return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
+        return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds);
     }
 
     @ApiOperation(value="通过运输订单id查询物资信息")
@@ -1301,11 +1306,14 @@ public class TMSController extends BaseRESTfulController {
     })
     @PostMapping("/getAllJiMaoResult")
     public Map<String, Object> getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                           Integer apiId,
-                                           Integer pageNum,
-                                           Integer pageSize,
-                                                 Integer orderType,String con){
-        return tmsTruckFeign.getAllJiMaoResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
+                                                 Integer apiId,
+                                                 Integer pageNum,
+                                                 Integer pageSize,
+                                                 Integer orderType,
+                                                 String con,
+                                                 String userId,
+                                                 String userIds){
+        return tmsTruckFeign.getAllJiMaoResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds);
     }
 
     @ApiOperation(value = "查询计皮实绩")
@@ -1318,12 +1326,14 @@ public class TMSController extends BaseRESTfulController {
     })
     @PostMapping("/getAllJiPiResult")
     public Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                          Integer apiId,
-                                          Integer pageNum,
-                                          Integer pageSize,
-                                          Integer orderType,
-                                                String con) {
-        return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
+                                                Integer apiId,
+                                                Integer pageNum,
+                                                Integer pageSize,
+                                                Integer orderType,
+                                                String con,
+                                                String userId,
+                                                String userIds) {
+        return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds);
     }
 
 
@@ -1357,13 +1367,15 @@ public class TMSController extends BaseRESTfulController {
     })
     @PostMapping("/getUnloadResult")
     public Map<String, Object> getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                         Integer apiId,
-                                         Integer pageNum,
-                                         Integer pageSize,
-                                         Integer orderType,
-                                               String con
+                                               Integer apiId,
+                                               Integer pageNum,
+                                               Integer pageSize,
+                                               Integer orderType,
+                                               String con,
+                                               String userId,
+                                               String userIds
     ){
-        return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
+        return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds);
     }
 
     @ApiOperation(value = "添加卸货实绩")
@@ -1421,9 +1433,13 @@ public class TMSController extends BaseRESTfulController {
                                                      Integer apiId,
                                                      Integer pageNum,
                                                      Integer pageSize,
-                                                     Integer orderType,String con, String carrierSsoId
+                                                     Integer orderType,
+                                                     String con,
+                                                     String carrierSsoId,
+                                                     String userId,
+                                                     String userIds
     ){
-        return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con, carrierSsoId);
+        return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con, carrierSsoId,userId,userIds);
     }
 
 
@@ -1924,35 +1940,51 @@ public class TMSController extends BaseRESTfulController {
                                                Integer apiId,
                                                Integer pageNum,
                                                Integer pageSize,
+                                             String startTime, String endTime,
                                                Integer orderType
     ){
-        return tmsTruckFeign.getRLFLReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, orderType);
+        return tmsTruckFeign.getRLFLReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime,  orderType);
     }
     @ApiOperation(value="查询辅料燃料统计报表")
     @PostMapping("/getAllSaleReport")
     public Map<String, Object> getAllSaleReport(@RequestBody(required=false) Map<String,Object> mapValue,
                                           Integer apiId,
                                           Integer pageNum,
-                                          Integer pageSize, String carrierSsoId
+                                          Integer pageSize,
+                                          String startTime, String endTime,
+                                          String carrierSsoId
     ){
-        return tmsTruckFeign.getAllSaleReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, carrierSsoId);
+        return tmsTruckFeign.getAllSaleReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime, carrierSsoId);
     }
     @ApiOperation(value="查询零星物资进厂统计报表")
     @PostMapping("/getSporadicSuppliesReport1")
     public Map<String, Object> getSporadicSuppliesReport1(@RequestBody(required=false) Map<String,Object> mapValue,
                                                 Integer apiId,
                                                 Integer pageNum,
-                                                Integer pageSize, String carrierSsoId
+                                                Integer pageSize,
+                                                String startTime, String endTime,
+                                                String carrierSsoId,
+                                               String userId,
+                                               String userIds,
+                                               String con,
+                                               Integer orderType
     ){
-        return tmsTruckFeign.getSporadicSuppliesReport1(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, carrierSsoId);
+        return tmsTruckFeign.getSporadicSuppliesReport1(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime, endTime, carrierSsoId,userId,userIds,con,orderType);
     }
     @ApiOperation(value="查询零星物资出厂统计报表")
     @PostMapping("/getSporadicSuppliesReport2")
     public Map<String, Object> getSporadicSuppliesReport2(@RequestBody(required=false) Map<String,Object> mapValue,
-                                                Integer apiId,
-                                                Integer pageNum,
-                                                Integer pageSize, String carrierSsoId
+                                                          Integer apiId,
+                                                          Integer pageNum,
+                                                          Integer pageSize,
+                                                          String startTime,
+                                                          String endTime,
+                                                          String carrierSsoId,
+                                                          String userId,
+                                                          String userIds,
+                                                          String con,
+                                                          Integer orderType
     ){
-        return tmsTruckFeign.getSporadicSuppliesReport2(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, carrierSsoId);
+        return tmsTruckFeign.getSporadicSuppliesReport2(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime, carrierSsoId,userId,userIds,con,orderType);
     }
 }

+ 2 - 1
src/main/java/com/steerinfo/dil/feign/AmsFeign.java

@@ -1249,7 +1249,8 @@ public interface AmsFeign {
                                               @RequestParam Integer dispatchStatus,
                                               @RequestParam Integer sporadicStatus,
                                               @RequestParam String carrierSsoId,
-                                              @RequestParam String userId);
+                                              @RequestParam String userId,
+                                              @RequestParam String userIds);
 
     @PostMapping("/api/v1/ams/amstrucksporadicorders/seeAllMaterials")
     RESTfulResult seeAllMaterials(@RequestBody(required = false) Map<String, Object> mapValue,

+ 4 - 1
src/main/java/com/steerinfo/dil/feign/OmsFeign.java

@@ -368,7 +368,10 @@ public interface OmsFeign {
                                                        @RequestParam("orderStatus") Integer orderStatus,
                                                        @RequestParam("carrierId") String carrierId,
                                                        @RequestParam("type") Integer type,
-                                                       @RequestParam("con") String con
+                                                       @RequestParam("con") String con,
+                                                       @RequestParam("userId") String userId,
+                                                       @RequestParam("usersId") String usersId,
+                                                       @RequestParam("type1")Integer type1
                                                        );
 
     @ApiOperation(value = "根据运输订单id修改运力id")

+ 57 - 28
src/main/java/com/steerinfo/dil/feign/TmsTruckFeign.java

@@ -51,7 +51,10 @@ public interface TmsTruckFeign {
                                           @RequestParam("pageSize") Integer pageSize,
                                           @RequestParam("status") Integer status ,
                                           @RequestParam("orderType") Integer orderType,
-                                          @RequestParam("con") String con);
+                                          @RequestParam("con")   String con,
+                                          @RequestParam("userId") String userId,
+                                          @RequestParam("userIds") String userIds
+    );
 
     @PostMapping("api/v1/truckTms/tmstruckloadresults/selectLoadResultForConverted")
     public Map<String,Object> selectLoadResultForConverted(@RequestBody(required=false) Map<String,Object> mapValue,
@@ -96,11 +99,13 @@ public interface TmsTruckFeign {
     })
     @PostMapping("api/v1/truckTms/tmstruckenfactoryresults/getAllEnFactoryResult")
     public Map<String, Object> getAllEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                               @RequestParam("apiId") Integer apiId,
-                                               @RequestParam("pageNum") Integer pageNum,
-                                               @RequestParam("pageSize") Integer pageSize,
-                                               @RequestParam("orderType")Integer orderType,
-                                               @RequestParam("con")      String con
+                                                     @RequestParam("apiId")     Integer apiId,
+                                                     @RequestParam("pageNum")   Integer pageNum,
+                                                     @RequestParam("pageSize")  Integer pageSize,
+                                                     @RequestParam("orderType") Integer orderType,
+                                                     @RequestParam("con")       String con,
+                                                     @RequestParam("userId")    String userId,
+                                                     @RequestParam("userIds")   String userIds
     );
     @GetMapping("api/v1/truckTms/tmstruckenfactoryresults/getMaterial")
     public Map<String , Object> getMaterial(@RequestParam("orderId")  Integer orderId);
@@ -127,20 +132,24 @@ public interface TmsTruckFeign {
 
     @PostMapping("api/v1/truckTms/tmstruckweightresults/getAllJiMaoResult")
     public Map<String, Object> getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                           @RequestParam("apiId") Integer apiId,
-                                           @RequestParam("pageNum") Integer pageNum,
-                                           @RequestParam("pageSize") Integer pageSize,
+                                                 @RequestParam("apiId") Integer apiId,
+                                                 @RequestParam("pageNum") Integer pageNum,
+                                                 @RequestParam("pageSize") Integer pageSize,
                                                  @RequestParam("orderType") Integer orderType,
-                                                 @RequestParam("con")     String con
+                                                 @RequestParam("con")     String con,
+                                                 @RequestParam("userId")  String userId,
+                                                 @RequestParam("userIds") String userIds
                                                  );
 
     @PostMapping("api/v1/truckTms/tmstruckweightresults/getAllJiPiResult")
     public Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                          @RequestParam("apiId") Integer apiId,
-                                          @RequestParam("pageNum") Integer pageNum,
-                                          @RequestParam("pageSize") Integer pageSize,
+                                                @RequestParam("apiId") Integer apiId,
+                                                @RequestParam("pageNum") Integer pageNum,
+                                                @RequestParam("pageSize") Integer pageSize,
                                                 @RequestParam("orderType") Integer orderType,
-                                                @RequestParam("con") String con);
+                                                @RequestParam("con") String con,
+                                                @RequestParam("userId")String userId,
+                                                @RequestParam("userIds")String userIds);
 
     @PostMapping("api/v1/truckTms/tmstruckweightresults/addJiMaoResult")
     public Map<String, Object> addJiMaoResult(@RequestBody Map<String, Object> mapValue);
@@ -155,11 +164,13 @@ public interface TmsTruckFeign {
 
     @PostMapping("api/v1/truckTms/tmstruckunloadresult/getUnloadResult")
     public Map<String, Object> getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
-                                         @RequestParam("apiId") Integer apiId,
-                                         @RequestParam("pageNum") Integer pageNum,
-                                         @RequestParam("pageSize") Integer pageSize,
-                                         @RequestParam("orderType") Integer orderType,
-                                         @RequestParam("con")      String con
+                                               @RequestParam("apiId") Integer apiId,
+                                               @RequestParam("pageNum") Integer pageNum,
+                                               @RequestParam("pageSize") Integer pageSize,
+                                               @RequestParam("orderType") Integer orderType,
+                                               @RequestParam("con")      String con,
+                                               @RequestParam("userId") String userId,
+                                               @RequestParam("userIds") String userIds
     );
 
     @PostMapping("api/v1/truckTms/tmstruckunloadresult/addUnloadResult")
@@ -193,7 +204,9 @@ public interface TmsTruckFeign {
                                                @RequestParam("pageSize") Integer pageSize,
                                                @RequestParam("orderType") Integer orderType,
                                                @RequestParam("con") String con,
-                                               @RequestParam("carrierSsoId")String carrierSsoId
+                                               @RequestParam("carrierSsoId")String carrierSsoId,
+                                               @RequestParam("userId") String userId,
+                                               @RequestParam("userIds") String userIds
     );
 
     @PostMapping("api/v1/truckTms/tmstruckleavefactoryresults/addLeaveFactoryResult")
@@ -345,6 +358,8 @@ public interface TmsTruckFeign {
                                       @RequestParam("apiId") Integer apiId,
                                       @RequestParam("pageNum") Integer pageNum,
                                       @RequestParam("pageSize") Integer pageSize,
+                                      @RequestParam("startTime") String startTime,
+                                      @RequestParam("endTime")   String endTime,
                                       @RequestParam("orderType") Integer orderType
     );
 
@@ -361,21 +376,35 @@ public interface TmsTruckFeign {
                                       @RequestParam("apiId") Integer apiId,
                                       @RequestParam("pageNum") Integer pageNum,
                                       @RequestParam("pageSize") Integer pageSize,
+                                         @RequestParam("startTime") String startTime,
+                                         @RequestParam("endTime")   String endTime,
                                       @RequestParam("carrierSsoId")   String carrierSsoId
     );
     @PostMapping("api/v1/truckTms/statisticalReport/getSporadicSuppliesReport1")
     Map<String, Object> getSporadicSuppliesReport1(@RequestBody(required=false) Map<String,Object> mapValue,
-                                         @RequestParam("apiId") Integer apiId,
-                                         @RequestParam("pageNum") Integer pageNum,
-                                         @RequestParam("pageSize") Integer pageSize,
-                                         @RequestParam("carrierSsoId")   String carrierSsoId
+                                                   @RequestParam("apiId") Integer apiId,
+                                                   @RequestParam("pageNum") Integer pageNum,
+                                                   @RequestParam("pageSize") Integer pageSize,
+                                                   @RequestParam("startTime") String startTime,
+                                                   @RequestParam("endTime") String endTime,
+                                                   @RequestParam("carrierSsoId") String carrierSsoId,
+                                                   @RequestParam("userId") String userId,
+                                                   @RequestParam("userIds") String userIds,
+                                                   @RequestParam("con") String con,
+                                                   @RequestParam("orderType") Integer orderType
     );
     @PostMapping("api/v1/truckTms/statisticalReport/getSporadicSuppliesReport2")
     Map<String, Object> getSporadicSuppliesReport2(@RequestBody(required=false) Map<String,Object> mapValue,
-                                         @RequestParam("apiId") Integer apiId,
-                                         @RequestParam("pageNum") Integer pageNum,
-                                         @RequestParam("pageSize") Integer pageSize,
-                                         @RequestParam("carrierSsoId")   String carrierSsoId
+                                                   @RequestParam("apiId") Integer apiId,
+                                                   @RequestParam("pageNum") Integer pageNum,
+                                                   @RequestParam("pageSize") Integer pageSize,
+                                                   @RequestParam("startTime") String startTime,
+                                                   @RequestParam("endTime") String endTime,
+                                                   @RequestParam("carrierSsoId") String carrierSsoId,
+                                                   @RequestParam("userId") String userId,
+                                                   @RequestParam("userIds") String userIds,
+                                                   @RequestParam("con") String con,
+                                                   @RequestParam("orderType") Integer orderType
     );
 }
 

+ 1 - 1
src/main/resources/application-prod.yml

@@ -23,7 +23,7 @@ openfeign:
   TmsTrainFeign:
     url: ${TMSTRAINFEIGN_URL:172.16.33.166:8086}
   TmsTruckFeign:
-    url: ${TMSTRUCKFEIGN_URL:192.168.1.108:8088}
+    url: ${TMSTRUCKFEIGN_URL:172.16.33.166:8088}
   TmsshipFeign:
     url: ${TMSSHIPFEIGN_URL:172.16.33.166:8090}
   WMSHFeign: