Commit b760bef48066001f6f6094e49a22d4d22a7ea890

Authored by hujiaqi
1 parent 0fd76f1f37

加逗号

Showing 1 changed file with 4 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PredictedStatisticsFacade.java View file @ b760bef
... ... @@ -213,10 +213,14 @@
213 213 for (String s : list) {
214 214 try {
215 215 riskFactor += basicConfigService.getOneBasicConfigById(s).getName();
  216 + riskFactor += ",";
216 217 } catch (Exception e) {
217 218 riskFactor += "";
218 219 }
219 220 }
  221 + }
  222 + if (riskFactor.length() > 0) {
  223 + return riskFactor.substring(0, riskFactor.length() - 1);
220 224 }
221 225 return riskFactor;
222 226 }