feat:记录导出增加部门搜索

This commit is contained in:
dzc committed 2025-02-19 15:19:20 +08:00
1 parent 4919d83314
commit 9a8c7d5ace
13 files changed
+208 -43

No files matched your search

@@ -0,0 +1,14 @@
package com.bsd.pjcloud.admin.api.dto;
import lombok.Data;
import java.util.List;
@Data
public class DeptAllListDto {
private Long deptId;
private List<Long> deptIds;
}
@@ -20,14 +20,13 @@
package com.bsd.pjcloud.admin.api.feign;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bsd.pjcloud.admin.api.dto.DeptAllListDto;
import com.bsd.pjcloud.admin.api.entity.SysDept;
import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
import com.bsd.pjcloud.common.core.util.R;
import com.bsd.pjcloud.common.feign.annotation.NoToken;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
@@ -55,8 +54,8 @@ public interface RemoteDeptService {
* @return
*/
@NoToken
@GetMapping("/dept/inner-all-dept")
R<List<SysDept>> getInnerAllDept();
@PostMapping("/dept/inner-all-dept")
R<List<SysDept>> getInnerAllDept(@RequestBody DeptAllListDto dto);
/**
* 通过部门ID获取负责人列表