update 人事审批相关01

This commit is contained in:
mash 2023-06-21 16:21:11 +08:00
parent 5f92ddae7a
commit fb30a7257f
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ public class PersonnelServiceImpl extends BaseService<PersonnelMapper, Personnel
}else {
audit.setAuditOrder(ArgsConst.LAST);
Config config = configMapper.selectOne(new LambdaQueryWrapper<Config>().eq(Config::getParamKey, ConfigCache.SYS_USER_LEADERSHIP));
audit.setAuditOrder(ArgsConst.WAITING);
audit.setAuditState(ArgsConst.WAITING);
User user = userMapper.selectOne(new LambdaQueryWrapper<User>().eq(User::getLoginName, config.getParamValue()));
audit.setApprover(user.getId());
//通知