Browse Source

#大模型发电量

zhongwei
yang_shj 6 months ago
parent
commit
eb8d326b6c
  1. 2
      hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/controller/InteractiveController.java

2
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/interactive/controller/InteractiveController.java

@ -90,6 +90,6 @@ public class InteractiveController {
@RequestParam @ApiParam("结束时间")String endTime) {
double generate = interactiveService.generation(stationId,startTime,endTime);
DecimalFormat format = new DecimalFormat("0.00");
return R.data(format.format(generate) + "kwh");
return R.data(format.format(generate) + "kWh");
}
}

Loading…
Cancel
Save