|
|
@@ -18,20 +18,17 @@ public class ERPController {
|
|
|
private ERPService erpService;
|
|
|
|
|
|
@RequestMapping(value="/erp/sendProdIO")
|
|
|
- @ResponseBody
|
|
|
public Map<String, Object> sendProdIO(String master,Integer id,String action) throws Exception {
|
|
|
return erpService.sendProdIO(master,id, action);
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value="/erp/testConnect")
|
|
|
- @ResponseBody
|
|
|
public Map<String, Object> testConnect() {
|
|
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
|
modelMap.put("test","123");
|
|
|
return modelMap;
|
|
|
}
|
|
|
@RequestMapping(value="/erp/testParam")
|
|
|
- @ResponseBody
|
|
|
public Map<String, Object> testParam(String master, Integer id, String action){
|
|
|
Map<String, Object> modelMap = new HashMap<String, Object>();
|
|
|
modelMap.put("master",master);
|