update 调整代码结构

This commit is contained in:
Lemon
2024-07-16 14:07:06 +08:00
parent 513ea9da4f
commit 2a3886486e
100 changed files with 258 additions and 176 deletions

View File

@@ -0,0 +1,36 @@
package com.jsowell.api.uniapp.business;
import com.jsowell.common.core.controller.BaseController;
import com.jsowell.common.response.RestApiResponse;
import com.jsowell.pile.service.PileStationInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* TODO
*
* @author Lemon
* @Date 2024/7/16 13:44:06
*/
@RestController
@RequestMapping("/business/pile/station")
public class PileStationInfoController extends BaseController {
@Autowired
private PileStationInfoService pileStationInfoService;
@GetMapping("/getStationStatisticsInfos/{stationId}")
public RestApiResponse<?> getStationStatisticsInfos(@PathVariable("stationId") String stationId) {
RestApiResponse<?> response = null;
try {
pileStationInfoService.getStationStatisticsInfos(stationId);
} catch (Exception e) {
}
return response;
}
}