Commit fa90b07a authored by 华润's avatar 华润

数据库连接更改

parent 61c05705
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<select /> <select />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="59d91216-f841-4441-8dfd-41c9f37310c6" name="Default Changelist" comment="测试"> <list default="true" id="59d91216-f841-4441-8dfd-41c9f37310c6" name="Default Changelist" comment="数据库连接">
<change beforePath="$PROJECT_DIR$/../gjjapp/.idea/encodings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/.idea/encodings.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../gjjapp/.idea/encodings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/.idea/encodings.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__antlr_antlr_2_7_7.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__antlr_antlr_2_7_7.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__antlr_antlr_2_7_7.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__antlr_antlr_2_7_7.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml" afterDir="false" />
...@@ -302,7 +302,12 @@ ...@@ -302,7 +302,12 @@
<change beforePath="$PROJECT_DIR$/../gjjapp/gjjapp-zhfwpt/gjjapp-zhfwpt-service/src/main/java/com/changda/gjjapp/zhfwpt/service/impl/tyfb/TyfbxwInfoImp.java" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/gjjapp-zhfwpt/gjjapp-zhfwpt-service/src/main/java/com/changda/gjjapp/zhfwpt/service/impl/tyfb/TyfbxwInfoImp.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../gjjapp/gjjapp-zhfwpt/gjjapp-zhfwpt-service/src/main/java/com/changda/gjjapp/zhfwpt/service/impl/tyfb/TyfbxwInfoImp.java" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/gjjapp-zhfwpt/gjjapp-zhfwpt-service/src/main/java/com/changda/gjjapp/zhfwpt/service/impl/tyfb/TyfbxwInfoImp.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../gjjapp/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/pom.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/../gjjapp/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../gjjapp/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gjjapp-web/src/main/resources/gjj.properties" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-web/src/main/resources/gjj.properties" afterDir="false" /> <change beforePath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/HomePage.xml" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/HomePage.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/QuDaoQuanXianGuanLi.xml" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/QuDaoQuanXianGuanLi.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/QuDaoXinXiGuanLi.xml" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/QuDaoXinXiGuanLi.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/QuDaoYeWuBanLiShu.xml" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/QuDaoYeWuBanLiShu.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/WJDC.xml" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/WJDC.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/YongHuXinXiGuanLi.xml" beforeDir="false" afterPath="$PROJECT_DIR$/gjjapp-zhfwpt/gjjapp-zhfwpt-dao/src/main/resources/mappings/YongHuXinXiGuanLi.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../新建文件夹 (6)/hbzdmhxm.jar" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/../../新建文件夹 (6)/hbzdmhxm.jar" beforeDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
...@@ -435,7 +440,7 @@ ...@@ -435,7 +440,7 @@
<workItem from="1617261920322" duration="123000" /> <workItem from="1617261920322" duration="123000" />
<workItem from="1619144108053" duration="610000" /> <workItem from="1619144108053" duration="610000" />
<workItem from="1619146016972" duration="421000" /> <workItem from="1619146016972" duration="421000" />
<workItem from="1619146474603" duration="4208000" /> <workItem from="1619146474603" duration="6395000" />
</task> </task>
<task id="LOCAL-00001" summary="222"> <task id="LOCAL-00001" summary="222">
<created>1617244899238</created> <created>1617244899238</created>
...@@ -486,7 +491,14 @@ ...@@ -486,7 +491,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1619146933230</updated> <updated>1619146933230</updated>
</task> </task>
<option name="localTasksCounter" value="8" /> <task id="LOCAL-00008" summary="数据库连接">
<created>1619154968656</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1619154968656</updated>
</task>
<option name="localTasksCounter" value="9" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -509,96 +521,109 @@ ...@@ -509,96 +521,109 @@
<MESSAGE value="更新代码" /> <MESSAGE value="更新代码" />
<MESSAGE value="三峡综合服务平台新项目git代码部署推送,搭建" /> <MESSAGE value="三峡综合服务平台新项目git代码部署推送,搭建" />
<MESSAGE value="测试" /> <MESSAGE value="测试" />
<option name="LAST_COMMIT_MESSAGE" value="测试" /> <MESSAGE value="数据库连接" />
<option name="LAST_COMMIT_MESSAGE" value="数据库连接" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="414" y="174" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1619154522666"> <state x="414" y="174" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1619154522666">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="414" y="174" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1619154522666" /> <state x="414" y="174" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1619154522666" />
<state x="652" y="320" key="#com.intellij.fileTypes.FileTypeChooser" timestamp="1619156707490">
<screen x="0" y="0" width="1920" height="1040" />
</state>
<state x="652" y="320" key="#com.intellij.fileTypes.FileTypeChooser/0.0.1920.1040@0.0.1920.1040" timestamp="1619156707490" />
<state x="740" y="260" key="FileChooserDialogImpl" timestamp="1619146148649"> <state x="740" y="260" key="FileChooserDialogImpl" timestamp="1619146148649">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="740" y="260" key="FileChooserDialogImpl/0.0.1920.1040@0.0.1920.1040" timestamp="1619146148649" /> <state x="740" y="260" key="FileChooserDialogImpl/0.0.1920.1040@0.0.1920.1040" timestamp="1619146148649" />
<state width="1621" height="648" key="GridCell.Tab.0.bottom" timestamp="1619149964988"> <state width="1621" height="157" key="GridCell.Tab.0.bottom" timestamp="1619156757314">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.0.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964988" /> <state width="1621" height="157" key="GridCell.Tab.0.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757314" />
<state width="1621" height="648" key="GridCell.Tab.0.center" timestamp="1619149964988"> <state width="1621" height="157" key="GridCell.Tab.0.center" timestamp="1619156757314">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.0.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964988" /> <state width="1621" height="157" key="GridCell.Tab.0.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757314" />
<state width="1621" height="648" key="GridCell.Tab.0.left" timestamp="1619149964988"> <state width="1621" height="157" key="GridCell.Tab.0.left" timestamp="1619156757314">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.0.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964988" /> <state width="1621" height="157" key="GridCell.Tab.0.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757314" />
<state width="1621" height="648" key="GridCell.Tab.0.right" timestamp="1619149964988"> <state width="1621" height="157" key="GridCell.Tab.0.right" timestamp="1619156757314">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.0.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964988" /> <state width="1621" height="157" key="GridCell.Tab.0.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757314" />
<state width="1621" height="648" key="GridCell.Tab.1.bottom" timestamp="1619149964989"> <state width="1621" height="157" key="GridCell.Tab.1.bottom" timestamp="1619156757315">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.1.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964989" /> <state width="1621" height="157" key="GridCell.Tab.1.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757315" />
<state width="1621" height="648" key="GridCell.Tab.1.center" timestamp="1619149964988"> <state width="1621" height="157" key="GridCell.Tab.1.center" timestamp="1619156757315">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.1.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964988" /> <state width="1621" height="157" key="GridCell.Tab.1.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757315" />
<state width="1621" height="648" key="GridCell.Tab.1.left" timestamp="1619149964988"> <state width="1621" height="157" key="GridCell.Tab.1.left" timestamp="1619156757314">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.1.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964988" /> <state width="1621" height="157" key="GridCell.Tab.1.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757314" />
<state width="1621" height="648" key="GridCell.Tab.1.right" timestamp="1619149964989"> <state width="1621" height="157" key="GridCell.Tab.1.right" timestamp="1619156757315">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.1.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964989" /> <state width="1621" height="157" key="GridCell.Tab.1.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757315" />
<state width="1621" height="648" key="GridCell.Tab.2.bottom" timestamp="1619149964745"> <state width="1621" height="157" key="GridCell.Tab.2.bottom" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.2.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964745" /> <state width="1621" height="157" key="GridCell.Tab.2.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.2.center" timestamp="1619149964744"> <state width="1621" height="157" key="GridCell.Tab.2.center" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.2.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964744" /> <state width="1621" height="157" key="GridCell.Tab.2.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.2.left" timestamp="1619149964744"> <state width="1621" height="157" key="GridCell.Tab.2.left" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.2.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964744" /> <state width="1621" height="157" key="GridCell.Tab.2.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.2.right" timestamp="1619149964744"> <state width="1621" height="157" key="GridCell.Tab.2.right" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.2.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964744" /> <state width="1621" height="157" key="GridCell.Tab.2.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.3.bottom" timestamp="1619149964745"> <state width="1621" height="157" key="GridCell.Tab.3.bottom" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.3.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964745" /> <state width="1621" height="157" key="GridCell.Tab.3.bottom/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.3.center" timestamp="1619149964745"> <state width="1621" height="157" key="GridCell.Tab.3.center" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.3.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964745" /> <state width="1621" height="157" key="GridCell.Tab.3.center/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.3.left" timestamp="1619149964745"> <state width="1621" height="157" key="GridCell.Tab.3.left" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.3.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964745" /> <state width="1621" height="157" key="GridCell.Tab.3.left/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state width="1621" height="648" key="GridCell.Tab.3.right" timestamp="1619149964745"> <state width="1621" height="157" key="GridCell.Tab.3.right" timestamp="1619156757171">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state width="1621" height="648" key="GridCell.Tab.3.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619149964745" /> <state width="1621" height="157" key="GridCell.Tab.3.right/0.0.1920.1040@0.0.1920.1040" timestamp="1619156757171" />
<state x="440" y="94" key="SettingsEditor" timestamp="1619146068096"> <state x="440" y="94" key="SettingsEditor" timestamp="1619146068096">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="440" y="94" key="SettingsEditor/0.0.1920.1040@0.0.1920.1040" timestamp="1619146068096" /> <state x="440" y="94" key="SettingsEditor/0.0.1920.1040@0.0.1920.1040" timestamp="1619146068096" />
<state x="552" y="252" key="Vcs.Push.Dialog.v2" timestamp="1619146935035"> <state x="552" y="252" key="Vcs.Push.Dialog.v2" timestamp="1619154974575">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="552" y="252" key="Vcs.Push.Dialog.v2/0.0.1920.1040@0.0.1920.1040" timestamp="1619146935035" /> <state x="552" y="252" key="Vcs.Push.Dialog.v2/0.0.1920.1040@0.0.1920.1040" timestamp="1619154974575" />
<state x="632" y="306" key="git4idea.merge.GitPullDialog" timestamp="1619146870574"> <state x="662" y="252" width="596" height="536" key="find.popup" timestamp="1619156797927">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="632" y="306" key="git4idea.merge.GitPullDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1619146870574" /> <state x="662" y="252" width="596" height="536" key="find.popup/0.0.1920.1040@0.0.1920.1040" timestamp="1619156797927" />
<state x="632" y="306" key="git4idea.merge.GitPullDialog" timestamp="1619154883958">
<screen x="0" y="0" width="1920" height="1040" />
</state>
<state x="632" y="306" key="git4idea.merge.GitPullDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1619154883958" />
<state x="711" y="398" key="git4idea.remote.GitConfigureRemotesDialog" timestamp="1619146498710"> <state x="711" y="398" key="git4idea.remote.GitConfigureRemotesDialog" timestamp="1619146498710">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="711" y="398" key="git4idea.remote.GitConfigureRemotesDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1619146498710" /> <state x="711" y="398" key="git4idea.remote.GitConfigureRemotesDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1619146498710" />
<state x="623" y="225" width="672" height="678" key="search.everywhere.popup" timestamp="1619156718276">
<screen x="0" y="0" width="1920" height="1040" />
</state>
<state x="623" y="225" width="672" height="678" key="search.everywhere.popup/0.0.1920.1040@0.0.1920.1040" timestamp="1619156718276" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
<select id="complaintRate" resultType="com.changda.gjjapp.zhfwpt.dto.homepage.ComplaintRateDto"> <select id="complaintRate" resultType="com.changda.gjjapp.zhfwpt.dto.homepage.ComplaintRateDto">
select select
to_char( to_char(
trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from hg2018.wxn_user) ,6)*100 trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from SX2020.wxn_user) ,6)*100
,'999990.9999') ||'%' tslzb, ,'999990.9999') ||'%' tslzb,
to_char( to_char(
1-trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from hg2018.wxn_user) ,6)*100 1-trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from SX2020.wxn_user) ,6)*100
,'999990.9999') ||'%' ftslzb, ,'999990.9999') ||'%' ftslzb,
trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from hg2018.wxn_user) ,6)*100 trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from SX2020.wxn_user) ,6)*100
tslsl, tslsl,
1-trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from hg2018.wxn_user) ,6)*100 1-trunc((select sum(count(*)) from M_TSXQ a,s_tslx b where a.tslxid = b.tslxid <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year} </if> and b.zlx = 1 group by grzh)/(select count(*) from SX2020.wxn_user) ,6)*100
ftslsl ftslsl
from dual from dual
</select> </select>
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
<select id="duanXinZTSreach" resultType="map"> <select id="duanXinZTSreach" resultType="map">
select z.zjzxdm ZJZXDM,z.zjzxjc ZJZXJC,(case when z.dxzt = '1' then '开启' when z.dxzt = '0' then '关闭' end ) ZT select z.zjzxdm ZJZXDM,z.zjzxjc ZJZXJC,(case when z.dxzt = '1' then '开启' when z.dxzt = '0' then '关闭' end ) ZT
,(case when z.dxzt = '1' then 'true' when z.dxzt = '0' then 'fales' end ) DXZT from hg2018.b_zjzx z ,(case when z.dxzt = '1' then 'true' when z.dxzt = '0' then 'fales' end ) DXZT from SX2020.b_zjzx z
</select> </select>
<update id="updateDuanXinZT"> <update id="updateDuanXinZT">
update hg2018.b_zjzx z set z.dxzt = #{dxzt} where z.zjzxdm = #{zjzxdm} update SX2020.b_zjzx z set z.dxzt = #{dxzt} where z.zjzxdm = #{zjzxdm}
</update> </update>
<select id="qdkzInfo" resultType="map"> <select id="qdkzInfo" resultType="map">
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
</select> </select>
<select id="dxfsl" resultType="java.lang.Integer"> <select id="dxfsl" resultType="java.lang.Integer">
select count(*) from hg2018.SMS_MONTH_MT where STATE != '-10' select count(*) from SX2020.SMS_MONTH_MT where STATE != '-10'
</select> </select>
<select id="qdfwlZB" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QuDaoFWLZBDto"> <select id="qdfwlZB" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QuDaoFWLZBDto">
...@@ -132,7 +132,7 @@ select qd.qdid,qd.qdmc,count(mq.grzh) fwsl ...@@ -132,7 +132,7 @@ select qd.qdid,qd.qdmc,count(mq.grzh) fwsl
union all union all
select * from ( select * from (
SELECT '04' QDID,'12329短信' QDMC,COUNT(*) fwsl SELECT '04' QDID,'12329短信' QDMC,COUNT(*) fwsl
FROM hg2018.SMS_MT FROM SX2020.SMS_MT
WHERE 1=1 <if test="year != null and year !='' "> and TO_CHAR(SENDTIME,'YYYY') = #{year} </if>) WHERE 1=1 <if test="year != null and year !='' "> and TO_CHAR(SENDTIME,'YYYY') = #{year} </if>)
</select> </select>
...@@ -229,11 +229,11 @@ WHERE 1=1 <if test="year != null and year !='' "> and TO_CHAR(SENDTIME,'YYYY') = ...@@ -229,11 +229,11 @@ WHERE 1=1 <if test="year != null and year !='' "> and TO_CHAR(SENDTIME,'YYYY') =
<select id="qdyhtjfx" resultType="map"> <select id="qdyhtjfx" resultType="map">
<![CDATA[ <![CDATA[
SELECT zcqdid AS QDID,qdmc,zcyh,round(zczb,4)*100||'%' zczb,hdyh,round(hdzb,4)*100||'%' hdzb,nvl(trunc((hdyh/(select count(*) from hg2018.wxn_user))*100,4),'0') hdyhzb1,nvl(trunc((hdyh/(select count(*) from hg2018.wxn_user))*100,4)||'%','0%') hdyhzb2 FROM( SELECT zcqdid AS QDID,qdmc,zcyh,round(zczb,4)*100||'%' zczb,hdyh,round(hdzb,4)*100||'%' hdzb,nvl(trunc((hdyh/(select count(*) from SX2020.wxn_user))*100,4),'0') hdyhzb1,nvl(trunc((hdyh/(select count(*) from SX2020.wxn_user))*100,4)||'%','0%') hdyhzb2 FROM(
select zcqdid,zcyh,zcyh/(select count(*) as YHZS from hg2018.gj_grxx) AS ZCZB from ( select zcqdid,zcyh,zcyh/(select count(*) as YHZS from SX2020.gj_grxx) AS ZCZB from (
select zcqdid,count(*) zcyh from hg2018.wxn_user group by zcqdid select zcqdid,count(*) zcyh from SX2020.wxn_user group by zcqdid
)) A,( )) A,(
select zhdlqdid,hdyh,hdyh/(select count(*) from hg2018.wxn_user) AS HDZB from ( select zhdlqdid,hdyh,hdyh/(select count(*) from SX2020.wxn_user) AS HDZB from (
select qdid as zhdlqdid, count(grzh) hdyh from (select qdid,grzh from m_ywblxq where qdid!='09' and blsj between add_months(sysdate,-6) and sysdate and grzh is not null group by qdid, grzh) group by qdid select qdid as zhdlqdid, count(grzh) hdyh from (select qdid,grzh from m_ywblxq where qdid!='09' and blsj between add_months(sysdate,-6) and sysdate and grzh is not null group by qdid, grzh) group by qdid
)) B , )) B ,
(select qdmc,qdid from s_qdzd ) C (select qdmc,qdid from s_qdzd ) C
...@@ -246,11 +246,11 @@ WHERE 1=1 <if test="year != null and year !='' "> and TO_CHAR(SENDTIME,'YYYY') = ...@@ -246,11 +246,11 @@ WHERE 1=1 <if test="year != null and year !='' "> and TO_CHAR(SENDTIME,'YYYY') =
<select id="qdyhfxHDYH" resultType="java.lang.Integer"> <select id="qdyhfxHDYH" resultType="java.lang.Integer">
select select
nvl(sum(case when denglurq between add_months(to_date(#{year},'yyyy-mm'),-6) and to_date(#{year},'yyyy-mm') then 1 else 0 end),0) sl nvl(sum(case when denglurq between add_months(to_date(#{year},'yyyy-mm'),-6) and to_date(#{year},'yyyy-mm') then 1 else 0 end),0) sl
from hg2018.wxn_user where zhdlqdid = #{qdid} from SX2020.wxn_user where zhdlqdid = #{qdid}
</select> </select>
<select id="qdyhfxZCS" resultType="java.lang.Integer"> <select id="qdyhfxZCS" resultType="java.lang.Integer">
select nvl(count(*),0) from hg2018.wxn_user where to_char(zhucerq,'yyyy-mm') = to_char(to_date(#{year},'yyyy-mm'),'yyyy-mm') and zcqdid = #{qdid} select nvl(count(*),0) from SX2020.wxn_user where to_char(zhucerq,'yyyy-mm') = to_char(to_date(#{year},'yyyy-mm'),'yyyy-mm') and zcqdid = #{qdid}
</select> </select>
<insert id="insertQDFWL"> <insert id="insertQDFWL">
...@@ -314,35 +314,35 @@ from dual ...@@ -314,35 +314,35 @@ from dual
<select id="qdfwnldTj" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto"> <select id="qdfwnldTj" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto">
<![CDATA[ <![CDATA[
select '02' qdid, select '02' qdid,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age1830, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age1830,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age3040, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age3040,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age4050, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age4050,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age5065, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age5065,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age65 (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '02') age65
from dual from dual
union union
select '05' qdid, select '05' qdid,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age1830, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age1830,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age3040, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age3040,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age4050, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age4050,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age5065, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age5065,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age65 (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '05') age65
from dual from dual
union union
select '06' qdid, select '06' qdid,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age1830, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age1830,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age3040, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age3040,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age4050, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age4050,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age5065, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age5065,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age65 (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '06') age65
from dual from dual
union union
select '07' qdid, select '07' qdid,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age1830, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 30 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age1830,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age3040, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 40 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age3040,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age4050, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 50 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age4050,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age5065, (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) <= 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age5065,
(select count(*) from m_qdfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age65 (select count(*) from m_qdfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) > 65 and to_char(a.fwsj,'yyyy') = #{year} and a.qdid = '07') age65
from dual from dual
]]> ]]>
...@@ -351,11 +351,11 @@ from dual ...@@ -351,11 +351,11 @@ from dual
<select id="qdywnldfwtj" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto"> <select id="qdywnldfwtj" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto">
select select
(select count(*) from m_ywfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 30 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age1830, (select count(*) from m_ywfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 30 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age1830,
(select count(*) from m_ywfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 40 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age3040, (select count(*) from m_ywfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 40 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age3040,
(select count(*) from m_ywfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 50 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age4050, (select count(*) from m_ywfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 50 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age4050,
(select count(*) from m_ywfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age5065, (select count(*) from m_ywfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age5065,
(select count(*) from m_ywfwxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''"> and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age65 (select count(*) from m_ywfwxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''"> and to_char(a.fwsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlxbm = #{ywbm}) age65
from dual from dual
</select> </select>
...@@ -415,7 +415,7 @@ union ...@@ -415,7 +415,7 @@ union
( (
SELECT LEVEL ID FROM DUAL CONNECT BY LEVEL &lt;=12) T0, SELECT LEVEL ID FROM DUAL CONNECT BY LEVEL &lt;=12) T0,
(SELECT TO_NUMBER(SUBSTRB(TO_CHAR(SENDTIME,'YYYY-MM'),-2)) MT,COUNT(*) FSL (SELECT TO_NUMBER(SUBSTRB(TO_CHAR(SENDTIME,'YYYY-MM'),-2)) MT,COUNT(*) FSL
FROM hg2018.SMS_MT T1 FROM SX2020.SMS_MT T1
WHERE TO_CHAR(SENDTIME,'YYYY') = #{year} WHERE TO_CHAR(SENDTIME,'YYYY') = #{year}
GROUP BY SUBSTRB(TO_CHAR(SENDTIME,'YYYY-MM'),-2))T1 GROUP BY SUBSTRB(TO_CHAR(SENDTIME,'YYYY-MM'),-2))T1
WHERE T0.ID = T1.MT(+) WHERE T0.ID = T1.MT(+)
...@@ -505,8 +505,8 @@ select ...@@ -505,8 +505,8 @@ select
from from
( (
select select
(select count(*) from hg2018.wxn_user b where b.zcqdid = '02' and b.xingbie = 1) wtmensl, (select count(*) from SX2020.wxn_user b where b.zcqdid = '02' and b.xingbie = 1) wtmensl,
(select count(*) from hg2018.wxn_user b where b.zcqdid = '02' and b.xingbie = 2) wtwomensl (select count(*) from SX2020.wxn_user b where b.zcqdid = '02' and b.xingbie = 2) wtwomensl
from dual from dual
) )
union all union all
...@@ -517,8 +517,8 @@ select ...@@ -517,8 +517,8 @@ select
from from
( (
select select
(select count(*) from hg2018.wxn_user b where b.zcqdid = '05' and b.xingbie = 1) wxmensl, (select count(*) from SX2020.wxn_user b where b.zcqdid = '05' and b.xingbie = 1) wxmensl,
(select count(*) from hg2018.wxn_user b where b.zcqdid = '05' and b.xingbie = 2) wxwomensl (select count(*) from SX2020.wxn_user b where b.zcqdid = '05' and b.xingbie = 2) wxwomensl
from dual from dual
) )
union all union all
...@@ -529,8 +529,8 @@ select ...@@ -529,8 +529,8 @@ select
from from
( (
select select
(select count(*) from hg2018.wxn_user b where b.zcqdid = '06' and b.xingbie = 1) appmensl, (select count(*) from SX2020.wxn_user b where b.zcqdid = '06' and b.xingbie = 1) appmensl,
(select count(*) from hg2018.wxn_user b where b.zcqdid = '06' and b.xingbie = 2) appwomensl (select count(*) from SX2020.wxn_user b where b.zcqdid = '06' and b.xingbie = 2) appwomensl
from dual from dual
) )
</select> </select>
...@@ -566,14 +566,14 @@ select '十二月' month,count(*) cn from m_xxtx a where to_char(a.sj,'yyyy-mm') ...@@ -566,14 +566,14 @@ select '十二月' month,count(*) cn from m_xxtx a where to_char(a.sj,'yyyy-mm')
</select> </select>
<select id="userLogoutStatus" resultType="int"> <select id="userLogoutStatus" resultType="int">
select count(*) cn from hg2018.wxn_user where iszx = '1' select count(*) cn from SX2020.wxn_user where iszx = '1'
</select> </select>
<select id="wanWomanZB" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.WanWomanZBDto"> <select id="wanWomanZB" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.WanWomanZBDto">
select nvl(trunc((man.mansl/zs.zs)*100,2)||'%','0') manzb,nvl(trunc((woman.womansl/zs.zs)*100,2)||'%','0') womanzb,man.mansl mansl,woman.womansl womansl from select nvl(trunc((man.mansl/zs.zs)*100,2)||'%','0') manzb,nvl(trunc((woman.womansl/zs.zs)*100,2)||'%','0') womanzb,man.mansl mansl,woman.womansl womansl from
(select count(*) zs from hg2018.wxn_user) zs, (select count(*) zs from SX2020.wxn_user) zs,
(select count(*) mansl from hg2018.wxn_user a where a.xingbie = 1 ) man , (select count(*) mansl from SX2020.wxn_user a where a.xingbie = 1 ) man ,
(select count(*) womansl from hg2018.wxn_user a where a.xingbie = 2) woman (select count(*) womansl from SX2020.wxn_user a where a.xingbie = 2) woman
</select> </select>
<select id="qdywzb" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdywzbDto"> <select id="qdywzb" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdywzbDto">
...@@ -592,21 +592,21 @@ from ...@@ -592,21 +592,21 @@ from
<select id="zcyhnlFX" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto"> <select id="zcyhnlFX" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto">
select select
(select count(*) from hg2018.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 30) age1830, (select count(*) from SX2020.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 30) age1830,
(select count(*) from hg2018.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 40) age3040, (select count(*) from SX2020.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 40) age3040,
(select count(*) from hg2018.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 50) age4050, (select count(*) from SX2020.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 50) age4050,
(select count(*) from hg2018.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 65) age5065, (select count(*) from SX2020.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 65) age5065,
(select count(*) from hg2018.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 65)age65 (select count(*) from SX2020.wxn_user a where to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 65)age65
from dual from dual
</select> </select>
<select id="hdyhnlfx" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto"> <select id="hdyhnlfx" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto">
select select
(select count(*) from hg2018.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 30) age1830, (select count(*) from SX2020.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 30) age1830,
(select count(*) from hg2018.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 40) age3040, (select count(*) from SX2020.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 40) age3040,
(select count(*) from hg2018.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 50) age4050, (select count(*) from SX2020.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 50) age4050,
(select count(*) from hg2018.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 65) age5065, (select count(*) from SX2020.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &lt;= 65) age5065,
(select count(*) from hg2018.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 65)age65 (select count(*) from SX2020.wxn_user a where a.denglurq between add_months(sysdate,-6) and sysdate and to_char(sysdate,'yyyy')-substr(a.csny,1,4) &gt; 65)age65
from dual from dual
</select> </select>
...@@ -614,8 +614,8 @@ from dual ...@@ -614,8 +614,8 @@ from dual
select trunc((1-manhdyhzb)*100,2) womenhdyhzb,trunc(manhdyhzb*100,2) as manhdyhzb from ( select trunc((1-manhdyhzb)*100,2) womenhdyhzb,trunc(manhdyhzb*100,2) as manhdyhzb from (
select select
( (
(select hdyh from (select sum(case when denglurq between add_months(sysdate,-6) and sysdate then 1 else 0 end) hdyh from hg2018.wxn_user where zhdlqdid is not null and xingbie = '1'))/ (select hdyh from (select sum(case when denglurq between add_months(sysdate,-6) and sysdate then 1 else 0 end) hdyh from SX2020.wxn_user where zhdlqdid is not null and xingbie = '1'))/
(select hdyh from (select sum(case when denglurq between add_months(sysdate,-6) and sysdate then 1 else 0 end) hdyh from hg2018.wxn_user where zhdlqdid is not null))) manhdyhzb (select hdyh from (select sum(case when denglurq between add_months(sysdate,-6) and sysdate then 1 else 0 end) hdyh from SX2020.wxn_user where zhdlqdid is not null))) manhdyhzb
from dual from dual
) )
</select> </select>
...@@ -626,8 +626,8 @@ from dual ...@@ -626,8 +626,8 @@ from dual
from from
( (
select select
((select count(*) zcyh from hg2018.wxn_user where xingbie = '1')/ ((select count(*) zcyh from SX2020.wxn_user where xingbie = '1')/
(select count(*) zcyh from hg2018.wxn_user)) manzcyhzb (select count(*) zcyh from SX2020.wxn_user)) manzcyhzb
from dual from dual
) )
</select> </select>
...@@ -672,7 +672,7 @@ dual) b ...@@ -672,7 +672,7 @@ dual) b
( (
select zs.zsl,ts.tssl from select zs.zsl,ts.tssl from
(select count(*) tssl from M_TSXQ a ,s_tslx b where a.tslxid = b.tslxid and b.zlx = 1 <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year}</if> ) ts, (select count(*) tssl from M_TSXQ a ,s_tslx b where a.tslxid = b.tslxid and b.zlx = 1 <if test="year != null and year !='' "> and to_char(a.tssj,'yyyy') = #{year}</if> ) ts,
(select count(*) zsl from hg2018.wxn_user) zs (select count(*) zsl from SX2020.wxn_user) zs
) )
</select> </select>
......
...@@ -157,11 +157,11 @@ ...@@ -157,11 +157,11 @@
<select id="qdywblgnldTj" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto"> <select id="qdywblgnldTj" resultType="com.changda.gjjapp.zhfwpt.dto.qdxxgl.QdfwnldTjDto">
select select
(select count(*) from m_ywblxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 30 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age1830, (select count(*) from m_ywblxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 18 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 30 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age1830,
(select count(*) from m_ywblxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 40 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age3040, (select count(*) from m_ywblxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 30 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 40 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age3040,
(select count(*) from m_ywblxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 50 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age4050, (select count(*) from m_ywblxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 40 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 50 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age4050,
(select count(*) from m_ywblxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age5065, (select count(*) from m_ywblxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 50 and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &lt;= 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''">and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age5065,
(select count(*) from m_ywblxq a,hg2018.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''"> and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age65 (select count(*) from m_ywblxq a,SX2020.wxn_user b where a.grzh = b.grzh and to_char(sysdate,'yyyy') - substr(b.csny,1,4) &gt; 65 <if test="qssj != null and qssj !='' and zzsj != null and zzsj !=''"> and to_char(a.blsj,'yyyy-mm-dd') between #{qssj} and #{zzsj}</if> and a.ywlx = #{ywbm}) age65
from dual from dual
</select> </select>
......
...@@ -295,7 +295,7 @@ ...@@ -295,7 +295,7 @@
</select> </select>
<select id="selectuserpd" parameterType="String" resultType="Integer"> <select id="selectuserpd" parameterType="String" resultType="Integer">
select count(*) M_COUNT from hg2020.wxn_user where xingming=#{yhxm} select count(*) M_COUNT from SX2020.wxn_user where xingming=#{yhxm}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "mybatis-3-mapper.dtd" > <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "mybatis-3-mapper.dtd" >
<mapper namespace="com.changda.gjjapp.zhfwpt.dao.yhxxgl.YHXXGLDao"> <mapper namespace="com.changda.gjjapp.zhfwpt.dao.yhxxgl.YHXXGLDao">
<update id="updatePwd"> <update id="updatePwd">
update hg2018.wxn_user set hg2018.wxn_user.pswd = '888888' update SX2020.wxn_user set SX2020.wxn_user.pswd = '888888'
where 1=1 where 1=1
<if test="zjhm != null and zjhm !=''">and hg2018.wxn_user.zjhm =#{zjhm}</if> <if test="zjhm != null and zjhm !=''">and SX2020.wxn_user.zjhm =#{zjhm}</if>
<if test="grzh != null and grzh !=''">and hg2018.wxn_user.grzh = #{grzh}</if> <if test="grzh != null and grzh !=''">and SX2020.wxn_user.grzh = #{grzh}</if>
</update> </update>
<select id="yongHuXinXiSearch" resultType="com.changda.gjjapp.db.entity.WXN_USER"> <select id="yongHuXinXiSearch" resultType="com.changda.gjjapp.db.entity.WXN_USER">
select a.qdmc zcqdmc,b.qdmc zhdlqdmc,w.xingming,w.zjhm,w.pswd,w.sjhm,w.zhucerq,w.denglurq,w.grzh,w.zcqdid,w.zhdlqdid,w.xingbie,w.xmqp,w.csny,w.iszx,w.zxbz select a.qdmc zcqdmc,b.qdmc zhdlqdmc,w.xingming,w.zjhm,w.pswd,w.sjhm,w.zhucerq,w.denglurq,w.grzh,w.zcqdid,w.zhdlqdid,w.xingbie,w.xmqp,w.csny,w.iszx,w.zxbz
from hg2018.wxn_user w inner join s_qdzd a on w.zcqdid = a.qdid inner join s_qdzd b on w.zhdlqdid = b.qdid and w.grzh is not null and (INSTR(w.ZJHM || ',' || w.XINGMING || ',' || w.GRZH, #{data}) > 0 OR #{data} IS NULL) from SX2020.wxn_user w inner join s_qdzd a on w.zcqdid = a.qdid inner join s_qdzd b on w.zhdlqdid = b.qdid and w.grzh is not null and (INSTR(w.ZJHM || ',' || w.XINGMING || ',' || w.GRZH, #{data}) > 0 OR #{data} IS NULL)
<if test="yhlb != null and yhlb !=''">and iszx = #{yhlb}</if> <if test="yhlb != null and yhlb !=''">and iszx = #{yhlb}</if>
<choose> <choose>
<when test="zckssj != null and zckssj !='' and zcjssj != null and zcjssj !=''"> <when test="zckssj != null and zckssj !='' and zcjssj != null and zcjssj !=''">
...@@ -31,16 +31,16 @@ ...@@ -31,16 +31,16 @@
</select> </select>
<update id="userInfoUpdate"> <update id="userInfoUpdate">
update hg2018.wxn_user a set a.grzh = a.grzh <if test="xingbie != null and xingbie !=''">,a.xingbie = #{xingbie}</if> <if test="xmqp != null and xmqp !=''">,a.xmqp =#{xmqp}</if> <if test="csny != null and csny !=''">,a.csny = #{csny}</if> update SX2020.wxn_user a set a.grzh = a.grzh <if test="xingbie != null and xingbie !=''">,a.xingbie = #{xingbie}</if> <if test="xmqp != null and xmqp !=''">,a.xmqp =#{xmqp}</if> <if test="csny != null and csny !=''">,a.csny = #{csny}</if>
where a.grzh = #{grzh} where a.grzh = #{grzh}
</update> </update>
<update id="iszx"> <update id="iszx">
update hg2018.wxn_user a set a.iszx = #{iszx},a.zxbz=#{zxbz} where a.grzh = #{grzh} update SX2020.wxn_user a set a.iszx = #{iszx},a.zxbz=#{zxbz} where a.grzh = #{grzh}
</update> </update>
<select id="zxzt" resultType="string"> <select id="zxzt" resultType="string">
select iszx from hg2018.wxn_user where grzh = #{grzh} select iszx from SX2020.wxn_user where grzh = #{grzh}
</select> </select>
<insert id="userLoginRecording"> <insert id="userLoginRecording">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment