Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SchoolReportGen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
霍传世
SchoolReportGen
Commits
6bf8e4aa
Commit
6bf8e4aa
authored
Apr 02, 2026
by
ryzeycy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
45095df1
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1051 additions
and
1142 deletions
+1051
-1142
src/main/java/com/example/pdfgenerator/config/MyDataSourceConfig.java
...a/com/example/pdfgenerator/config/MyDataSourceConfig.java
+5
-5
src/main/java/com/example/pdfgenerator/controller/GeneratorAllTypePdfByProvinceController.java
...r/controller/GeneratorAllTypePdfByProvinceController.java
+484
-575
src/main/java/com/example/pdfgenerator/controller/GeneratorAllTypePdfByProvinceXxController.java
...controller/GeneratorAllTypePdfByProvinceXxController.java
+559
-559
src/main/resources/application.yml
src/main/resources/application.yml
+3
-3
No files found.
src/main/java/com/example/pdfgenerator/config/MyDataSourceConfig.java
View file @
6bf8e4aa
...
...
@@ -32,10 +32,10 @@ public class MyDataSourceConfig {
@PostConstruct
private
void
init
()
{
initReport
();
initMkReport
();
//
initMkReport();
// initCampCenter();
// initBasic();
initTest
();
//
initTest();
}
...
...
@@ -86,10 +86,10 @@ public class MyDataSourceConfig {
System
.
err
.
println
(
"print init reportSource..."
);
//外网
String
url
=
"jdbc:mysql://192.168.0.
46
:3306/tempnew?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8"
;
String
url
=
"jdbc:mysql://192.168.0.
11
:3306/tempnew?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8"
;
DruidDataSource
dataSource
=
getDataSource
(
url
);
dataSource
.
setUsername
(
"
jiru
"
);
dataSource
.
setPassword
(
"
Jiru@20231026
"
);
dataSource
.
setUsername
(
"
root
"
);
dataSource
.
setPassword
(
"
Thu#DSS#0419
"
);
reportJdbcTemplate
=
new
JdbcTemplate
(
dataSource
);
return
dataSource
;
...
...
src/main/java/com/example/pdfgenerator/controller/GeneratorAllTypePdfByProvinceController.java
View file @
6bf8e4aa
This diff is collapsed.
Click to expand it.
src/main/java/com/example/pdfgenerator/controller/GeneratorAllTypePdfByProvinceXxController.java
View file @
6bf8e4aa
This diff is collapsed.
Click to expand it.
src/main/resources/application.yml
View file @
6bf8e4aa
...
...
@@ -3,9 +3,9 @@ server:
spring
:
datasource
:
url
:
jdbc:mysql://192.168.0.
46
:3306/tempnew?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username
:
jiru
password
:
Jiru@20231026
url
:
jdbc:mysql://192.168.0.
11
:3306/tempnew?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username
:
root
password
:
Thu#DSS#0419
druid
:
initial-size
:
5
max-active
:
200
...
...
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