Browse Source

rev:查询任务接口参数修改

master
刘先源 2 months ago
parent
commit
9cae849e7c
  1. 4
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java
  2. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/MesToWmsService.java
  3. 4
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java

4
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java

@ -45,8 +45,8 @@ public class MesToWmsController {
@PostMapping("/SearchTasks") @PostMapping("/SearchTasks")
@Log("mes查看任务") @Log("mes查看任务")
@SaIgnore @SaIgnore
public ResponseEntity<Object> searchTasks(@RequestBody JSONObject jo) { public ResponseEntity<Object> searchTasks() {
return new ResponseEntity<>(mesToWmsService.SearchTasks(jo), HttpStatus.OK); return new ResponseEntity<>(mesToWmsService.SearchTasks(), HttpStatus.OK);
} }
@PostMapping("/DeleteTask") @PostMapping("/DeleteTask")

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/MesToWmsService.java

@ -56,7 +56,7 @@ public interface MesToWmsService {
* ] * ]
* } * }
*/ */
JSONObject SearchTasks(JSONObject jo); JSONObject SearchTasks();
/** /**
* mes删除任务 * mes删除任务

4
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java

@ -163,8 +163,8 @@ public class MesToWmsServiceImpl implements MesToWmsService {
} }
@Override @Override
public JSONObject SearchTasks(JSONObject jo) { public JSONObject SearchTasks() {
log.info("mes接口SearchTasks查看任务输入参数:"+jo.toString()); log.info("mes接口SearchTasks查看任务输入参数:");
JSONObject result = new JSONObject(); JSONObject result = new JSONObject();
// 查询所有任务 // 查询所有任务

Loading…
Cancel
Save