This commit is contained in:
parent
6cdd8462f6
commit
cf2cfa2bb6
|
@ -221,7 +221,8 @@ public class ApprovalProcessController extends BaseController {
|
||||||
if (togUserIds.contains(",")) {
|
if (togUserIds.contains(",")) {
|
||||||
String[] split = togUserIds.split(",");
|
String[] split = togUserIds.split(",");
|
||||||
for (String s : split) {
|
for (String s : split) {
|
||||||
s = s.trim(); // 移除首尾空格
|
s = s.trim();
|
||||||
|
System.out.println("拆分的字:"+s);// 移除首尾空格
|
||||||
if (!s.isEmpty()) {
|
if (!s.isEmpty()) {
|
||||||
SysUser user = sysUserService.selectUserById(Long.parseLong(s));
|
SysUser user = sysUserService.selectUserById(Long.parseLong(s));
|
||||||
userList.add(user);
|
userList.add(user);
|
||||||
|
|
Loading…
Reference in New Issue