Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/wangxy/manage-web/commit/ddac1ba2b335e6df07991f618ae7b8a2d01bb755?style=split&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

修改报错

master
wangxy 4 months ago
parent 8d2cbfb259
commit ddac1ba2b3

@ -34,6 +34,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
/** /**
* Controller * Controller
@ -278,11 +280,17 @@ public class ExecuteController extends BaseController {
List<User> users = flowUserservice.listByAssociatedAndTypes(taskId); List<User> users = flowUserservice.listByAssociatedAndTypes(taskId);
if (!Objects.equals(CooperateType.REDUCTION_SIGNATURE.getKey(), operatorType)) { if (!Objects.equals(CooperateType.REDUCTION_SIGNATURE.getKey(), operatorType)) {
List<String> userIds = StreamUtils.toList(users, User::getProcessedBy); List<String> userIds = StreamUtils.toList(users, User::getProcessedBy);
warmFlowInteractiveTypeVo.setUserIds(userIds); List<String> modifiedUserIds = userIds.stream()
.map(user -> user.replace("role:", ""))
.collect(Collectors.toList());
warmFlowInteractiveTypeVo.setUserIds(modifiedUserIds);
list = userService.selectNotUserList(warmFlowInteractiveTypeVo); list = userService.selectNotUserList(warmFlowInteractiveTypeVo);
} else { } else {
List<String> userIds = StreamUtils.toList(users, User::getProcessedBy); List<String> userIds = StreamUtils.toList(users, User::getProcessedBy);
warmFlowInteractiveTypeVo.setUserIds(userIds); List<String> modifiedUserIds = userIds.stream()
.map(user -> user.replace("role:", ""))
.collect(Collectors.toList());
warmFlowInteractiveTypeVo.setUserIds(modifiedUserIds);
list = userService.selectUserList(warmFlowInteractiveTypeVo); list = userService.selectUserList(warmFlowInteractiveTypeVo);
list = StreamUtils.filter(list, sysUser -> !Objects.equals(userId, sysUser.getUserId())); list = StreamUtils.filter(list, sysUser -> !Objects.equals(userId, sysUser.getUserId()));
} }

Loading…
Cancel
Save