|
@@ -129,17 +129,16 @@ public class SwcUtils {
|
|
|
"left join t_hsas_caltableentry g on g.fid = f.fid \n" +
|
|
"left join t_hsas_caltableentry g on g.fid = f.fid \n" +
|
|
|
"left join t_hsbs_salaryitem h on h.fid = g.fsalaryitemid \n" +
|
|
"left join t_hsbs_salaryitem h on h.fid = g.fsalaryitemid \n" +
|
|
|
"where 1 = 1 and b1.ftaskstatus in ('4','7','8','9') ---计算完成 9--已审核 7--审批处理中 8--审批通过 4 \n" +
|
|
"where 1 = 1 and b1.ftaskstatus in ('4','7','8','9') ---计算完成 9--已审核 7--审批处理中 8--审批通过 4 \n" +
|
|
|
- " and a.fiscurrentversion = '1'\n" +
|
|
|
|
|
" and h.fnumber in ("+salaryitem+") \n");
|
|
" and h.fnumber in ("+salaryitem+") \n");
|
|
|
sb.append("and b1.fpaydate >= '"+startDateStr+"' \n");
|
|
sb.append("and b1.fpaydate >= '"+startDateStr+"' \n");
|
|
|
sb.append("and b1.fpaydate <= '"+endDateStr+"' \n");
|
|
sb.append("and b1.fpaydate <= '"+endDateStr+"' \n");
|
|
|
sb.append("and c.femployeeid in ("+empId+") \n");
|
|
sb.append("and c.femployeeid in ("+empId+") \n");
|
|
|
|
|
+ //sb.append("and c.femployeeid in (2311775636290546688) \n");
|
|
|
sb.append("group by c.femployeeid,d.fname, d.fempnumber");
|
|
sb.append("group by c.femployeeid,d.fname, d.fempnumber");
|
|
|
|
|
|
|
|
return sb;
|
|
return sb;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
public static List<Long> getExcludePayRollGroupIds(Date startDate) {
|
|
public static List<Long> getExcludePayRollGroupIds(Date startDate) {
|
|
|
List<Long> excludeGroupIds = new ArrayList<Long>();
|
|
List<Long> excludeGroupIds = new ArrayList<Long>();
|
|
|
QFilter filter = new QFilter("nckd_calyear", QCP.equals, startDate);
|
|
QFilter filter = new QFilter("nckd_calyear", QCP.equals, startDate);
|