|
@@ -394,7 +394,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
1 = 1
|
|
1 = 1
|
|
AND del_flag = 0
|
|
AND del_flag = 0
|
|
AND category = #{category}
|
|
AND category = #{category}
|
|
- AND user_id = #{userId}
|
|
|
|
|
|
+ <!-- AND user_id = #{userId} -->
|
|
|
|
+ AND (user_id = #{userId} or transfer_user_id = #{userId})
|
|
<if test="date != null "> and DATE_FORMAT(time_begin, '%Y-%m-%d') = #{date} </if>
|
|
<if test="date != null "> and DATE_FORMAT(time_begin, '%Y-%m-%d') = #{date} </if>
|
|
</select>
|
|
</select>
|
|
|
|
|