Commit c08e0bf3 authored by tangwei's avatar tangwei

修改详情单站容量单位

parent 2ba1857f
......@@ -177,7 +177,7 @@ public class JpStationController extends BaseController {
String name = jpInverter.stream().map(JpInverter::getSnCode).collect(Collectors.joining(","));
jpStationDto.setNbsn(name);
jpStationDto.setCjsn(names);
jpStationDto.setCapacity(jpStationDto.getCapacity() ==null?0:Double.valueOf( String.format("%.2f", jpStationDto.getCapacity() / 1000)));
jpStationDto.setCapacity(jpStationDto.getCapacity());
jpStationDto.setRegionalCompaniesName(personnelBusiness.getRegionalCompaniesName());
return ResponseHelper.buildResponse(jpStationDto);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment