|
@@ -30,7 +30,7 @@ public interface UserDao extends BaseMapper<UserEntity> {
|
|
|
@Result(column = "org_name", property = "org.orgName"),
|
|
|
})
|
|
|
@Select("select a.user_id as user_id, a.login_name as login_id, a.user_name as user_name, a.phone as mobile, a.email as email,"
|
|
|
- + " a.city_id as org_id, c.city_name_zh as org_name, a.district"
|
|
|
+ + " a.city_id as org_id, c.city_name_zh as org_name, a.district as area"
|
|
|
+ " from sqmdb_rpt.acl_user a, sqmdb_rpt.acl_city c"
|
|
|
+ " where a.city_id = c.city_id")
|
|
|
List<FlowUserVo> findToPage();
|
|
@@ -38,19 +38,12 @@ public interface UserDao extends BaseMapper<UserEntity> {
|
|
|
|
|
|
* 查询登录用户信息
|
|
|
*/
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
@Results({
|
|
|
@Result(column = "org_id", property = "org.orgId"),
|
|
|
@Result(column = "org_name", property = "org.orgName"),
|
|
|
})
|
|
|
@Select("select a.user_id as user_id, a.login_name as login_id, a.user_name as user_name, a.phone as mobile, a.email as email,"
|
|
|
- + " a.city_id as org_id, c.city_name_zh as org_name, a.district"
|
|
|
+ + " a.city_id as org_id, c.city_name_zh as org_name, a.district as area"
|
|
|
+ " from sqmdb_rpt.acl_user a, sqmdb_rpt.acl_city c"
|
|
|
+ " where a.city_id = c.city_id and login_name=#{loginId}")
|
|
|
FlowUserVo getFlowUserVoByLoginId(String loginId);
|
|
@@ -63,7 +56,7 @@ public interface UserDao extends BaseMapper<UserEntity> {
|
|
|
@Result(column = "org_name", property = "org.orgName"),
|
|
|
})
|
|
|
@Select("select a.user_id as user_id, a.login_name as login_id, a.user_name as user_name, a.phone as mobile, a.email as email,"
|
|
|
- + " a.city_id as org_id, c.city_name_zh as org_name, a.district"
|
|
|
+ + " a.city_id as org_id, c.city_name_zh as org_name, a.district as area"
|
|
|
+ " from sqmdb_rpt.acl_user a, sqmdb_rpt.acl_city c"
|
|
|
+ " where a.city_id = c.city_id and user_id=#{userId}")
|
|
|
FlowUserVo getFlowUserVoByUserId(Integer userId);
|
|
@@ -83,7 +76,7 @@ public interface UserDao extends BaseMapper<UserEntity> {
|
|
|
})
|
|
|
@Select("<script>"
|
|
|
+ "select a.user_id as user_id, a.login_name as login_id, a.user_name as user_name, a.phone as mobile, a.email as email,"
|
|
|
- + " a.city_id as org_id, c.city_name_zh as org_name, a.district"
|
|
|
+ + " a.city_id as org_id, c.city_name_zh as org_name, a.district as area"
|
|
|
+ " from sqmdb_rpt.acl_user a, sqmdb_rpt.acl_city c, sqmdb_rpt.acl_user_role ur "
|
|
|
+ " where a.user_id = ur.user_id and a.city_id = c.city_id"
|
|
|
+ "<if test=\"loginId != null and loginId !=''\">"
|