|
@@ -154,22 +154,15 @@ public class TMSController extends BaseRESTfulController {
|
|
|
* 位置作业
|
|
|
*
|
|
|
* @param mapValue
|
|
|
- * @param pageNum
|
|
|
- * @param pageSize
|
|
|
- * @param apiId
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("getShipLocationList")
|
|
|
@ApiOperation(value = "展示位置作业")
|
|
|
- public Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
- Integer pageNum,
|
|
|
- Integer pageSize,
|
|
|
- Integer apiId,
|
|
|
- String con) {
|
|
|
+ public Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue) {
|
|
|
if (mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
- return tmsshipFeign.getShipLocationList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
|
|
|
+ return tmsshipFeign.getShipLocationList(mapValue==null?new HashMap<>():mapValue);
|
|
|
}
|
|
|
|
|
|
@PostMapping("getShipLocation/{locationId}")
|
|
@@ -270,7 +263,6 @@ public class TMSController extends BaseRESTfulController {
|
|
|
|
|
|
/**
|
|
|
* 卸船作业
|
|
|
- *
|
|
|
* @param mapValue
|
|
|
* @param pageNum
|
|
|
* @param pageSize
|
|
@@ -334,9 +326,7 @@ public class TMSController extends BaseRESTfulController {
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
String con) {
|
|
|
- if (mapValue == null) {
|
|
|
- mapValue = new HashMap<>();
|
|
|
- }
|
|
|
+
|
|
|
return tmsshipFeign.getWaterQualityResultList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
|
|
|
}
|
|
|
|
|
@@ -367,7 +357,8 @@ public class TMSController extends BaseRESTfulController {
|
|
|
@PostMapping("addWaterQualityResult")
|
|
|
@ApiOperation(value = "新增水分质检")
|
|
|
Map<String, Object> addWaterQualityResult(@RequestBody Map<String, Object> map) {
|
|
|
- return tmsshipFeign.addWaterQualityResult(map);
|
|
|
+ Map<String, Object> stringObjectMap = tmsshipFeign.addWaterQualityResult(map);
|
|
|
+ return stringObjectMap;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -431,15 +422,16 @@ public class TMSController extends BaseRESTfulController {
|
|
|
Integer pageNum,
|
|
|
Integer pageSize,
|
|
|
Integer apiId,
|
|
|
- String con) {
|
|
|
+ String con,
|
|
|
+ String status) {
|
|
|
if (mapValue == null) {
|
|
|
mapValue = new HashMap<>();
|
|
|
}
|
|
|
- return tmsshipFeign.getShipMentInstructionsList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
|
|
|
+ return tmsshipFeign.getShipMentInstructionsList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con,status);
|
|
|
}
|
|
|
|
|
|
@PostMapping("getShipmentInstructions/{instructionsId}")
|
|
|
- @ApiOperation(value = "查询装船指令")
|
|
|
+ @ApiOperation(value = "下发装船指令")
|
|
|
Map<String, Object> getShipmentInstructions(@PathVariable("instructionsId") BigDecimal instructionsId) {
|
|
|
return tmsshipFeign.getShipmentInstructions(instructionsId);
|
|
|
}
|
|
@@ -450,10 +442,10 @@ public class TMSController extends BaseRESTfulController {
|
|
|
return tmsshipFeign.deleteByPrimaryKey(instructionsId);
|
|
|
}
|
|
|
|
|
|
- @PostMapping("updateIssueStatus/{shipmentInstructionsId}")
|
|
|
+ @PostMapping("sendShipmentInstructionsStatus/{shipmentInstructionsId}")
|
|
|
@ApiOperation(value = "修改状态")
|
|
|
- Map<String, Object> updateIssueStatus(@PathVariable("shipmentInstructionsId") BigDecimal shipmentInstructionsId) {
|
|
|
- return tmsshipFeign.updateIssueStatus(shipmentInstructionsId);
|
|
|
+ Map<String, Object> sendShipmentInstructionsStatus(@PathVariable("shipmentInstructionsId") BigDecimal shipmentInstructionsId) {
|
|
|
+ return tmsshipFeign.sendShipmentInstructionsStatus(shipmentInstructionsId);
|
|
|
}
|
|
|
|
|
|
@PostMapping("updateShipmentInstructions")
|
|
@@ -1835,13 +1827,6 @@ public class TMSController extends BaseRESTfulController {
|
|
|
@PostMapping("/getDeliveryOrder")
|
|
|
public Map<String, Object> getDeliveryOrder(@RequestParam String orderNumber){
|
|
|
return tmsTruckFeign.getDeliveryOrder(orderNumber);
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- //获取合同水分值,实装吨位,水分吨位
|
|
|
- @PostMapping("/getMoistureAndInstallations")
|
|
|
- public Map<String,Object> getMoistureAndInstallations(@RequestBody(required=false) Map<String,Object> map){
|
|
|
- return tmsshipFeign.getMoistureAndInstallations(map);
|
|
|
}
|
|
|
@ApiOperation(value="模糊查询江船名 ")
|
|
|
@ApiImplicitParams({
|
|
@@ -1851,4 +1836,47 @@ public class TMSController extends BaseRESTfulController {
|
|
|
public Map<String, Object> getShipNameList(@RequestParam(value = "state") String state){
|
|
|
return tmsshipFeign.getShipNameList(state);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "国产矿物流新增装车")
|
|
|
+ @PostMapping(value = "/addDomesticLoadResult")
|
|
|
+ public Map<String, Object> addDomesticLoadResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return tmsTrainFeign.addDomesticLoadResult(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "国产矿物流补录装车信息")
|
|
|
+ @PostMapping(value = "/updateDomesticLoadResult")
|
|
|
+ public Map<String, Object> updateDomesticLoadResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return tmsTrainFeign.updateDomesticLoadResult(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "添加火车计量委托")
|
|
|
+ @PostMapping(value = "/addTrainMeasureCommission")
|
|
|
+ public Map<String, Object> addTrainMeasureCommission(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return tmsTrainFeign.addTrainMeasureCommission(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询需要发送计量委托的车皮信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "apiId(209)", value = "表头", required = false, dataType = "Interger")
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getLoadResultToSendMC")
|
|
|
+ public Map<String, Object> getLoadResultToSendMC( @RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ Integer apiId,
|
|
|
+ Integer pageNum,
|
|
|
+ Integer pageSize,Integer resultType) {
|
|
|
+ return tmsTrainFeign.getLoadResultToSendMC(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, resultType);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "批量新增计量委托")
|
|
|
+ @PostMapping(value = "/batchSendMeasureCommission")
|
|
|
+ public Map<String, Object> batchSendMeasureCommission(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return tmsTrainFeign.batchSendMeasureCommission(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ //获取合同水分值,实装吨位,水分吨位
|
|
|
+ @PostMapping("/getMoistureAndInstallations")
|
|
|
+ public Map<String,Object> getMoistureAndInstallations(@RequestBody(required=false) Map<String,Object> map){
|
|
|
+ return tmsshipFeign.getMoistureAndInstallations(map);
|
|
|
+ }
|
|
|
+
|
|
|
}
|