| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.LoginUserInfo; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.PlatformWaterGas; |
| | | import com.doumee.dao.openapi.request.GasByMonthRequest; |
| | | import com.doumee.dao.openapi.request.WaterByMonthRequest; |
| | | import com.doumee.dao.openapi.response.GasByMonthResponse; |
| | | import com.doumee.dao.openapi.response.PlatformLastMonthListResponse; |
| | | import com.doumee.dao.openapi.response.WaterByMonthResponse; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æå°_ç¨æ°´ç¨æ°ä¿¡æ¯è®°å½è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2024/08/26 16:22 |
| | | */ |
| | | public interface PlatformWaterGasService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param platformWaterGas å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(PlatformWaterGas platformWaterGas); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param platformWaterGas å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(PlatformWaterGas platformWaterGas); |
| | | void deleteById(Integer id, LoginUserInfo user); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | void deleteByIdInBatch(List<Integer> ids, LoginUserInfo user); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param platformWaterGas å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(PlatformWaterGas platformWaterGas); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param platformWaterGass å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<PlatformWaterGas> platformWaterGass); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return PlatformWaterGas |
| | | */ |
| | | PlatformWaterGas findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param platformWaterGas å®ä½å¯¹è±¡ |
| | | * @return PlatformWaterGas |
| | | */ |
| | | PlatformWaterGas findOne(PlatformWaterGas platformWaterGas); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param platformWaterGas å®ä½å¯¹è±¡ |
| | | * @return List<PlatformWaterGas> |
| | | */ |
| | | List<PlatformWaterGas> findList(PlatformWaterGas platformWaterGas); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<PlatformWaterGas> |
| | | */ |
| | | PageData<PlatformWaterGas> findPage(PageWrap<PlatformWaterGas> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param platformWaterGas å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(PlatformWaterGas platformWaterGas); |
| | | |
| | | WaterByMonthResponse waterDataByMonth(WaterByMonthRequest param); |
| | | |
| | | GasByMonthResponse gasDataByMonth(GasByMonthRequest param); |
| | | |
| | | List<PlatformLastMonthListResponse> getPlatformLastMonthListResponse(Integer type); |
| | | |
| | | String importBatch(MultipartFile file, LoginUserInfo loginUserInfo); |
| | | } |