From cc120d54e26f64753e99b349599875cf6911a0af Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Wed, 18 Oct 2023 08:26:19 +0800
Subject: [PATCH] chore:小程序测试提交
---
screen-api/src/main/java/com/moral/api/controller/AllocationController.java | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/screen-api/src/main/java/com/moral/api/controller/AllocationController.java b/screen-api/src/main/java/com/moral/api/controller/AllocationController.java
index 476d2c6..b59de2e 100644
--- a/screen-api/src/main/java/com/moral/api/controller/AllocationController.java
+++ b/screen-api/src/main/java/com/moral/api/controller/AllocationController.java
@@ -12,6 +12,7 @@
import com.moral.api.pojo.ext.allocation.AllocationPageExt;
import com.moral.api.pojo.query.allocation.*;
import com.moral.api.pojo.query.allocationextension.AllocationExtensionAddCond;
+import com.moral.api.pojo.vo.allocation.AllocationFindVo;
import com.moral.api.pojo.vo.allocation.AllocationPageVo;
import com.moral.api.pojo.vo.allocation.AllocationVo;
import com.moral.api.utils.BeanConverts;
@@ -197,4 +198,32 @@
}
}
+
+
+ @GetMapping("selectSmallRoutine")
+ @ApiOperation("���������������")
+ public ResultMessage selectSmallRoutine(@RequestParam @ApiParam(value = "state",name = "������") Integer state,
+ @RequestParam @ApiParam(value = "startTime",name = "������������") String startTime,
+ @RequestParam @ApiParam(value = "endTime",name = "������������") String endTime){
+ List<AllocationFindVo> allocationFindVos = allocationService.selectSmallRoutine(state,startTime,endTime);
+ return ResultMessage.ok(ObjectUtils.isEmpty(allocationFindVos)? "0":allocationFindVos);
+ }
+
+
+ @PostMapping("changeRoutine")
+ @ApiOperation("���������������")
+ public ResultMessage changeSmallRoutine(@Valid @RequestBody AllocationChangeCond changeCond){
+ allocationService.changeSmallRoutine(changeCond);
+ return ResultMessage.ok();
+ }
+
+
+ @PostMapping("checkRoutine")
+ @ApiOperation("���������������")
+ public ResultMessage checkSmallRoutine(@Valid @RequestBody AllocationCheckCond checkCond){
+ allocationService.checkSmallRoutine(checkCond);
+ return ResultMessage.ok();
+ }
+
+
}
--
Gitblit v1.8.0