|
@@ -8,6 +8,7 @@ import com.gree.mall.miniapp.enums.workorder.OrderFlagEnum;
|
|
|
import com.gree.mall.miniapp.helper.ResponseHelper;
|
|
|
import com.gree.mall.miniapp.logic.workorder.OrderBaseLogic;
|
|
|
import com.gree.mall.miniapp.logic.workorder.OrderLogLogic;
|
|
|
+import com.gree.mall.miniapp.plus.entity.Abnormal;
|
|
|
import com.gree.mall.miniapp.plus.entity.OrderSmallType;
|
|
|
import com.gree.mall.miniapp.plus.entity.PgOrderOperatorLog;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -18,6 +19,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.integration.redis.util.RedisLockRegistry;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
+import java.text.ParseException;
|
|
|
import java.util.List;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
import java.util.concurrent.locks.Lock;
|
|
@@ -186,4 +189,15 @@ public class OrderBaseController {
|
|
|
return ResponseHelper.success();
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/abnormalList")
|
|
|
+ @ApiOperation("配置列表")
|
|
|
+ public ResponseHelper<List<Abnormal>> abnormalList(
|
|
|
+ @ApiParam(value = "exType", required = false) @RequestParam String exType,
|
|
|
+ HttpServletRequest request
|
|
|
+ ) throws ParseException {
|
|
|
+ List<Abnormal> abnormalVO = orderLogLogic.abnormalList(exType);
|
|
|
+ return ResponseHelper.success(abnormalVO);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|