离职数据查询 添加状态判断

This commit is contained in:
dxfeng 2025-07-10 09:24:31 +08:00
parent 90b9b68704
commit 1189ff6513
2 changed files with 3 additions and 16 deletions

View File

@ -220,22 +220,6 @@ public class LeaderCockpitServiceImpl implements LeaderCockpitService {
return WeaResult.success(returnMap);
}
//public static void main(String[] args) {
// //Map<String, String> params = new HashMap<>();
// //params.put("searchDate", "2025-07-18");
// //SearchConditionParam searchConditionParam = new SearchConditionParam();
// //initSearchConditionParam(searchConditionParam, params, 0);
// //List<SearchConditionParam> list = new ArrayList<>();
// //list.add(searchConditionParam);
// //
// //params.put("searchDate",searchConditionParam.getEndDate());
// //System.out.println(JSON.toJSONString(searchConditionParam));
// String dateStr = "2025-07-05";
// String lastDayOfPreviousMonthStr = DateUtil.getLastDayOfPreviousMonthStr(dateStr, 2);
// System.out.println(lastDayOfPreviousMonthStr);
// String firstDayOfPreviousMonthStr = DateUtil.getFirstDayOfPreviousMonthStr(dateStr, 2);
// System.out.println(firstDayOfPreviousMonthStr);
//}
/**
* 构建查询对象

View File

@ -38,6 +38,7 @@
<select id="getResignCount" resultType="java.lang.Integer">
select count(id) as value from e10_common.uf_jcl_lzxxjl t
where t.delete_type = 0 and t.tenant_key = #{tenantKey}
and t.lzzt = 1
<if test="departmentIdList != null and departmentIdList.size() > 0">
AND t.lzqbm IN
<foreach collection="departmentIdList" item="departmentId" open="(" close=")" separator=",">
@ -51,6 +52,7 @@
<select id="getKeyResignCount" resultType="java.lang.Integer">
select count(id) as value from e10_common.uf_jcl_lzxxjl t
where t.delete_type = 0 and t.tenant_key = #{tenantKey}
and t.lzzt = 1
<if test="departmentIdList != null and departmentIdList.size() > 0">
AND t.lzqbm IN
<foreach collection="departmentIdList" item="departmentId" open="(" close=")" separator=",">
@ -115,6 +117,7 @@
<select id="getResignListByPosition" resultType="com.weaver.seconddev.portal.entity.po.PortalPO">
select count(id) as name,lzqgw as value from e10_common.uf_jcl_lzxxjl t
where t.delete_type = 0 and t.tenant_key = #{tenantKey}
and t.lzzt = 1
<if test="departmentIdList != null and departmentIdList.size() > 0">
AND t.lzqbm IN
<foreach collection="departmentIdList" item="departmentId" open="(" close=")" separator=",">