md
This commit is contained in:
parent
ba1724184c
commit
f680402e0f
@ -78,6 +78,13 @@
|
|||||||
<if test="createSite != null and createSite != ''"> and create_site = #{createSite}</if>
|
<if test="createSite != null and createSite != ''"> and create_site = #{createSite}</if>
|
||||||
<if test="updateSite != null and updateSite != ''"> and update_site = #{updateSite}</if>
|
<if test="updateSite != null and updateSite != ''"> and update_site = #{updateSite}</if>
|
||||||
|
|
||||||
|
<if test="params.beginSendDate != null and params.beginSendDate != ''">
|
||||||
|
and create_time <![CDATA[ >= ]]> #{params.beginCreateTime}
|
||||||
|
</if>
|
||||||
|
<if test="params.endSendDate != null and params.endSendDate != ''">
|
||||||
|
and create_time <![CDATA[ <= ]]> #{params.endCreateTime}
|
||||||
|
</if>
|
||||||
|
|
||||||
<if test="params.beginCreateTime != null and params.beginCreateTime != ''">
|
<if test="params.beginCreateTime != null and params.beginCreateTime != ''">
|
||||||
and create_time <![CDATA[ >= ]]> #{params.beginCreateTime}
|
and create_time <![CDATA[ >= ]]> #{params.beginCreateTime}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@ -141,7 +141,7 @@
|
|||||||
|
|
||||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||||
and (
|
and (
|
||||||
a.dispatch_underling_site_code in (
|
b.dispatch_underling_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 :=
|
||||||
#{params.privSiteCode} ) pd
|
#{params.privSiteCode} ) pd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user