当前角色问题解决

This commit is contained in:
2025-05-06 10:04:29 +08:00
parent 4c69575084
commit a1e2b71141
12 changed files with 76 additions and 51 deletions

View File

@@ -85,4 +85,9 @@ public class SysOaAttendanceVo extends SysOaAttendance {
private Double overTime;
// 请假天数
private Long absenceDays;
private Long tripDays;
}

View File

@@ -120,6 +120,11 @@ public class OaProgressServiceImpl implements IOaProgressService {
if(isValid){
//TODO 做一些业务上的校验,判断是否需要校验
}
for (Long id : ids) {
QueryWrapper<OaProgress> oaProgressQueryWrapper = new QueryWrapper<>();
oaProgressQueryWrapper.eq("parent_id", id);
baseMapper.delete(oaProgressQueryWrapper);
}
return baseMapper.deleteBatchIds(ids) > 0;
}

View File

@@ -115,7 +115,7 @@ public class SysOaRemindServiceImpl implements ISysOaRemindService {
oaProgressBo.setType(1L);
List<OaProgressVo> rows1 = progressService.queryPageList(oaProgressBo, pageQuery).getRows();
for (OaProgressVo row : rows1) {
if (row.getRemainTime()!=null && row.getRemainTime()<3L){
if (row.getRemainTime()!=null && row.getStatus() !=1L && row.getRemainTime()<3L){
SysOaRemindVo sysOaRemindVo = new SysOaRemindVo();
sysOaRemindVo.setType("progress-project");
sysOaRemindVo.setContent(row.getProgressName());