23 changed files with 1392 additions and 11 deletions
			
			
		@ -0,0 +1,126 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dto.stats.topic; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.Date; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题机关日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class FactTopicHotdiscussAgencyDailyDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 唯一标识 | 
				
			|||
     */ | 
				
			|||
	private String id; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户ID | 
				
			|||
     */ | 
				
			|||
	private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 机构ID 关联机关dm表 | 
				
			|||
     */ | 
				
			|||
	private String agencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 父级机关ID | 
				
			|||
     */ | 
				
			|||
	private String pid; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 统计日期 关联日期dm表 | 
				
			|||
     */ | 
				
			|||
	private String dateId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 周ID | 
				
			|||
     */ | 
				
			|||
	private String weekId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 月ID | 
				
			|||
     */ | 
				
			|||
	private String monthId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 季度ID | 
				
			|||
     */ | 
				
			|||
	private String quarterId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 年ID | 
				
			|||
     */ | 
				
			|||
	private String yearId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题总数 | 
				
			|||
     */ | 
				
			|||
	private Integer topicTotal; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题状态【热议中:hot_discuss】 | 
				
			|||
     */ | 
				
			|||
	private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 状态话题数量 | 
				
			|||
     */ | 
				
			|||
	private Integer topicCount; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 删除标识 | 
				
			|||
     */ | 
				
			|||
	private String delFlag; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 乐观锁 | 
				
			|||
     */ | 
				
			|||
	private Integer revision; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 创建人 | 
				
			|||
     */ | 
				
			|||
	private String createdBy; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 创建时间 | 
				
			|||
     */ | 
				
			|||
	private Date createdTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 更新人 | 
				
			|||
     */ | 
				
			|||
	private String updatedBy; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 更新时间 | 
				
			|||
     */ | 
				
			|||
	private Date updatedTime; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,126 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dto.stats.topic; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.Date; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题网格日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class FactTopicHotdiscussGridDailyDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 唯一标识 | 
				
			|||
     */ | 
				
			|||
	private String id; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户ID | 
				
			|||
     */ | 
				
			|||
	private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 机关ID | 
				
			|||
     */ | 
				
			|||
	private String agencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格ID 关联网格dm表 | 
				
			|||
     */ | 
				
			|||
	private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 日期ID | 
				
			|||
     */ | 
				
			|||
	private String dateId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 周ID | 
				
			|||
     */ | 
				
			|||
	private String weekId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 月ID | 
				
			|||
     */ | 
				
			|||
	private String monthId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 季度ID | 
				
			|||
     */ | 
				
			|||
	private String quarterId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 年ID | 
				
			|||
     */ | 
				
			|||
	private String yearId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题总数 | 
				
			|||
     */ | 
				
			|||
	private Integer topicTotal; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题状态【热议中:hot_discuss】 | 
				
			|||
     */ | 
				
			|||
	private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 状态话题数量 | 
				
			|||
     */ | 
				
			|||
	private Integer topicCount; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 删除标识 | 
				
			|||
     */ | 
				
			|||
	private String delFlag; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 乐观锁 | 
				
			|||
     */ | 
				
			|||
	private Integer revision; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 创建人 | 
				
			|||
     */ | 
				
			|||
	private String createdBy; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 创建时间 | 
				
			|||
     */ | 
				
			|||
	private Date createdTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 更新人 | 
				
			|||
     */ | 
				
			|||
	private String updatedBy; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 更新时间 | 
				
			|||
     */ | 
				
			|||
	private Date updatedTime; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,24 @@ | 
				
			|||
package com.epmet.dto.stats.topic.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author sun | 
				
			|||
 * 热议中话题-网格、机关日统计-接口入参 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class TopicStatusFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -4527492073390715391L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户Id | 
				
			|||
     */ | 
				
			|||
    private String customerId = ""; | 
				
			|||
    /** | 
				
			|||
     * 需要执行的日期(格式:yyyyMMdd) | 
				
			|||
     */ | 
				
			|||
    private String dateId = ""; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,39 @@ | 
				
			|||
