|
|
@@ -89,11 +89,10 @@ public class TMSController extends BaseRESTfulController {
|
|
|
|
|
|
@ApiOperation(value = "修改车辆实绩")
|
|
|
@ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
- @PutMapping(value = "/comprehensiveresultsupadete/{id}")
|
|
|
+ @PostMapping(value = "/comprehensiveresultsupadete")
|
|
|
@LogAround(foreignKeys = {"resultId"}, foreignKeyTypes = {"计算公式"})
|
|
|
- public Map<String, Object> comprehensiveresultsUpdate(@PathVariable BigDecimal id, @RequestBody(required = false) Map<String, Object> map) {
|
|
|
- map.put("updateUsername", map.get("userName").toString());
|
|
|
- return tmsFeign.updateAmsSalaryContrac(id, map);
|
|
|
+ public Map<String, Object> comprehensiveresultsUpdate(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return tmsFeign.updateAmsSalaryContrac(map);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "派发运输订单")
|
|
|
@@ -107,11 +106,21 @@ public class TMSController extends BaseRESTfulController {
|
|
|
@ApiOperation(value = "批量派发运输订单")
|
|
|
@ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
@PostMapping(value = "/batchDispatch")
|
|
|
+ @RequestLimit(seconds = 100)
|
|
|
@LogAround(foreignKeys = {"transOrderId"}, foreignKeyTypes = {"运输订单"})
|
|
|
public Map<String, Object> batchDispatch(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
return tmsFeign.batchDispatch(map);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "批量派发运输订单")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @PostMapping(value = "/batchDispatchSc")
|
|
|
+ @RequestLimit(seconds = 100)
|
|
|
+ @LogAround(foreignKeys = {"transOrderId"}, foreignKeyTypes = {"运输订单"})
|
|
|
+ public Map<String, Object> batchDispatchSc(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
+ return tmsFeign.batchDispatchSc(map);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "修改运输订单")
|
|
|
@ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
@PostMapping(value = "/updateTransOrder")
|
|
|
@@ -641,6 +650,7 @@ public class TMSController extends BaseRESTfulController {
|
|
|
map.put("weightOld",weightOld);
|
|
|
map.put("diff",DataChange.dataToBigDecimal(map.get("weight").toString()).subtract(weightOld));
|
|
|
map.put("orderList",orderList);
|
|
|
+ map.put("requirementSerialNumber",orderList.get(0).get("requirementSerialNumber"));
|
|
|
map.put("transPlanId",orderList.get(0).get("transPlanId"));
|
|
|
map.put("materialId",orderList.get(0).get("materialId"));
|
|
|
map.put("unloadPointId",orderList.get(0).get("unloadPointId"));
|
|
|
@@ -729,4 +739,11 @@ public class TMSController extends BaseRESTfulController {
|
|
|
public RESTfulResult updateWeight(@RequestBody Map<String,Object> map) {
|
|
|
return tmsFeign.updateWeight(map);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("checkWeightResult")
|
|
|
+ @PostMapping("/checkWeightResult")
|
|
|
+ @LogAround(foreignKeys = {"resultId"}, foreignKeyTypes = {"计量实绩"})
|
|
|
+ public Map<String,Object> checkWeightResult(@RequestBody Map<String,Object> map) {
|
|
|
+ return tmsFeign.checkWeightResult(map);
|
|
|
+ }
|
|
|
}
|