刘光辉
15 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package jnpf.limsMapper;
 
import jnpf.base.mapper.SuperMapper;
import jnpf.limsEntity.LimsUserSignPasswordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
import java.util.Map;
 
@Mapper
public interface LimsUserSignPasswordMapper extends SuperMapper<LimsUserSignPasswordEntity> {
 
    /**
     * 扫描 base_user 中所有未软删用户的最小信息集,
     * 用于 init-all 批量初始化签名密码。
     *
     * <p>不直接绑 UserEntity 是因为 base_user 由 jnpf 框架管理,本扩展模块不持有其 entity。
     * 返回 Map:{ "id": f_id, "account": f_account, "tenantId": f_tenant_id }
     */
    @Select("SELECT f_id AS id, f_account AS account, f_tenant_id AS tenantId " +
            "FROM base_user " +
            "WHERE f_delete_mark IS NULL OR f_delete_mark <> 1")
    List<Map<String, Object>> selectAllActiveBaseUsers();
}