部门统计bug修复

This commit is contained in:
wanghao
2026-01-09 16:06:36 +08:00
parent 410bd6efa6
commit 58acc58338
7 changed files with 50 additions and 4 deletions
@@ -505,6 +505,15 @@ public interface ISysBaseAPI extends CommonAPI {
@GetMapping("/sys/api/getDepartIdsByOrgCode")
public String getDepartIdsByOrgCode(@RequestParam("orgCode") String orgCode);
/**
* 22通过部门编号查询部门id
*
* @param orgCode
* @return
*/
@GetMapping("/sys/api/getDepartIdsByOrgCodeNew")
public SysDepart getDepartIdsByOrgCodeNew(@RequestParam("orgCode") String orgCode);
/**
* 23查询所有部门
*
@@ -295,6 +295,11 @@ public class SysBaseAPIFallback implements ISysBaseAPI {
return null;
}
@Override
public SysDepart getDepartIdsByOrgCodeNew(String orgCode) {
return null;
}
@Override
public List<SysDepartModel> getAllSysDepart() {
return null;
@@ -20,6 +20,7 @@ import org.jeecg.common.bean.transfer.UserWeightSign;
import org.jeecg.common.system.vo.*;
import org.jeecg.modules.system.bean.UserEmployee;
import org.jeecg.modules.system.entity.HealthUserEmployeeEx;
import org.jeecg.modules.system.entity.SysDepart;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.system.entity.SysUserEmergencyContact;
import org.springframework.web.bind.annotation.RequestBody;
@@ -255,6 +256,14 @@ public interface ISysBaseAPI extends CommonAPI {
*/
public String getDepartIdsByOrgCode(String orgCode);
/**
* 23通过部门编号查询部门id
*
* @param orgCode
* @return
*/
public SysDepart getDepartIdsByOrgCodeNew(String orgCode);
/**
* 24查询所有部门
*