修复登录:字段“ISDELETE”重复问题
parent
38dd72782c
commit
c90f5b8e48
|
@ -257,9 +257,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
LEFT JOIN OA_DEPARTMENT dept on f.DEPARTMENT_ID = dept.DEPARTMENT_ID
|
LEFT JOIN OA_DEPARTMENT dept on f.DEPARTMENT_ID = dept.DEPARTMENT_ID
|
||||||
where
|
where
|
||||||
USERNAME = #{USERNAME} and ISDELETE='0'
|
f.USERNAME = #{USERNAME} and f.ISDELETE='0'
|
||||||
<if test="VERIFYUSER_ID != null and VERIFYUSER_ID != ''">
|
<if test="VERIFYUSER_ID != null and VERIFYUSER_ID != ''">
|
||||||
and USER_ID != #{VERIFYUSER_ID}
|
and f.USER_ID != #{VERIFYUSER_ID}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="findByName" parameterType="pd" resultType="pd" >
|
<select id="findByName" parameterType="pd" resultType="pd" >
|
||||||
|
|
Loading…
Reference in New Issue