|
|
@@ -181,4 +181,103 @@ public class TMSController extends BaseRESTfulController {
|
|
|
public Map<String, Object> receipt(@RequestBody(required = false) Map<String, Object> map){
|
|
|
return tmsFeign.receipt(map);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value="查询厂内车辆数")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @PostMapping(value = "/getCountEnfactory")
|
|
|
+ public Map<String, Object> getCountEnfactory(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return tmsFeign.getCountEnfactory(map == null ? new HashMap<>():map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询签到")
|
|
|
+ @PostMapping("/getSignInResultList")
|
|
|
+ public Map<String, Object> getSignInResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getSignInResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询换车头")
|
|
|
+ @PostMapping("/getReplaceFrontResultList")
|
|
|
+ public Map<String, Object> getReplaceFrontResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getReplaceFrontResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询进厂")
|
|
|
+ @PostMapping("/getEnfactoryResultList")
|
|
|
+ public Map<String, Object> getEnfactoryResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getEnfactoryResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询出厂")
|
|
|
+ @PostMapping("/getOutfactoryResultList")
|
|
|
+ public Map<String, Object> getTmsOutfactoryResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getOutfactoryResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询装货")
|
|
|
+ @PostMapping("/getLoadResultList")
|
|
|
+ public Map<String, Object> getLoadResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getLoadResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询卸货")
|
|
|
+ @PostMapping("/getUnloadResultList")
|
|
|
+ public Map<String, Object> getUnloadResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getUnloadResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询计量")
|
|
|
+ @PostMapping("/getWeightResultList")
|
|
|
+ public Map<String, Object> getWeightResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getWeightResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询质检")
|
|
|
+ @PostMapping("/getQualityResultList")
|
|
|
+ public Map<String, Object> getQualityResult(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getQualityResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询抵达")
|
|
|
+ @PostMapping("/getArrivalResultList")
|
|
|
+ public Map<String, Object> getArrivalResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getArrivalResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询签收")
|
|
|
+ @PostMapping("/getReceiptResultList")
|
|
|
+ public Map<String, Object> getReceiptResultList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize) {
|
|
|
+ return tmsFeign.getReceiptResultList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
+ }
|
|
|
}
|