fix[订单模块]:排队,oss路径,自动任务,订单状态等逻辑

This commit is contained in:
2025-01-30 10:10:12 +08:00
parent 39a7eb0580
commit d97f2897b7
12 changed files with 111 additions and 33 deletions
@@ -70,11 +70,13 @@ public class ApiDeviceController {
JsonObject jsonObject;
String property = MapUtil.getStrValue(param, "control");
String value = MapUtil.getStrValue(param, "order_no");
System.out.println("order_no"+value);
if (value == null || "".equals(value)) {
return Result.succeed("暂未开放控制权限");
}
Result res = orderCenterService.getOrderExecStatus(value);
if (res.getResp_code() != null && res.getResp_code() == 0){
if (res.getResp_code() != null && res.getResp_code() == 1){
return Result.succeed("任务正在执行中");
}
try {