| | |
| | | coalesce(asu.password,'') as password, |
| | | coalesce(asu.reserved_1,'') as reserved1, |
| | | coalesce(asu.reserved_2,'') as reserved2 from ard_sy_user asu |
| | | right join sys_user su on asu.sys_user_id = su.user_id |
| | | inner join sys_user su on asu.sys_user_id = su.user_id |
| | | <where> |
| | | <if test="sysUserId != null and sysUserId != ''"> and sys_user_id = #{sysUserId}</if> |
| | | <if test="userId != null and userId != ''"> and user_id = #{userId}</if> |
| | | <if test="userId != null and userId != ''"> and asu.user_id = #{userId}</if> |
| | | <if test="password != null and password != ''"> and password = #{password}</if> |
| | | <if test="reserved1 != null and reserved1 != ''"> and reserved_1 = #{reserved1}</if> |
| | | <if test="reserved2 != null and reserved2 != ''"> and reserved_2 = #{reserved2}</if> |