Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-12-14 15:26:27 +08:00
commit cc0b06a133
1 changed files with 4 additions and 1 deletions

View File

@ -351,7 +351,10 @@ public class ActTaskService extends BaseServiceImpl {
StringBuilder stringBuilder = new StringBuilder();
List<String> proviDeptsName = resourceDao.selectProvideDeptNameByIds(resourceIds);
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);
}, executor);