|
@@ -1415,9 +1415,9 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 获取第三方算法信息
|
|
|
+ * 获取第三方算法平台的算法信息
|
|
|
*
|
|
|
- * @return
|
|
|
+ * @return 第三方算法平台的算法信息
|
|
|
*/
|
|
|
private List<DropDownVo> getOtherAlgorithmInfo(String query) {
|
|
|
|
|
@@ -1461,11 +1461,11 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
|
List<ConfigSensorPO> configSensorVos = simulationProjectMapper.selectConfigSensor(v.getId());
|
|
|
String sensor = "";
|
|
|
if (!isEmpty(configSensorVos) && configSensorVos.get(0) != null) {
|
|
|
- StringBuffer stringBuffer = new StringBuffer();
|
|
|
+ StringBuilder stringBuilder = new StringBuilder();
|
|
|
for (ConfigSensorPO cv : configSensorVos) {
|
|
|
- stringBuffer.append(cv.getSensorType() + ",");
|
|
|
+ stringBuilder.append(cv.getSensorType()).append(",");
|
|
|
}
|
|
|
- sensor = stringBuffer.substring(0, stringBuffer.lastIndexOf(","));
|
|
|
+ sensor = stringBuilder.substring(0, stringBuilder.lastIndexOf(","));
|
|
|
|
|
|
}
|
|
|
dropDownVo.setSensor(sensor);
|