package com.dingzhuo.energy.project.govReports.mapper; import com.dingzhuo.energy.project.govReports.domain.DataItemPub; import com.dingzhuo.energy.project.govReports.domain.DataItemPubVo; import org.apache.ibatis.annotations.Param; import java.util.List; /** * GovReportsMapper接口 * * @author zy * @date 2022-04-06 */ public interface DataItemPubMapper { /** * 查询GovReports * * @param indexId GovReportsID * @return GovReports */ DataItemPub selectDataItemPubById(String indexId); /** * 查询GovReports列表 * * @param dataItemPub GovReports * @return GovReports集合 */ List selectDataItemPubList(DataItemPub dataItemPub); /** * 新增GovReports * * @param dataItemPub GovReports * @return 结果 */ int insertDataItemPub(DataItemPub dataItemPub); /** * 修改GovReports * * @param dataItemPub GovReports * @return 结果 */ int updateDataItemPub(DataItemPub dataItemPub); /** * 删除GovReports * * @param indexId GovReportsID * @return 结果 */ int deleteDataItemPubById(String indexId); /** * 批量删除GovReports * * @param indexIds 需要删除的数据ID * @return 结果 */ int deleteDataItemPubByIds(String[] indexIds); /** * 获取需要处理的数据 * * @param dateType 日期类型 DAY 天 MONTH 月 * @param timeCode 时间编码 **/ List getReportData(@Param("timeCode") String timeCode, @Param("dateType") String dateType); /** * 插入或者更新数据 **/ int insertOrUpdateDateItemPub(@Param("list") List list); /** * 查询GovReports的显示信息列表 * * @param dataItemPub GovReports * @return GovReports集合 */ List selectDataItemPubInfoList(DataItemPub dataItemPub); }