新增acs手持取消任务调用wms删除任务

This commit is contained in:
loujf
2022-10-28 09:34:10 +08:00
parent f406acfd07
commit a6ccdac531
6 changed files with 84 additions and 3 deletions

View File

@@ -871,6 +871,9 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
point_table.update(nextObj);
task_table.delete(taskObj);
JSONObject groupObj = group_table.query("task_id ='" + taskObj.getString("task_id") + "'").uniqueResult(0);
if (ObjectUtil.isEmpty(groupObj)) {
throw new BadRequestException("找不到task_id为" + taskObj.getString("task_id") +"的盘信息");
}
group_table.delete(groupObj);
JSONObject result = new JSONObject();