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