user表:新增字段merchants
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -323,6 +323,8 @@
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
|
||||
@@ -155,6 +155,9 @@ public class User implements UserDetails {
|
||||
@ApiModelProperty("客户端ID")
|
||||
private String clientId;
|
||||
|
||||
@ApiModelProperty(value = "可管理的商户")
|
||||
private String merchants;
|
||||
|
||||
@ApiModelProperty(value = "商户ID")
|
||||
private Integer merchantId;
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
OR a.merchant_id = #{param.keywords}
|
||||
OR a.nickname LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.real_name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.phone = #{param.keywords}
|
||||
OR a.phone LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.email = #{param.keywords}
|
||||
)
|
||||
</if>
|
||||
|
||||
@@ -222,6 +222,10 @@ public class UserParam extends BaseParam {
|
||||
@TableField(exist = false)
|
||||
private String openId;
|
||||
|
||||
@ApiModelProperty(value = "可管理的商户")
|
||||
@QueryField(type = QueryType.LIKE)
|
||||
private String merchants;
|
||||
|
||||
@ApiModelProperty(value = "商户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer merchantId;
|
||||
|
||||
Reference in New Issue
Block a user