领悦建模更新时间

This commit is contained in:
Harryxzy 2025-09-05 10:24:38 +08:00
parent d5ed2ffac0
commit d738497ab2
1 changed files with 10 additions and 4 deletions

View File

@ -1031,10 +1031,12 @@ public class LyPZServiceImpl extends Service implements LyPZService {
} }
// 入库 // 入库
if (CollectionUtils.isNotEmpty(needUpdateIds)) { if (CollectionUtils.isNotEmpty(needUpdateIds)) {
String formatLocalDateTime = SalaryDateUtil.getFormatLocalDateTime(new Date());
List<List<Integer>> partition = Lists.partition(needUpdateIds, 800); List<List<Integer>> partition = Lists.partition(needUpdateIds, 800);
partition.forEach( part -> { partition.forEach( part -> {
String idStr = StringUtils.join(part, ","); String idStr = StringUtils.join(part, ",");
String updateSql = "update uf_sbgjj set sjsd = 0 where id in (" + idStr + ")"; String updateSql = "update uf_sbgjj set sjsd = 0,modedatamodifydatetime='"+formatLocalDateTime+"' where id in (" + idStr + ")";
rs.execute(updateSql); rs.execute(updateSql);
}); });
// 获取社保公积金模块id // 获取社保公积金模块id
@ -1050,10 +1052,12 @@ public class LyPZServiceImpl extends Service implements LyPZService {
} }
if (CollectionUtils.isNotEmpty(needUpdateGjjIds)) { if (CollectionUtils.isNotEmpty(needUpdateGjjIds)) {
String formatLocalDateTime = SalaryDateUtil.getFormatLocalDateTime(new Date());
List<List<Integer>> partition = Lists.partition(needUpdateGjjIds, 800); List<List<Integer>> partition = Lists.partition(needUpdateGjjIds, 800);
partition.forEach( part -> { partition.forEach( part -> {
String idStr = StringUtils.join(part, ","); String idStr = StringUtils.join(part, ",");
String updateSql = "update uf_sbgjj set gjjsjsd = 0 where id in (" + idStr + ")"; String updateSql = "update uf_sbgjj set gjjsjsd = 0,modedatamodifydatetime='"+formatLocalDateTime+"' where id in (" + idStr + ")";
rs.execute(updateSql); rs.execute(updateSql);
}); });
// 获取社保公积金模块id // 获取社保公积金模块id
@ -1541,10 +1545,11 @@ public class LyPZServiceImpl extends Service implements LyPZService {
// 入库 // 入库
if (CollectionUtils.isNotEmpty(needUpdateIds)) { if (CollectionUtils.isNotEmpty(needUpdateIds)) {
String formatLocalDateTime = SalaryDateUtil.getFormatLocalDateTime(new Date());
List<List<Integer>> partition = Lists.partition(needUpdateIds, 800); List<List<Integer>> partition = Lists.partition(needUpdateIds, 800);
partition.forEach( part -> { partition.forEach( part -> {
String idStr = StringUtils.join(part, ","); String idStr = StringUtils.join(part, ",");
String updateSql = "update uf_sbgjj set sjsd = 1 where id in (" + idStr + ")"; String updateSql = "update uf_sbgjj set sjsd = 1,modedatamodifydatetime='"+formatLocalDateTime+"' where id in (" + idStr + ")";
rs.execute(updateSql); rs.execute(updateSql);
}); });
// 获取社保公积金模块id // 获取社保公积金模块id
@ -1561,10 +1566,11 @@ public class LyPZServiceImpl extends Service implements LyPZService {
// 入库 // 入库
if (CollectionUtils.isNotEmpty(needUpdateGjjIds)) { if (CollectionUtils.isNotEmpty(needUpdateGjjIds)) {
String formatLocalDateTime = SalaryDateUtil.getFormatLocalDateTime(new Date());
List<List<Integer>> partition = Lists.partition(needUpdateGjjIds, 800); List<List<Integer>> partition = Lists.partition(needUpdateGjjIds, 800);
partition.forEach( part -> { partition.forEach( part -> {
String idStr = StringUtils.join(part, ","); String idStr = StringUtils.join(part, ",");
String updateSql = "update uf_sbgjj set gjjsjsd = 1 where id in (" + idStr + ")"; String updateSql = "update uf_sbgjj set gjjsjsd = 1,modedatamodifydatetime='"+formatLocalDateTime+"' where id in (" + idStr + ")";
rs.execute(updateSql); rs.execute(updateSql);
}); });
// 获取社保公积金模块id // 获取社保公积金模块id