工作组变更

This commit is contained in:
梁琦涛
2022-05-09 14:09:59 +08:00
parent 93ef0dd47c
commit 120ef60ab0
@@ -948,15 +948,6 @@ public class PayWorkingGroupSubItemServiceImpl extends ServiceImpl<PayWorkingGro
if(Objects.isNull(sysUserInfo)){
throw new JeroBootException("负责人不存在!");
}
// 获取工作组信息
PayWorkingGroup payWorkingGroup = payWorkingGroupService.getById(list.get(0).getWorkingGroupId());
if(Objects.isNull(payWorkingGroup)){
throw new JeroBootException("工作组不存在!");
}
SysUser sysUserInfo = sysUserService.getById(payWorkingGroup.getPrincipalIdA());
if(Objects.isNull(sysUserInfo)){
throw new JeroBootException("负责人不存在!");
}
list.forEach(p->{
// 收费通知为合同的,不进行变更,其他方式直接变更
if(Objects.equals(p.getChargeWay(),PayProjectCommon.CHARGE_WAY2)){