对比新文件 |
| | |
| | | package com.zhitan.web.controller.itemizedenergyanalysis; |
| | | |
| | | import com.zhitan.Itemizedenergyanalysis.domain.VO.ItemizedEnergyAnalysisVO; |
| | | import com.zhitan.Itemizedenergyanalysis.dto.ItemizedEnergyAnalysisDTO; |
| | | import com.zhitan.Itemizedenergyanalysis.service.IItemizedEnergyAnalysisService; |
| | | import com.zhitan.common.core.domain.AjaxResult; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import static com.zhitan.common.core.domain.AjaxResult.success; |
| | | |
| | | /** |
| | | * 鍒嗛」鐢ㄨ兘鍒嗘瀽 鎺ュ彛 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/itemizedEnergyAnalysis") |
| | | @Api(value = "鍒嗛」鐢ㄨ兘鍒嗘瀽", tags = {"鍒嗛」鐢ㄨ兘鍒嗘瀽"}) |
| | | public class ItemizedEnergyAnalysisController { |
| | | |
| | | @Autowired |
| | | private IItemizedEnergyAnalysisService itemizedEnergyAnalysisService; |
| | | |
| | | /** |
| | | * |
| | | * @param dataItem |
| | | * @return |
| | | */ |
| | | @GetMapping("/list") |
| | | private AjaxResult list(ItemizedEnergyAnalysisDTO dataItem) { |
| | | ItemizedEnergyAnalysisVO list = itemizedEnergyAnalysisService.getItemizedEnergyAnalysisService(dataItem); |
| | | return success(list); |
| | | } |
| | | } |