package com.epmet.dto.stats.topic.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author sun | 
				
			|||
 * 热议中话题-网格、机关日统计-接口返参 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class TopicListResultDTO implements Serializable { | 
				
			|||
    private static final long serialVersionUID = -7427128491727512781L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户Id | 
				
			|||
     */ | 
				
			|||
    private String customerId; | 
				
			|||
    /** | 
				
			|||
     * 话题Id | 
				
			|||
     */ | 
				
			|||
    private String topicId; | 
				
			|||
    /** | 
				
			|||
     * 网格id | 
				
			|||
     */ | 
				
			|||
    private String gridId; | 
				
			|||
    /** | 
				
			|||
     * 小组Id | 
				
			|||
     */ | 
				
			|||
    private String groupId; | 
				
			|||
    /** | 
				
			|||
     * 话题状态(讨论中 - discussing、 已屏蔽 - hidden、  已关闭 - closed) | 
				
			|||
     */ | 
				
			|||
    private String status; | 
				
			|||
    /** | 
				
			|||
     * 是否转为议题,0:false,1:true | 
				
			|||
     * */ | 
				
			|||
    private Boolean shiftIssue; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,38 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dao.stats; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.dao.BaseDao; | 
				
			|||
import com.epmet.entity.stats.FactTopicHotdiscussAgencyDailyEntity; | 
				
			|||
import org.apache.ibatis.annotations.Mapper; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题机关日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Mapper | 
				
			|||
public interface FactTopicHotdiscussAgencyDailyDao extends BaseDao<FactTopicHotdiscussAgencyDailyEntity> { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Author sun | 
				
			|||
     * @Description 根据客户Id、日维度Id批量物理删除一下可能存在的历史数据 | 
				
			|||
     **/ | 
				
			|||
    void delTopicAgency(FactTopicHotdiscussAgencyDailyEntity delEntity); | 
				
			|||
} | 
				
			|||
@ -0,0 +1,38 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.dao.stats; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.dao.BaseDao; | 
				
			|||
import com.epmet.entity.stats.FactTopicHotdiscussGridDailyEntity; | 
				
			|||
import org.apache.ibatis.annotations.Mapper; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题网格日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Mapper | 
				
			|||
public interface FactTopicHotdiscussGridDailyDao extends BaseDao<FactTopicHotdiscussGridDailyEntity> { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Author sun | 
				
			|||
     * @Description 根据客户Id、日维度Id批量物理删除一下可能存在的历史数据 | 
				
			|||
     **/ | 
				
			|||
    void delTopicGrid(FactTopicHotdiscussGridDailyEntity delEntity); | 
				
			|||
} | 
				
			|||
@ -0,0 +1,96 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.entity.stats; | 
				
			|||
 | 
				
			|||
import com.baomidou.mybatisplus.annotation.TableName; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; | 
				
			|||
import lombok.Data; | 
				
			|||
import lombok.EqualsAndHashCode; | 
				
			|||
 | 
				
			|||
import java.util.Date; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题机关日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
@EqualsAndHashCode(callSuper=false) | 
				
			|||
@TableName("fact_topic_hotdiscuss_agency_daily") | 
				
			|||
public class FactTopicHotdiscussAgencyDailyEntity extends BaseEpmetEntity { | 
				
			|||
 | 
				
			|||
	private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户ID | 
				
			|||
     */ | 
				
			|||
	private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 机构ID 关联机关dm表 | 
				
			|||
     */ | 
				
			|||
	private String agencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 父级机关ID | 
				
			|||
     */ | 
				
			|||
	private String pid; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 统计日期 关联日期dm表 | 
				
			|||
     */ | 
				
			|||
	private String dateId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 周ID | 
				
			|||
     */ | 
				
			|||
	private String weekId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 月ID | 
				
			|||
     */ | 
				
			|||
	private String monthId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 季度ID | 
				
			|||
     */ | 
				
			|||
	private String quarterId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 年ID | 
				
			|||
     */ | 
				
			|||
	private String yearId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题总数 | 
				
			|||
     */ | 
				
			|||
	private Integer topicTotal; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题状态【热议中:hot_discuss】 | 
				
			|||
     */ | 
				
			|||
	private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 状态话题数量 | 
				
			|||
     */ | 
				
			|||
	private Integer topicCount; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,96 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.entity.stats; | 
				
			|||
 | 
				
			|||
import com.baomidou.mybatisplus.annotation.TableName; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; | 
				
			|||
import lombok.Data; | 
				
			|||
import lombok.EqualsAndHashCode; | 
				
			|||
 | 
				
			|||
import java.util.Date; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题网格日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
@EqualsAndHashCode(callSuper=false) | 
				
			|||
@TableName("fact_topic_hotdiscuss_grid_daily") | 
				
			|||
public class FactTopicHotdiscussGridDailyEntity extends BaseEpmetEntity { | 
				
			|||
 | 
				
			|||
	private static final long serialVersionUID = 1L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户ID | 
				
			|||
     */ | 
				
			|||
	private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 机关ID | 
				
			|||
     */ | 
				
			|||
	private String agencyId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 网格ID 关联网格dm表 | 
				
			|||
     */ | 
				
			|||
	private String gridId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 日期ID | 
				
			|||
     */ | 
				
			|||
	private String dateId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 周ID | 
				
			|||
     */ | 
				
			|||
	private String weekId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 月ID | 
				
			|||
     */ | 
				
			|||
	private String monthId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 季度ID | 
				
			|||
     */ | 
				
			|||
	private String quarterId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 年ID | 
				
			|||
     */ | 
				
			|||
	private String yearId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题总数 | 
				
			|||
     */ | 
				
			|||
	private Integer topicTotal; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 话题状态【热议中:hot_discuss】 | 
				
			|||
     */ | 
				
			|||
	private String status; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 状态话题数量 | 
				
			|||
     */ | 
				
			|||
	private Integer topicCount; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,101 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.service.stats; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.service.BaseService; | 
				
			|||
import com.epmet.commons.tools.page.PageData; | 
				
			|||
import com.epmet.dto.stats.topic.FactTopicHotdiscussAgencyDailyDTO; | 
				
			|||
import com.epmet.entity.stats.FactTopicHotdiscussAgencyDailyEntity; | 
				
			|||
 | 
				
			|||
import java.util.List; | 
				
			|||
import java.util.Map; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题机关日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
public interface FactTopicHotdiscussAgencyDailyService extends BaseService<FactTopicHotdiscussAgencyDailyEntity> { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认分页 | 
				
			|||
     * | 
				
			|||
     * @param params | 
				
			|||
     * @return PageData<FactTopicHotdiscussAgencyDailyDTO> | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    PageData<FactTopicHotdiscussAgencyDailyDTO> page(Map<String, Object> params); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认查询 | 
				
			|||
     * | 
				
			|||
     * @param params | 
				
			|||
     * @return java.util.List<FactTopicHotdiscussAgencyDailyDTO> | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    List<FactTopicHotdiscussAgencyDailyDTO> list(Map<String, Object> params); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 单条查询 | 
				
			|||
     * | 
				
			|||
     * @param id | 
				
			|||
     * @return FactTopicHotdiscussAgencyDailyDTO | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    FactTopicHotdiscussAgencyDailyDTO get(String id); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认保存 | 
				
			|||
     * | 
				
			|||
     * @param dto | 
				
			|||
     * @return void | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    void save(FactTopicHotdiscussAgencyDailyDTO dto); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认更新 | 
				
			|||
     * | 
				
			|||
     * @param dto | 
				
			|||
     * @return void | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    void update(FactTopicHotdiscussAgencyDailyDTO dto); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 批量删除 | 
				
			|||
     * | 
				
			|||
     * @param ids | 
				
			|||
     * @return void | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    void delete(String[] ids); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Author sun | 
				
			|||
     * @Description 根据客户Id、日维度Id批量物理删除一下可能存在的历史数据 | 
				
			|||
     **/ | 
				
			|||
    void delTopicAgency(FactTopicHotdiscussAgencyDailyEntity delEntity); | 
				
			|||
} | 
				
			|||
@ -0,0 +1,101 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.service.stats; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.mybatis.service.BaseService; | 
				
			|||
import com.epmet.commons.tools.page.PageData; | 
				
			|||
import com.epmet.dto.stats.topic.FactTopicHotdiscussGridDailyDTO; | 
				
			|||
import com.epmet.entity.stats.FactTopicHotdiscussGridDailyEntity; | 
				
			|||
 | 
				
			|||
import java.util.List; | 
				
			|||
import java.util.Map; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题网格日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
public interface FactTopicHotdiscussGridDailyService extends BaseService<FactTopicHotdiscussGridDailyEntity> { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认分页 | 
				
			|||
     * | 
				
			|||
     * @param params | 
				
			|||
     * @return PageData<FactTopicHotdiscussGridDailyDTO> | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    PageData<FactTopicHotdiscussGridDailyDTO> page(Map<String, Object> params); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认查询 | 
				
			|||
     * | 
				
			|||
     * @param params | 
				
			|||
     * @return java.util.List<FactTopicHotdiscussGridDailyDTO> | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    List<FactTopicHotdiscussGridDailyDTO> list(Map<String, Object> params); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 单条查询 | 
				
			|||
     * | 
				
			|||
     * @param id | 
				
			|||
     * @return FactTopicHotdiscussGridDailyDTO | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    FactTopicHotdiscussGridDailyDTO get(String id); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认保存 | 
				
			|||
     * | 
				
			|||
     * @param dto | 
				
			|||
     * @return void | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    void save(FactTopicHotdiscussGridDailyDTO dto); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 默认更新 | 
				
			|||
     * | 
				
			|||
     * @param dto | 
				
			|||
     * @return void | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    void update(FactTopicHotdiscussGridDailyDTO dto); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 批量删除 | 
				
			|||
     * | 
				
			|||
     * @param ids | 
				
			|||
     * @return void | 
				
			|||
     * @author generator | 
				
			|||
     * @date 2021-05-17 | 
				
			|||
     */ | 
				
			|||
    void delete(String[] ids); | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Author sun | 
				
			|||
     * @Description 根据客户Id、日维度Id批量物理删除一下可能存在的历史数据 | 
				
			|||
     **/ | 
				
			|||
    void delTopicGrid(FactTopicHotdiscussGridDailyEntity delEntity); | 
				
			|||
} | 
				
			|||
@ -0,0 +1,109 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.service.stats.impl; | 
				
			|||
 | 
				
			|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
				
			|||
import com.baomidou.mybatisplus.core.metadata.IPage; | 
				
			|||
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; | 
				
			|||
import com.epmet.commons.tools.constant.FieldConstant; | 
				
			|||
import com.epmet.commons.tools.page.PageData; | 
				
			|||
import com.epmet.commons.tools.utils.ConvertUtils; | 
				
			|||
import com.epmet.dao.stats.FactTopicHotdiscussAgencyDailyDao; | 
				
			|||
import com.epmet.dto.stats.topic.FactTopicHotdiscussAgencyDailyDTO; | 
				
			|||
import com.epmet.entity.stats.FactTopicHotdiscussAgencyDailyEntity; | 
				
			|||
import com.epmet.service.stats.FactTopicHotdiscussAgencyDailyService; | 
				
			|||
import org.apache.commons.lang3.StringUtils; | 
				
			|||
import org.springframework.stereotype.Service; | 
				
			|||
import org.springframework.transaction.annotation.Transactional; | 
				
			|||
 | 
				
			|||
import java.util.Arrays; | 
				
			|||
import java.util.List; | 
				
			|||
import java.util.Map; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题机关日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Service | 
				
			|||
public class FactTopicHotdiscussAgencyDailyServiceImpl extends BaseServiceImpl<FactTopicHotdiscussAgencyDailyDao, FactTopicHotdiscussAgencyDailyEntity> implements FactTopicHotdiscussAgencyDailyService { | 
				
			|||
 | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    public PageData<FactTopicHotdiscussAgencyDailyDTO> page(Map<String, Object> params) { | 
				
			|||
        IPage<FactTopicHotdiscussAgencyDailyEntity> page = baseDao.selectPage( | 
				
			|||
                getPage(params, FieldConstant.CREATED_TIME, false), | 
				
			|||
                getWrapper(params) | 
				
			|||
        ); | 
				
			|||
        return getPageData(page, FactTopicHotdiscussAgencyDailyDTO.class); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    public List<FactTopicHotdiscussAgencyDailyDTO> list(Map<String, Object> params) { | 
				
			|||
        List<FactTopicHotdiscussAgencyDailyEntity> entityList = baseDao.selectList(getWrapper(params)); | 
				
			|||
 | 
				
			|||
        return ConvertUtils.sourceToTarget(entityList, FactTopicHotdiscussAgencyDailyDTO.class); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    private QueryWrapper<FactTopicHotdiscussAgencyDailyEntity> getWrapper(Map<String, Object> params){ | 
				
			|||
        String id = (String)params.get(FieldConstant.ID_HUMP); | 
				
			|||
 | 
				
			|||
        QueryWrapper<FactTopicHotdiscussAgencyDailyEntity> wrapper = new QueryWrapper<>(); | 
				
			|||
        wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); | 
				
			|||
 | 
				
			|||
        return wrapper; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    public FactTopicHotdiscussAgencyDailyDTO get(String id) { | 
				
			|||
        FactTopicHotdiscussAgencyDailyEntity entity = baseDao.selectById(id); | 
				
			|||
        return ConvertUtils.sourceToTarget(entity, FactTopicHotdiscussAgencyDailyDTO.class); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    @Transactional(rollbackFor = Exception.class) | 
				
			|||
    public void save(FactTopicHotdiscussAgencyDailyDTO dto) { | 
				
			|||
        FactTopicHotdiscussAgencyDailyEntity entity = ConvertUtils.sourceToTarget(dto, FactTopicHotdiscussAgencyDailyEntity.class); | 
				
			|||
        insert(entity); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    @Transactional(rollbackFor = Exception.class) | 
				
			|||
    public void update(FactTopicHotdiscussAgencyDailyDTO dto) { | 
				
			|||
        FactTopicHotdiscussAgencyDailyEntity entity = ConvertUtils.sourceToTarget(dto, FactTopicHotdiscussAgencyDailyEntity.class); | 
				
			|||
        updateById(entity); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    @Transactional(rollbackFor = Exception.class) | 
				
			|||
    public void delete(String[] ids) { | 
				
			|||
        // 逻辑删除(@TableLogic 注解)
 | 
				
			|||
        baseDao.deleteBatchIds(Arrays.asList(ids)); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Author sun | 
				
			|||
     * @Description 根据客户Id、日维度Id批量物理删除一下可能存在的历史数据 | 
				
			|||
     **/ | 
				
			|||
    @Override | 
				
			|||
    public void delTopicAgency(FactTopicHotdiscussAgencyDailyEntity delEntity) { | 
				
			|||
        baseDao.delTopicAgency(delEntity); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,109 @@ | 
				
			|||
/** | 
				
			|||
 * Copyright 2018 人人开源 https://www.renren.io
 | 
				
			|||
 * <p> | 
				
			|||
 * This program is free software: you can redistribute it and/or modify | 
				
			|||
 * it under the terms of the GNU General Public License as published by | 
				
			|||
 * the Free Software Foundation, either version 3 of the License, or | 
				
			|||
 * (at your option) any later version. | 
				
			|||
 * <p> | 
				
			|||
 * This program is distributed in the hope that it will be useful, | 
				
			|||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
				
			|||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
				
			|||
 * GNU General Public License for more details. | 
				
			|||
 * <p> | 
				
			|||
 * You should have received a copy of the GNU General Public License | 
				
			|||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			|||
 */ | 
				
			|||
 | 
				
			|||
package com.epmet.service.stats.impl; | 
				
			|||
 | 
				
			|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
				
			|||
import com.baomidou.mybatisplus.core.metadata.IPage; | 
				
			|||
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; | 
				
			|||
import com.epmet.commons.tools.constant.FieldConstant; | 
				
			|||
import com.epmet.commons.tools.page.PageData; | 
				
			|||
import com.epmet.commons.tools.utils.ConvertUtils; | 
				
			|||
import com.epmet.dao.stats.FactTopicHotdiscussGridDailyDao; | 
				
			|||
import com.epmet.dto.stats.topic.FactTopicHotdiscussGridDailyDTO; | 
				
			|||
import com.epmet.entity.stats.FactTopicHotdiscussGridDailyEntity; | 
				
			|||
import com.epmet.service.stats.FactTopicHotdiscussGridDailyService; | 
				
			|||
import org.apache.commons.lang3.StringUtils; | 
				
			|||
import org.springframework.stereotype.Service; | 
				
			|||
import org.springframework.transaction.annotation.Transactional; | 
				
			|||
 | 
				
			|||
import java.util.Arrays; | 
				
			|||
import java.util.List; | 
				
			|||
import java.util.Map; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * 热议中话题网格日统计表【热议中指的没有被关闭、屏蔽、转议题的话题】 | 
				
			|||
 * | 
				
			|||
 * @author generator generator@elink-cn.com | 
				
			|||
 * @since v1.0.0 2021-05-17 | 
				
			|||
 */ | 
				
			|||
@Service | 
				
			|||
public class FactTopicHotdiscussGridDailyServiceImpl extends BaseServiceImpl<FactTopicHotdiscussGridDailyDao, FactTopicHotdiscussGridDailyEntity> implements FactTopicHotdiscussGridDailyService { | 
				
			|||
 | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    public PageData<FactTopicHotdiscussGridDailyDTO> page(Map<String, Object> params) { | 
				
			|||
        IPage<FactTopicHotdiscussGridDailyEntity> page = baseDao.selectPage( | 
				
			|||
                getPage(params, FieldConstant.CREATED_TIME, false), | 
				
			|||
                getWrapper(params) | 
				
			|||
        ); | 
				
			|||
        return getPageData(page, FactTopicHotdiscussGridDailyDTO.class); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    public List<FactTopicHotdiscussGridDailyDTO> list(Map<String, Object> params) { | 
				
			|||
        List<FactTopicHotdiscussGridDailyEntity> entityList = baseDao.selectList(getWrapper(params)); | 
				
			|||
 | 
				
			|||
        return ConvertUtils.sourceToTarget(entityList, FactTopicHotdiscussGridDailyDTO.class); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    private QueryWrapper<FactTopicHotdiscussGridDailyEntity> getWrapper(Map<String, Object> params){ | 
				
			|||
        String id = (String)params.get(FieldConstant.ID_HUMP); | 
				
			|||
 | 
				
			|||
        QueryWrapper<FactTopicHotdiscussGridDailyEntity> wrapper = new QueryWrapper<>(); | 
				
			|||
        wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); | 
				
			|||
 | 
				
			|||
        return wrapper; | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    public FactTopicHotdiscussGridDailyDTO get(String id) { | 
				
			|||
        FactTopicHotdiscussGridDailyEntity entity = baseDao.selectById(id); | 
				
			|||
        return ConvertUtils.sourceToTarget(entity, FactTopicHotdiscussGridDailyDTO.class); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    @Transactional(rollbackFor = Exception.class) | 
				
			|||
    public void save(FactTopicHotdiscussGridDailyDTO dto) { | 
				
			|||
        FactTopicHotdiscussGridDailyEntity entity = ConvertUtils.sourceToTarget(dto, FactTopicHotdiscussGridDailyEntity.class); | 
				
			|||
        insert(entity); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    @Transactional(rollbackFor = Exception.class) | 
				
			|||
    public void update(FactTopicHotdiscussGridDailyDTO dto) { | 
				
			|||
        FactTopicHotdiscussGridDailyEntity entity = ConvertUtils.sourceToTarget(dto, FactTopicHotdiscussGridDailyEntity.class); | 
				
			|||
        updateById(entity); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    @Override | 
				
			|||
    @Transactional(rollbackFor = Exception.class) | 
				
			|||
    public void delete(String[] ids) { | 
				
			|||
        // 逻辑删除(@TableLogic 注解)
 | 
				
			|||
        baseDao.deleteBatchIds(Arrays.asList(ids)); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * @Author sun | 
				
			|||
     * @Description 根据客户Id、日维度Id批量物理删除一下可能存在的历史数据 | 
				
			|||
     **/ | 
				
			|||
    @Override | 
				
			|||
    public void delTopicGrid(FactTopicHotdiscussGridDailyEntity delEntity) { | 
				
			|||
        baseDao.delTopicGrid(delEntity); | 
				
			|||
    } | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,15 @@ | 
				
			|||
<?xml version="1.0" encoding="UTF-8"?> | 
				
			|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 
				
			|||
 | 
				
			|||
<mapper namespace="com.epmet.dao.stats.FactTopicHotdiscussAgencyDailyDao"> | 
				
			|||
 | 
				
			|||
    <delete id="delTopicAgency"> | 
				
			|||
        DELETE | 
				
			|||
        FROM | 
				
			|||
            fact_topic_hotdiscuss_agency_daily | 
				
			|||
        WHERE | 
				
			|||
            customer_id = #{customerId} | 
				
			|||
        AND date_id = #{dateId} | 
				
			|||
    </delete> | 
				
			|||
 | 
				
			|||
</mapper> | 
				
			|||
@ -0,0 +1,15 @@ | 
				
			|||
<?xml version="1.0" encoding="UTF-8"?> | 
				
			|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | 
				
			|||
 | 
				
			|||
<mapper namespace="com.epmet.dao.stats.FactTopicHotdiscussGridDailyDao"> | 
				
			|||
 | 
				
			|||
    <delete id="delTopicGrid"> | 
				
			|||
        DELETE | 
				
			|||
        FROM | 
				
			|||
            fact_topic_hotdiscuss_grid_daily | 
				
			|||
        WHERE | 
				
			|||
            customer_id = #{customerId} | 
				
			|||
        AND date_id = #{dateId} | 
				
			|||
    </delete> | 
				
			|||
 | 
				
			|||
</mapper> | 
				
			|||
					Loading…
					
					
				
		Reference in new issue