|
@@ -2,16 +2,13 @@ package com.benyun.controller;
|
|
|
|
|
|
|
|
|
import com.benyun.boot.core.vo.Result;
|
|
|
-import com.benyun.vo.ApplyEventVo;
|
|
|
+import com.benyun.vo.ApplyVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import com.benyun.entity.Apply;
|
|
|
import com.benyun.service.ApplyService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -21,6 +18,8 @@ import org.beetl.sql.core.engine.PageQuery;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
+ * 应用信息表
|
|
|
+ *
|
|
|
* @author makejava
|
|
|
* create on 2023-03-17 10:03:25
|
|
|
*/
|
|
@@ -49,7 +48,7 @@ public class ApplyController {
|
|
|
* @return 所有数据
|
|
|
*/
|
|
|
@GetMapping("/queryList")
|
|
|
- public Result<List<Apply>> queryList(@RequestParam(required = false) String applyName) {
|
|
|
+ public Result<List<ApplyVo>> queryList(@RequestParam(required = false) String applyName) {
|
|
|
return Result.success(applyService.queryList(applyName));
|
|
|
}
|
|
|
|
|
@@ -111,14 +110,4 @@ public class ApplyController {
|
|
|
public Result<Boolean> delete(@RequestParam("id") String id) {
|
|
|
return Result.success(this.applyService.deleteById(id));
|
|
|
}
|
|
|
-
|
|
|
- /**
|
|
|
- * 通过应用id查询应用的事件数据
|
|
|
- *
|
|
|
- * @return 所有数据
|
|
|
- */
|
|
|
- @GetMapping("/queryApplyEventByUUId")
|
|
|
- public Result<ApplyEventVo> queryApplyEventByUUId(@RequestParam("uuid") String uuid) {
|
|
|
- return Result.success(applyService.queryApplyEventByUUId(uuid));
|
|
|
- }
|
|
|
}
|