|
|
@@ -242,7 +242,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createSysUserId != null and createSysUserId != ''">
|
|
|
AND v.create_sys_user_id = #{createSysUserId}
|
|
|
</if>
|
|
|
- <if test="createSysUserId == null">
|
|
|
+ <if test="createSysUserId == 0">
|
|
|
AND (v.create_sys_user_id is null or v.create_sys_user_id = 0)
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -431,7 +431,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createSysUserId != null and createSysUserId != ''">
|
|
|
AND v.create_sys_user_id = #{createSysUserId}
|
|
|
</if>
|
|
|
- <if test="createSysUserId == null">
|
|
|
+ <if test="createSysUserId == 0">
|
|
|
AND (v.create_sys_user_id is null or v.create_sys_user_id = 0)
|
|
|
</if>
|
|
|
</select>
|