opt: 穿拔轴调度添加任务,操作日志不在记录:获取未读的接收消息条数的相关记录
This commit is contained in:
@@ -316,12 +316,15 @@ public class AutoCallAirShaftTask {
|
|||||||
device.put("device_code", shafttubeivt.getPoint_code());
|
device.put("device_code", shafttubeivt.getPoint_code());
|
||||||
array.add(device);
|
array.add(device);
|
||||||
JSONObject pointStatus = wmsToAcsService.getPointStatus(array);
|
JSONObject pointStatus = wmsToAcsService.getPointStatus(array);
|
||||||
|
log.info("ACS反馈气胀轴库信息:{}", pointStatus);
|
||||||
JSONArray data = pointStatus.getJSONArray("data");
|
JSONArray data = pointStatus.getJSONArray("data");
|
||||||
JSONObject jsonObject = data.getJSONObject(0);
|
JSONObject jsonObject = data.getJSONObject(0);
|
||||||
if (jsonObject.getInteger("qty") == 0) {
|
if (jsonObject.getInteger("qty") == 0) {
|
||||||
// 没有货
|
// 没有货
|
||||||
|
log.info("ACS告知无气胀轴,申请从气胀轴密集库出气胀轴");
|
||||||
toCreatShaftCacheTask(qzzSize, location, empty);
|
toCreatShaftCacheTask(qzzSize, location, empty);
|
||||||
} else {
|
} else {
|
||||||
|
log.info("开始给ACS写信号出气胀轴");
|
||||||
JSONArray acsParam = new JSONArray();
|
JSONArray acsParam = new JSONArray();
|
||||||
JSONObject acsQzz = new JSONObject();
|
JSONObject acsQzz = new JSONObject();
|
||||||
acsQzz.put("device_code", shafttubeivt.getPoint_code());
|
acsQzz.put("device_code", shafttubeivt.getPoint_code());
|
||||||
|
|||||||
@@ -64,13 +64,13 @@ public class SysNoticeController {
|
|||||||
return new ResponseEntity<>(HttpStatus.OK);
|
return new ResponseEntity<>(HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Log("获取未读的接收消息条数")
|
// @Log("获取未读的接收消息条数")
|
||||||
@GetMapping("/countByReceiveNotRead")
|
@GetMapping("/countByReceiveNotRead")
|
||||||
public ResponseEntity<Object> countByReceiveNotRead() {
|
public ResponseEntity<Object> countByReceiveNotRead() {
|
||||||
return new ResponseEntity<>(noticeService.countByReceiveNotRead(), HttpStatus.OK);
|
return new ResponseEntity<>(noticeService.countByReceiveNotRead(), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Log("接收消息分页")
|
// @Log("接收消息分页")
|
||||||
@GetMapping("/pageByReceive")
|
@GetMapping("/pageByReceive")
|
||||||
public ResponseEntity<Object> pageByReceive() {
|
public ResponseEntity<Object> pageByReceive() {
|
||||||
return new ResponseEntity<>(noticeService.pageByReceive(), HttpStatus.OK);
|
return new ResponseEntity<>(noticeService.pageByReceive(), HttpStatus.OK);
|
||||||
|
|||||||
Reference in New Issue
Block a user