Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
subsidy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dc431b6c
authored
Oct 13, 2022
by
涂亚平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
92-online版本
1 parent
716cd459
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
src/main/java/com/subsidy/service/impl/AdministerServiceImpl.java
src/main/java/com/subsidy/vo/classdict/ClassDetailVO.java
src/main/resources/application-dev.properties
src/main/java/com/subsidy/service/impl/AdministerServiceImpl.java
View file @
dc431b6
...
...
@@ -521,6 +521,9 @@ public class AdministerServiceImpl extends ServiceImpl<AdministerMapper, Adminis
classDetailVO
.
setSignCounts
(
set
);
//人所在部门
List
<
DepartmentDictDO
>
departmentDictDOS
=
memberMapper
.
getDepartments
(
classDetailVO
.
getId
());
classDetailVO
.
setDeps
(
departmentDictDOS
);
}
classDetailVOIPage
.
setRecords
(
classDetailVOS
);
return
classDetailVOIPage
;
...
...
src/main/java/com/subsidy/vo/classdict/ClassDetailVO.java
View file @
dc431b6
package
com
.
subsidy
.
vo
.
classdict
;
import
com.subsidy.model.DepartmentDictDO
;
import
com.subsidy.util.excel.ExcelColumn
;
import
com.subsidy.vo.done.GetMaxScoreVO
;
import
lombok.Data
;
...
...
@@ -90,4 +91,5 @@ public class ClassDetailVO{
private
List
<
GetMaxScoreVO
>
getMaxScoreVOS
;
private
List
<
DepartmentDictDO
>
deps
;
}
src/main/resources/application-dev.properties
View file @
dc431b6
# 本地环境配置
spring.server.port
=
234
57
spring.server.port
=
234
62
# 数据源配置
spring.datasource.url
=
jdbc:mysql://116.62.57.92:3306/subsidy_
test
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
spring.datasource.url
=
jdbc:mysql://116.62.57.92:3306/subsidy_
online
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
#spring.datasource.url=jdbc:mysql://rm-uf6rab73w0qg843opxo.mysql.rds.aliyuncs.com:3306/subsidy_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
spring.datasource.type
=
com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-
name
=
com.mysql.cj.jdbc.Driver
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment