md
This commit is contained in:
parent
790c4467da
commit
a26479e1d8
@ -300,7 +300,7 @@
|
|||||||
<choose>
|
<choose>
|
||||||
<!-- 子网点 -->
|
<!-- 子网点 -->
|
||||||
<when test="params.blIncludeChildSite != null and params.blIncludeChildSite == '1'">
|
<when test="params.blIncludeChildSite != null and params.blIncludeChildSite == '1'">
|
||||||
AND u.site_code in (
|
AND site_code in (
|
||||||
SELECT t1.site_code FROM (
|
SELECT t1.site_code FROM (
|
||||||
SELECT * FROM emis_site WHERE parent_site_code IS NOT NULL ) t1,( SELECT @pid :=
|
SELECT * FROM emis_site WHERE parent_site_code IS NOT NULL ) t1,( SELECT @pid :=
|
||||||
#{parentSiteCode} ) pd
|
#{parentSiteCode} ) pd
|
||||||
@ -308,7 +308,7 @@
|
|||||||
)
|
)
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
AND u.parent_site_code=#{parentSiteCode}
|
AND parent_site_code=#{parentSiteCode}
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user