fix[订单模块]:排队,oss路径,自动任务,订单状态等逻辑
This commit is contained in:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user