计提报表解活日期数据过滤

This commit is contained in:
李贵强 2025-05-29 11:20:32 +08:00
parent 3257acbe93
commit 5f7a0885a4
1 changed files with 3 additions and 3 deletions

View File

@ -108,10 +108,10 @@ public class RegularListReport extends AbstractReportListDataPlugin implements P
"and to_date('" + filterDateStr + "','yyyy-MM-dd') <= " +
"to_date(concat(year(shjh_depositstopdate),'-12-31'),'yyyy-MM-dd')");
//过滤2----计提日<=解活日期所在年年末
//解活日期shjh_redeemdate
// 过滤2仅对 shjh_redeemdate 非空记录要求 计提日 <= 解活日期所在年年末
dataSet = dataSet.filter(
"to_date('" + filterDateStr + "','yyyy-MM-dd') <= " +
"shjh_redeemdate is null " + // 允许 shjh_redeemdate null 的记录通过
"or to_date('" + filterDateStr + "','yyyy-MM-dd') <= " +
"to_date(concat(year(shjh_redeemdate),'-12-31'),'yyyy-MM-dd')");
//分组小计