Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
data-server
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
data-server
Commits
96831c36
Commit
96831c36
authored
4 years ago
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据库密码
parent
16964532
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
93 additions
and
97 deletions
+93
-97
DayTaskServiceImpl.java
...ava/cn/wisenergy/service/app/impl/DayTaskServiceImpl.java
+2
-1
UserLevelServiceImpl.java
...a/cn/wisenergy/service/app/impl/UserLevelServiceImpl.java
+86
-85
UserLevelController.java
...senergy/web/admin/controller/app/UserLevelController.java
+0
-6
application-dev.yml
wisenergy-web-admin/src/main/resources/application-dev.yml
+1
-1
application-prod.yml
wisenergy-web-admin/src/main/resources/application-prod.yml
+3
-3
application.yml
wisenergy-web-admin/src/main/resources/application.yml
+1
-1
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/DayTaskServiceImpl.java
View file @
96831c36
...
@@ -409,7 +409,8 @@ public class DayTaskServiceImpl implements DayTaskService {
...
@@ -409,7 +409,8 @@ public class DayTaskServiceImpl implements DayTaskService {
growthRate
=
(
month
-
last
)
/
last
;
growthRate
=
(
month
-
last
)
/
last
;
}
}
}
}
teamVo
.
setGrowthRate
(
growthRate
);
BigDecimal
grow
=
new
BigDecimal
(
growthRate
).
setScale
(
2
,
RoundingMode
.
HALF_UP
);
teamVo
.
setGrowthRate
(
grow
.
doubleValue
());
double
monthPerformance
;
double
monthPerformance
;
assert
teamPerformance
!=
null
;
assert
teamPerformance
!=
null
;
if
(
null
==
teamPerformance
.
getMonthTeamPerformance
())
{
if
(
null
==
teamPerformance
.
getMonthTeamPerformance
())
{
...
...
This diff is collapsed.
Click to expand it.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/UserLevelServiceImpl.java
View file @
96831c36
This diff is collapsed.
Click to expand it.
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/UserLevelController.java
View file @
96831c36
...
@@ -126,10 +126,4 @@ public class UserLevelController {
...
@@ -126,10 +126,4 @@ public class UserLevelController {
recommendUserService
.
clearMonthCount
();
recommendUserService
.
clearMonthCount
();
}
}
// @ApiOperation(value = "订单测试用户直推的当月收益累加", notes = "订单测试用户直推的当月收益累加", httpMethod = "GET")
// @GetMapping("/jsonOrder")
// public void jsonOrder() throws IOException {
//
// orderService.orderJSON();
// }
}
}
This diff is collapsed.
Click to expand it.
wisenergy-web-admin/src/main/resources/application-dev.yml
View file @
96831c36
...
@@ -18,7 +18,7 @@ spring:
...
@@ -18,7 +18,7 @@ spring:
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://8.131.244.76:3306/shop-mall?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://8.131.244.76:3306/shop-mall?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2B8
username
:
root
username
:
root
password
:
PRMHmHBr
password
:
qzh@xitiansen
initial-size
:
10
initial-size
:
10
max-active
:
100
max-active
:
100
min-idle
:
10
min-idle
:
10
...
...
This diff is collapsed.
Click to expand it.
wisenergy-web-admin/src/main/resources/application-prod.yml
View file @
96831c36
...
@@ -3,9 +3,9 @@ spring:
...
@@ -3,9 +3,9 @@ spring:
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
druid
:
druid
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://
127.0.0.1
:3306/shop-mall?useUnicode=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
8.140.108.250
:3306/shop-mall?useUnicode=true&serverTimezone=GMT%2B8
username
:
xitiansen
username
:
xitiansen
password
:
RmRDH8xCxDjDjxM5
password
:
adm4HYservice
initial-size
:
10
initial-size
:
10
max-active
:
100
max-active
:
100
min-idle
:
10
min-idle
:
10
...
@@ -36,7 +36,7 @@ spring:
...
@@ -36,7 +36,7 @@ spring:
redis
:
redis
:
open
:
false
# 是否开启redis缓存 true开启 false关闭
open
:
false
# 是否开启redis缓存 true开启 false关闭
database
:
0
database
:
0
host
:
127.0.0.1
host
:
8.140.108.250
port
:
6379
port
:
6379
password
:
1qaz@WSX
password
:
1qaz@WSX
timeout
:
6000ms
timeout
:
6000ms
...
...
This diff is collapsed.
Click to expand it.
wisenergy-web-admin/src/main/resources/application.yml
View file @
96831c36
...
@@ -8,7 +8,7 @@ server:
...
@@ -8,7 +8,7 @@ server:
max-http-form-post-size
:
1024MB
max-http-form-post-size
:
1024MB
# 1 073 741 824
# 1 073 741 824
port
:
8
997
port
:
8
1
servlet
:
servlet
:
context-path
:
/shop-mall
context-path
:
/shop-mall
...
...
This diff is collapsed.
Click to expand it.
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