考勤列表适配sqlserver

This commit is contained in:
钱涛 2022-06-13 15:37:52 +08:00
parent 081747b334
commit b78e96c875
2 changed files with 4 additions and 2 deletions

View File

@ -288,8 +288,6 @@
LEFT JOIN hrmresource e ON e.id = t1.creator
WHERE
t1.delete_type = 0 AND t2.delete_type = 0
AND e.status not in (7)
and (e.accounttype is null or e.accounttype = 0)
<include refid="paramSql"/>
ORDER BY t1.id DESC
</select>

View File

@ -241,6 +241,10 @@ public class SalaryArchiveController {
if (StringUtils.isNotBlank(importType)) {
param.setImportType(importType);
}
String hasData = request.getParameter("hasData");
if (StringUtils.isNotBlank(hasData)) {
param.setHasData(Boolean.valueOf(hasData));
}
return param;
}