|
|
@@ -102,4 +102,28 @@ public class TMSController extends BaseRESTfulController {
|
|
|
Integer pageSize) {
|
|
|
return tmsFeign.getTransOrderList(map ==null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value="同步进厂")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @PostMapping(value = "/syncEnfactoryResult")
|
|
|
+ @LogAround(foreignKeys = {"resultId"},foreignKeyTypes = {"进厂实绩"})
|
|
|
+ public Map<String, Object> syncEnfactoryResult(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return tmsFeign.syncEnfactoryResult(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="同步出厂")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @PostMapping(value = "/syncOutfactoryResult")
|
|
|
+ @LogAround(foreignKeys = {"resultId"},foreignKeyTypes = {"出厂实绩"})
|
|
|
+ public Map<String, Object> syncOutfactoryResult(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return tmsFeign.syncOutfactoryResult(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="同步计量")
|
|
|
+ @ApiImplicitParam(name = "map", value = "JSON格式数据", required = true, dataType = "Map<String, Object>")
|
|
|
+ @PostMapping(value = "/syncWeightResult")
|
|
|
+ @LogAround(foreignKeys = {"resultId"},foreignKeyTypes = {"计量实绩"})
|
|
|
+ public Map<String, Object> syncWeightResult(@RequestBody(required = false) Map<String, Object> map){
|
|
|
+ return tmsFeign.syncWeightResult(map);
|
|
|
+ }
|
|
|
}
|