|
|
@@ -507,7 +507,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
ProjectStaffRecord projectStaffRecord = projectStaffRecordMapper.selectByPrimaryKey(p.getId());
|
|
|
if (StringUtils.isNull(projectStaffRecord)){
|
|
|
// BeanValidators.validateWithException(validator, projectStaffRecord);
|
|
|
- if (StringUtils.isNotBlank(p.getAdminName())){
|
|
|
+ if (StringUtils.isNotBlank(p.getJobNumber())){
|
|
|
SysUser sysUser = sysUserMapper.checkJobNumber(p.getJobNumber(),companyId);
|
|
|
if (StringUtils.isNull(sysUser)){
|
|
|
throw new ServiceException(String.format("用户[%s]不存在",p.getAdminName()));
|