|
|
@@ -20,9 +20,9 @@ public class SERESController {
|
|
|
* */
|
|
|
@PostMapping("/erp/ZHJK/getStock")
|
|
|
@ResponseBody
|
|
|
- public Map<String, Object> getStock() throws IOException {
|
|
|
+ public Map<String, Object> getStock(@RequestBody String param) throws IOException {
|
|
|
SpObserver.putSp("AW_ZHJK");
|
|
|
- Map<String, Object> modelMap = seresService.getStock();
|
|
|
+ Map<String, Object> modelMap = seresService.getStock(param);
|
|
|
return modelMap;
|
|
|
}
|
|
|
|
|
|
@@ -93,8 +93,8 @@ public class SERESController {
|
|
|
//临时用于ERP端获取展示数据
|
|
|
@PostMapping("/erp/ZHJK/testGetStockData")
|
|
|
@ResponseBody
|
|
|
- public Map<String, Object> testGetStockData(@RequestParam String token) throws Exception {
|
|
|
- Map<String, Object> modelMap =seresService.testGetStockData(token);
|
|
|
+ public Map<String, Object> testGetStockData(@RequestBody String param) throws Exception {
|
|
|
+ Map<String, Object> modelMap =seresService.testGetStockData(param);
|
|
|
modelMap.put("success", true);
|
|
|
return modelMap;
|
|
|
}
|