mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
bug修改
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.cf.imes.module.system.dal.mysql.user.AdminUserMapper">
|
||||
|
||||
<select id="selectListByTerms" resultType="com.cf.imes.module.system.dal.dataobject.user.AdminUserDO"
|
||||
parameterType="map">
|
||||
SELECT id,
|
||||
username,
|
||||
password,
|
||||
nickname,
|
||||
remark,
|
||||
dept_id,
|
||||
post_ids,
|
||||
email,
|
||||
mobile,
|
||||
sex,
|
||||
avatar,
|
||||
status,
|
||||
login_ip,
|
||||
login_date,
|
||||
pinyin_initial,
|
||||
pinyin_full,
|
||||
organ_id,
|
||||
create_time,
|
||||
update_time,
|
||||
creator,
|
||||
updater,
|
||||
deleted
|
||||
FROM system_users
|
||||
WHERE deleted = 0
|
||||
AND organ_id = #{organId}
|
||||
AND status = #{status}
|
||||
AND (
|
||||
nickname LIKE CONCAT('%', #{name}, '%')
|
||||
OR pinyin_full LIKE CONCAT('%', #{namePyAll}, '%')
|
||||
OR pinyin_initial LIKE CONCAT('%', #{namePyFirstChar}, '%')
|
||||
)
|
||||
ORDER BY
|
||||
id DESC
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user