|
@@ -4,9 +4,11 @@ import com.steerinfo.dil.feign.TmsshipFeign;
|
|
import com.steerinfo.dil.feign.TmsTrainFeign;
|
|
import com.steerinfo.dil.feign.TmsTrainFeign;
|
|
import com.steerinfo.dil.feign.TmsTruckFeign;
|
|
import com.steerinfo.dil.feign.TmsTruckFeign;
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
|
+import com.steerinfo.framework.controller.RESTfulResult;
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
+import io.swagger.models.auth.In;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -642,6 +644,12 @@ public class TMSController extends BaseRESTfulController {
|
|
return tmsshipFeign.getPierId();
|
|
return tmsshipFeign.getPierId();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value="查询特定所有的物资")
|
|
|
|
+ @GetMapping("/getFuMaterial/{type}")
|
|
|
|
+ public Map<String, Object> getFuMaterial(@PathVariable("type")Integer type){
|
|
|
|
+ return tmsTruckFeign.getFuMaterial(type);
|
|
|
|
+ }
|
|
|
|
+
|
|
@GetMapping("getResultNumber")
|
|
@GetMapping("getResultNumber")
|
|
@ApiOperation(value = "得到实绩编号下拉")
|
|
@ApiOperation(value = "得到实绩编号下拉")
|
|
public Map<String, Object> getResultNumber(){
|
|
public Map<String, Object> getResultNumber(){
|
|
@@ -1125,8 +1133,9 @@ public class TMSController extends BaseRESTfulController {
|
|
public Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
public Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
- Integer pageSize) {
|
|
|
|
- return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
|
|
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer orderType) {
|
|
|
|
+ return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -1168,7 +1177,7 @@ public class TMSController extends BaseRESTfulController {
|
|
return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType);
|
|
return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType);
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiOperation(value="更新卸货实绩 实际上是更新实绩")
|
|
|
|
|
|
+ @ApiOperation(value="添加卸货实绩")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
|
|
})
|
|
})
|
|
@@ -1177,6 +1186,14 @@ public class TMSController extends BaseRESTfulController {
|
|
return tmsTruckFeign.addUnloadResult(mapValue);
|
|
return tmsTruckFeign.addUnloadResult(mapValue);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value="更新卸货实绩 ")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/updateUnloadResult")
|
|
|
|
+ public Map<String, Object> updateUnloadResult(@RequestBody Map<String, Object> mapValue){
|
|
|
|
+ return tmsTruckFeign.updateUnloadResult(mapValue);
|
|
|
|
+ }
|
|
//****************************************TmstruckReceiptResultController*******************************
|
|
//****************************************TmstruckReceiptResultController*******************************
|
|
|
|
|
|
|
|
|
|
@@ -1192,9 +1209,10 @@ public class TMSController extends BaseRESTfulController {
|
|
public Map<String, Object> getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
public Map<String, Object> getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
- Integer pageSize
|
|
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer orderType
|
|
){
|
|
){
|
|
- return tmsTruckFeign.getReceiveResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
|
|
|
|
|
|
+ return tmsTruckFeign.getReceiveResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -1213,9 +1231,10 @@ public class TMSController extends BaseRESTfulController {
|
|
public Map<String, Object> getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
public Map<String, Object> getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
Integer apiId,
|
|
Integer apiId,
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
- Integer pageSize
|
|
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer orderType
|
|
){
|
|
){
|
|
- return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
|
|
|
|
|
|
+ return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType);
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value="PAD扫描汽车出厂实绩")
|
|
@ApiOperation(value="PAD扫描汽车出厂实绩")
|