This commit is contained in:
linfso 2024-06-04 19:28:09 +08:00
parent faae64ebaa
commit 0d4f42a6ce

View File

@ -271,7 +271,11 @@
<if test="params.isPrivQuery != null and params.isPrivQuery ='T'"> <if test="params.isPrivQuery != null and params.isPrivQuery ='T'">
and ( and (
create_site=#{params.privSiteCode} 1=1
<if test="params.privSiteCode != null">
and scanSiteCode=#{params.privSiteCode}
</if>
) )
</if> </if>