Refactor billing options retrieval to include data permissions and add effective date handling for product imports
This commit is contained in:
@@ -137,6 +137,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectUserVo"/>
|
||||
where u.user_name = #{userName} and u.del_flag = '0'
|
||||
</select>
|
||||
|
||||
<select id="selectUserByNickName" parameterType="String" resultMap="SysUserResult">
|
||||
<include refid="selectUserVo"/>
|
||||
where u.nick_name = #{nickName} and u.del_flag = '0'
|
||||
order by case when u.status = '0' then 0 else 1 end, u.user_id
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
|
||||
<include refid="selectUserVo"/>
|
||||
|
||||
Reference in New Issue
Block a user