Merge branch 'master' into docker_package
This commit is contained in:
commit
cc0b06a133
|
@ -351,7 +351,10 @@ public class ActTaskService extends BaseServiceImpl {
|
||||||
StringBuilder stringBuilder = new StringBuilder();
|
StringBuilder stringBuilder = new StringBuilder();
|
||||||
List<String> proviDeptsName = resourceDao.selectProvideDeptNameByIds(resourceIds);
|
List<String> proviDeptsName = resourceDao.selectProvideDeptNameByIds(resourceIds);
|
||||||
proviDeptsName.forEach(x -> stringBuilder.append(x).append(","));
|
proviDeptsName.forEach(x -> stringBuilder.append(x).append(","));
|
||||||
String string = stringBuilder.substring(0, stringBuilder.length() - 1);
|
String string = "";
|
||||||
|
if (stringBuilder.length() > 0) {
|
||||||
|
string = stringBuilder.substring(0, stringBuilder.length() - 1);
|
||||||
|
}
|
||||||
dto.setProvideDept(string);
|
dto.setProvideDept(string);
|
||||||
}, executor);
|
}, executor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue