Commit 647ec3ef by guojuxing

审核员新增接口返回ID

parent 01185519
......@@ -99,7 +99,7 @@ public class AuditorApiServiceImpl implements AuditorApiService {
}
}
auditorDTO.setIsUse(auditorDTO.getUserId() == null ? 0 : 1);
auditorDTO.setIsUse(StringUtils.isBlank(auditorDTO.getOpenid()) ? 0 : 1);
if (StringUtils.isNotBlank(auditorDTO.getOpenid())) {
boolean repeat = this.auditorService.validOpenidIsRepeat(auditorDTO.getEnterpriseId(), auditorDTO.getOpenid(), auditorDTO.getAuditorId());
......@@ -123,7 +123,7 @@ public class AuditorApiServiceImpl implements AuditorApiService {
auditorProjectItemRelService.addOrUpdateRel(auditorDTO.getEnterpriseId(), auditorDTO.getAuditorId(), auditorDTO.getProjectItemList());
// 受审组
auditorAuditedGroupRelService.addOrUpdateRel(auditorDTO.getEnterpriseId(), auditorDTO.getAuditorId(), auditorDTO.getAuditedGroupIdList());
return ServiceResponse.success();
return ServiceResponse.success(auditorDTO.getAuditorId().toString());
}
private boolean validProjectItemIsNotExist(List<Integer> projectItemList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment