1
0

帐号状态(0正常 1停用)

This commit is contained in:
2025-07-18 10:36:02 +08:00
parent e321dcd652
commit 0fa0e4ab1b
2 changed files with 7 additions and 1 deletions

View File

@ -58,6 +58,12 @@ public class ConsumerVo extends TenantEntity {
@Schema(name = "是否启用") @Schema(name = "是否启用")
private Boolean enabled; private Boolean enabled;
/**
* 帐号状态0正常 1停用
*/
@Schema(name = "帐号状态0正常 1停用")
private String status;
@Schema(name = "是否为admin账号", hidden = true) @Schema(name = "是否为admin账号", hidden = true)
private Boolean isAdmin = false; private Boolean isAdmin = false;

View File

@ -94,7 +94,7 @@
<!-- 分页查询客户 --> <!-- 分页查询客户 -->
<select id="findCustomers" resultType="com.fuyuanshen.customer.domain.Customer"> <select id="findCustomers" resultType="com.fuyuanshen.customer.domain.Customer">
select select
u.user_id as customerId, u.nick_name , u.user_name, u.enabled, u.create_time u.user_id as customerId, u.nick_name , u.user_name, u.enabled, u.create_time,u.status
from sys_user u from sys_user u
<where> <where>
<if test="criteria.ids != null and !criteria.ids.isEmpty()"> <if test="criteria.ids != null and !criteria.ids.isEmpty()">