|
@@ -3,6 +3,7 @@ package com.steerinfo.dil.controller;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.steerinfo.dil.annotaion.LogAround;
|
|
import com.steerinfo.dil.annotaion.LogAround;
|
|
|
import com.steerinfo.dil.feign.AmsFeign;
|
|
import com.steerinfo.dil.feign.AmsFeign;
|
|
|
|
|
+import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
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;
|
|
@@ -28,7 +29,7 @@ import java.util.Map;
|
|
|
*/
|
|
*/
|
|
|
@RestController
|
|
@RestController
|
|
|
@RequestMapping("${api.version}/ams")
|
|
@RequestMapping("${api.version}/ams")
|
|
|
-public class AMScontroller {
|
|
|
|
|
|
|
+public class AMScontroller extends BaseRESTfulController {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
AmsFeign amsFeign;
|
|
AmsFeign amsFeign;
|
|
|
|
|
|
|
@@ -708,13 +709,13 @@ public class AMScontroller {
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
@ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
@ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
})
|
|
})
|
|
|
- @PostMapping(value = "/getamsproductionordersyncs")
|
|
|
|
|
- RESTfulResult getamsproductionordersyncs(@RequestBody(required = false) Map<String, Object> map,
|
|
|
|
|
|
|
+ @PostMapping(value = "/getProductOrderList")
|
|
|
|
|
+ Map<String, Object> getProductOrderList(@RequestBody(required = false) Map<String, Object> map,
|
|
|
Integer apiId,
|
|
Integer apiId,
|
|
|
Integer pageNum,
|
|
Integer pageNum,
|
|
|
Integer pageSize
|
|
Integer pageSize
|
|
|
) {
|
|
) {
|
|
|
- return amsFeign.getamsproductionordersyncs(map == null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
|
|
|
|
+ return amsFeign.getProductOrderList(map == null ? new HashMap<>() : map, apiId, pageNum, pageSize);
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|