forked from luyan/epmet-cloud-lingshan
15 changed files with 391 additions and 33 deletions
@ -0,0 +1,38 @@ |
|||
package com.epmet.resi.group.dto.member.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 楼院小组--删除组成员 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class RemoveMemberFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 1626650057895049665L; |
|||
|
|||
/** |
|||
* 群组成员关系表 |
|||
*/ |
|||
@NotBlank(message = "成员Id不能为空") |
|||
private String memerId; |
|||
|
|||
/** |
|||
* 显示是否要屏蔽该成员的全部话题,1是0否 |
|||
*/ |
|||
@NotBlank(message = "是否屏蔽成员话题不能为空") |
|||
private String hideFlag; |
|||
|
|||
/** |
|||
* 当前登录用户id |
|||
*/ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 所属app |
|||
*/ |
|||
private String app; |
|||
|
|||
} |
@ -0,0 +1,31 @@ |
|||
<?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.modules.group.dao.ResiGroupStatisticalDao"> |
|||
|
|||
<sql id="sql"> |
|||
rgs.id AS "id", |
|||
rgs.resi_group_id AS "resiGroupId", |
|||
rgs.total_members AS "totalMembers", |
|||
rgs.total_topics AS "totalTopics", |
|||
rgs.total_issues AS "totalIssues", |
|||
rgs.total_party_members AS "totalPartyMembers", |
|||
rgs.total_earnest_memebers AS "totalEarnestMemebers", |
|||
rgs.total_normal_memebers AS "totalNormalMemebers", |
|||
rgs.del_flag AS "delFlag", |
|||
rgs.revision AS "revision", |
|||
rgs.created_by AS "createdBy", |
|||
rgs.created_time AS "createdTime", |
|||
rgs.updated_by AS "updatedBy", |
|||
rgs.updated_time AS "updatedTime" |
|||
</sql> |
|||
|
|||
<select id="selectByResiGroupId" resultType="com.epmet.modules.group.entity.ResiGroupStatisticalEntity"> |
|||
SELECT |
|||
<include refid="sql"></include> |
|||
FROM resi_group_statistical rgs |
|||
WHERE rgs.del_flag = '0' |
|||
AND rgs.resi_group_id = #{resiGroupId} |
|||
</select> |
|||
|
|||
</mapper> |
Loading…
Reference in new issue