Commit 3824c251 by Suvalue

预算编制表名修改

parent 008513f2
#### \u6D4B\u8BD5\u73AF\u5883 ################################################### #### \u6D4B\u8BD5\u73AF\u5883 ###################################################
spring.datasource.url=jdbc:mysql://192.168.18.176:3306/scml_sy_test2.0?useUnicode=true&characterEncoding=utf8&useSSL=false&autoReconnect=true&rewriteBatchedStatements=TRUE&serverTimezone=UTC spring.datasource.url=jdbc:mysql://192.168.18.178:3306/scml_zp_test2.0?useUnicode=true&characterEncoding=utf8&useSSL=false&autoReconnect=true&rewriteBatchedStatements=TRUE&serverTimezone=UTC
spring.datasource.username=root spring.datasource.username=root
spring.datasource.password=Suvalue2016 spring.datasource.password=Suvalue2016
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.driver-class-name=com.mysql.jdbc.Driver
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</select> </select>
<select id="selectState" resultMap="ProjectInfo"> <select id="selectState" resultMap="ProjectInfo">
select DISTINCT p.TYPE as EXPONENT_ID,e.EXPONENT_NAME,e.SORT select DISTINCT p.TYPE as EXPONENT_ID,e.EXPONENT_NAME,e.SORT
from ser_proj p from dic_bgt_proj p
join dic_bgt_energy e on e.EXPONENT_ID=p.`TYPE` and e.STATE = 1 join dic_bgt_energy e on e.EXPONENT_ID=p.`TYPE` and e.STATE = 1
where p.`STATE` = 1 where p.`STATE` = 1
<if test="projType!=null"> <if test="projType!=null">
...@@ -94,8 +94,8 @@ ...@@ -94,8 +94,8 @@
</select> </select>
<select id="selectDept" resultMap="Summary"> <select id="selectDept" resultMap="Summary">
select v.DEPT_CODE select v.DEPT_CODE
from SER_PROJ_VALUE v from val_proj_value v
join SER_PROJ p on p.ID =v.PROJ_ID and p.STATE = 1 join dic_bgt_proj p on p.ID =v.PROJ_ID and p.STATE = 1
where 1=1 where 1=1
and EXISTS(select o2.ORG_CODE as DEPT_CODE and EXISTS(select o2.ORG_CODE as DEPT_CODE
from sys_user_sbj_rs rs2 from sys_user_sbj_rs rs2
......
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