|
@@ -682,6 +682,7 @@ public class WebMediatorImpl implements ViewMediator {
|
|
|
}
|
|
|
return null;
|
|
|
}).collect(Collectors.toList());
|
|
|
+
|
|
|
unfinishedTasks = allTaskOfAgency.stream()
|
|
|
.filter(crowdTestTask -> crowdTestTask.getStatus() >= CrowdTestTaskStatus.HAS_RELEASED && crowdTestTask.getStatus() < CrowdTestTaskStatus.HAS_FINISHED)
|
|
|
.collect(Collectors.toList());
|
|
@@ -1184,9 +1185,9 @@ public class WebMediatorImpl implements ViewMediator {
|
|
|
@Override
|
|
|
public UserDTO updateInformation(long userId, UserVO userVO) {
|
|
|
Optional<UserPO> userPO = userDao.findById(userId);
|
|
|
- if (userVO.getUnit() == null || userVO.getUnit().length() <= 0) {
|
|
|
- throw new HttpBadRequestException("请输入企业简称");
|
|
|
- }
|
|
|
+// if (userVO.getUnit() == null || userVO.getUnit().length() <= 0) {
|
|
|
+// throw new HttpBadRequestException("请输入企业简称");
|
|
|
+// }
|
|
|
userPO.get().setPhotoUrl(userVO.getPhotoUrl());
|
|
|
userPO.get().setUnit(userVO.getUnit());
|
|
|
userPO.get().setGender(userVO.getGender());
|