Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
3824c251
Commit
3824c251
authored
Jul 07, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预算编制表名修改
parent
008513f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
bsoft-api/src/main/resources/application-test.properties
+1
-1
bsoft-api/src/main/resources/mapper/SerProjMapper.xml
+3
-3
No files found.
bsoft-api/src/main/resources/application-test.properties
View file @
3824c251
#### \u6D4B\u8BD5\u73AF\u5883 ###################################################
#### \u6D4B\u8BD5\u73AF\u5883 ###################################################
spring.datasource.url
=
jdbc:mysql://192.168.18.17
6: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.17
8: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
...
...
bsoft-api/src/main/resources/mapper/SerProjMapper.xml
View file @
3824c251
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment