14 changed files with 240 additions and 22 deletions
@ -1,18 +0,0 @@ |
|||
alter table tag_customer add COLUMN SHOW_FLAG TINYINT(1) DEFAULT 1 comment '1:展示;0:隐藏;0302因烟台需求增加此列默认1' after USE_COUNT; |
|||
|
|||
CREATE TABLE `tag_scope` ( |
|||
`ID` varchar(64) NOT NULL COMMENT '主键(0302因烟台需求增加此表)', |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID(0302因烟台需求增加此表)', |
|||
`TAG_ID` varchar(64) NOT NULL COMMENT '标签ID', |
|||
`AGENCY_ID` varchar(64) NOT NULL COMMENT '应用范围,这里只能是社区id', |
|||
`ORG_ID_PATH` varchar(255) NOT NULL COMMENT 'agency_id全路径,包含自身', |
|||
`DEL_FLAG` int(11) NOT NULL DEFAULT '0' COMMENT '删除标识 0.未删除 1.已删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(32) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) |
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='标签应用范围表'; |
|||
|
|||
|
@ -0,0 +1,58 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotNull; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author yzm |
|||
* @Date 2023/3/6 9:58 |
|||
*/ |
|||
@Data |
|||
public class BadgeAuditPageFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -6908967598027076330L; |
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
public interface AddUserShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
@NotBlank(message = "customerId不能为空", groups = AddUserInternalGroup.class) |
|||
private String customerId; |
|||
/** |
|||
* 页码 |
|||
*/ |
|||
@NotNull(message = "pageNo不能为空", groups = AddUserInternalGroup.class) |
|||
private Integer pageNo; |
|||
/** |
|||
* 每页显示数量 |
|||
*/ |
|||
@NotNull(message = "pageSize不能为空", groups = AddUserInternalGroup.class) |
|||
private Integer pageSize; |
|||
/** |
|||
* 当前用户所属的组织id |
|||
*/ |
|||
@NotBlank(message = "agencyId不能为空", groups = AddUserInternalGroup.class) |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 网格Id |
|||
*/ |
|||
private String gridId; |
|||
/** |
|||
* 徽章id |
|||
*/ |
|||
private String badgeId; |
|||
/** |
|||
* 审核状态 approved:审核通过,rejected:审核驳回;auditing:审核中 |
|||
*/ |
|||
private String auditStatus; |
|||
|
|||
|
|||
} |
|||
|
Loading…
Reference in new issue