forked from integrated_whb/integrated_whb
补充替换CORPINFO_ID通用标识
parent
b1b9f69dd6
commit
e7f5125534
|
@ -240,7 +240,7 @@ public class UsersController extends BaseController {
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
//page.setPd(pd);
|
//page.setPd(pd);
|
||||||
List<PageData> userList = usersService.userSelectPersonTypelist(pd);//列出用户列表
|
List<PageData> userList = usersService.userSelectPersonTypelist(pd);//列出用户列表
|
||||||
map.put("userList", userList);
|
map.put("userList", userList);
|
||||||
|
@ -3031,7 +3031,7 @@ public class UsersController extends BaseController {
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
//page.setPd(pd);
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
List<PageData> userList = usersService.getPractitionerSelectList(pd);//列出用户列表
|
List<PageData> userList = usersService.getPractitionerSelectList(pd);//列出用户列表
|
||||||
map.put("userList", userList);
|
map.put("userList", userList);
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
|
|
|
@ -272,8 +272,6 @@ public interface UsersMapper {
|
||||||
|
|
||||||
List<PageData> studentlist(PageData pd);
|
List<PageData> studentlist(PageData pd);
|
||||||
|
|
||||||
List<PageData> userSelectPersonTypelistPage(PageData pd);
|
|
||||||
|
|
||||||
/**从业人员列表 //userlistPage(Page page)
|
/**从业人员列表 //userlistPage(Page page)
|
||||||
* @param page
|
* @param page
|
||||||
* @return
|
* @return
|
||||||
|
|
|
@ -318,7 +318,6 @@ public interface UsersService {
|
||||||
|
|
||||||
void setState(PageData request) throws Exception;
|
void setState(PageData request) throws Exception;
|
||||||
|
|
||||||
List<PageData> userSelectPersonTypelistPage(PageData pageData);
|
|
||||||
|
|
||||||
List<PageData> studentlist(PageData pd) throws Exception;
|
List<PageData> studentlist(PageData pd) throws Exception;
|
||||||
|
|
||||||
|
|
|
@ -668,11 +668,6 @@ public class UsersServiceImpl implements UsersService {
|
||||||
usersMapper.editUser(request);
|
usersMapper.editUser(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<PageData> userSelectPersonTypelistPage(PageData pd) {
|
|
||||||
return usersMapper.userSelectPersonTypelistPage(pd);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取可以培训的人员列表
|
* 获取可以培训的人员列表
|
||||||
*
|
*
|
||||||
|
|
|
@ -1648,30 +1648,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join sys_dictionaries d on r.PERSONNEL_TYPE = d.DICTIONARIES_ID
|
left join sys_dictionaries d on r.PERSONNEL_TYPE = d.DICTIONARIES_ID
|
||||||
where
|
where
|
||||||
u.ISDELETE = 0
|
u.ISDELETE = 0
|
||||||
and d.DICTIONARIES_ID = '5ae743c76dbf496eb1b5101075b073d5'
|
<if test="CORPINFO_ID != null and CORPINFO_ID != ''"><!-- 关键词检索 -->
|
||||||
</select>
|
AND u.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
|
</if>
|
||||||
<!-- 用户类型用户列表 -->
|
|
||||||
<select id="userSelectPersonTypelistPage" parameterType="pd" resultType="pd" >
|
|
||||||
select
|
|
||||||
u.USER_ID,
|
|
||||||
u.USERNAME,
|
|
||||||
u.PASSWORD,
|
|
||||||
u.LAST_LOGIN,
|
|
||||||
u.NAME,
|
|
||||||
u.SEX,
|
|
||||||
u.IP,
|
|
||||||
u.EMAIL,
|
|
||||||
u.NUMBER,
|
|
||||||
u.PHONE,
|
|
||||||
u.ISMAIN,
|
|
||||||
u.PUSH_CID,
|
|
||||||
r.PERSONNEL_TYPE
|
|
||||||
from <include refid="tableName"></include> u
|
|
||||||
left join sys_userinfo r on u.USER_ID = r.USER_ID
|
|
||||||
left join sys_dictionaries d on r.PERSONNEL_TYPE = d.DICTIONARIES_ID
|
|
||||||
where
|
|
||||||
u.ISDELETE = 0
|
|
||||||
and d.DICTIONARIES_ID = '5ae743c76dbf496eb1b5101075b073d5'
|
and d.DICTIONARIES_ID = '5ae743c76dbf496eb1b5101075b073d5'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -1863,7 +1842,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="PARENT_ID != null and PARENT_ID != ''"> <!-- 从业类别 -->
|
<if test="PARENT_ID != null and PARENT_ID != ''"> <!-- 从业类别 -->
|
||||||
and d.PARENT_ID=#{PARENT_ID}
|
and d.PARENT_ID=#{PARENT_ID}
|
||||||
</if>
|
</if>
|
||||||
where u.ISDELETE = 0 and u.ISMAIN = '0'
|
where u.ISDELETE = 0 and u.ISMAIN = '0' and u.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
and d.BIANMA LIKE CONCAT(CONCAT('%', #{BIANMA}),'%')
|
and d.BIANMA LIKE CONCAT(CONCAT('%', #{BIANMA}),'%')
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue