|
|
@@ -0,0 +1,37 @@
|
|
|
+package cn.tr.module.smart.app.controller;
|
|
|
+
|
|
|
+import cn.tr.core.pojo.CommonResult;
|
|
|
+import cn.tr.module.smart.common.dto.BizDeptQueryDTO;
|
|
|
+import cn.tr.module.smart.common.service.IBizDeptService;
|
|
|
+import cn.tr.module.smart.wx.controller.vo.BizWxDeptVO;
|
|
|
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author wangzl
|
|
|
+ * @description: App科室列表
|
|
|
+ * @date 2025/8/4 10:16
|
|
|
+ */
|
|
|
+@Api(tags = "科室")
|
|
|
+@RestController
|
|
|
+@RequestMapping("/app/dept")
|
|
|
+@AllArgsConstructor
|
|
|
+public class APPDeptController {
|
|
|
+
|
|
|
+ private final IBizDeptService bizDeptService;
|
|
|
+
|
|
|
+ @ApiOperationSupport(author = "lf",order = 1)
|
|
|
+ @ApiOperation(value="根据条件查询科室",notes = "权限: 无")
|
|
|
+ @PostMapping("/query/list")
|
|
|
+ public CommonResult<List<BizWxDeptVO>> selectList(@RequestBody BizDeptQueryDTO query) {
|
|
|
+ return CommonResult.success(bizDeptService.stdWxAppletSelectBizDeptList(query));
|
|
|
+ }
|
|
|
+}
|