|
|
@@ -639,7 +639,9 @@
|
|
|
and (ra.reckondate >= #{vo.reckondate,jdbcType=CHAR} and ra.reckondate <=
|
|
|
#{vo.reckondateend,jdbcType=CHAR})
|
|
|
</if>
|
|
|
- and ua.usertype=5
|
|
|
+ <if test="vo.flag != null and vo.flag == 0">
|
|
|
+ and ua.usertype=5
|
|
|
+ </if>
|
|
|
<if test="vo.memberid !=null and vo.memberid != ''">
|
|
|
and ua.subarealevelpath like '%'||#{vo.memberid}||'%'
|
|
|
</if>
|
|
|
@@ -931,7 +933,9 @@
|
|
|
left join useraccount u on ta.userid = u.userid
|
|
|
left join useraccount t on u.memberuserid = t.userid
|
|
|
<where>
|
|
|
- and ua.usertype=5
|
|
|
+ <if test="vo.flag != null and vo.flag == 0">
|
|
|
+ and ua.usertype=5
|
|
|
+ </if>
|
|
|
<if test="vo.usertype != null">
|
|
|
and ua.usertype=#{vo.usertype}
|
|
|
</if>
|