Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
gogirl-miniapp-backend
Commits
a6b4628f
Commit
a6b4628f
authored
Apr 11, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
7df40bfe
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
2 deletions
+39
-2
TechScoreRulesServiceImpl.java
...lication/store/career/impl/TechScoreRulesServiceImpl.java
+4
-0
RRExceptionHandler.java
...l/infrastructure/common/exception/RRExceptionHandler.java
+1
-1
application-dev.yml
src/main/resources/application-dev.yml
+11
-0
application-pre.yml
src/main/resources/application-pre.yml
+11
-0
application-test.yml
src/main/resources/application-test.yml
+11
-0
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/gogirl/application/store/career/impl/TechScoreRulesServiceImpl.java
View file @
a6b4628f
...
@@ -36,7 +36,11 @@ public class TechScoreRulesServiceImpl extends ServiceImpl<TechScoreRulesMapper,
...
@@ -36,7 +36,11 @@ public class TechScoreRulesServiceImpl extends ServiceImpl<TechScoreRulesMapper,
.
eq
(
Career:
:
getTechnicianId
,
technicianId
));
.
eq
(
Career:
:
getTechnicianId
,
technicianId
));
TechScore
techScore
=
new
TechScore
();
TechScore
techScore
=
new
TechScore
();
techScore
.
setTechScoreRulesList
(
techScoreRulesList
);
techScore
.
setTechScoreRulesList
(
techScoreRulesList
);
if
(
career
!=
null
)
{
techScore
.
setTechScore
(
career
.
getTechScore
());
techScore
.
setTechScore
(
career
.
getTechScore
());
}
else
{
techScore
.
setTechScore
(
0
);
}
return
techScore
;
return
techScore
;
}
}
}
}
src/main/java/com/gogirl/infrastructure/common/exception/RRExceptionHandler.java
View file @
a6b4628f
...
@@ -25,7 +25,7 @@ import java.util.Enumeration;
...
@@ -25,7 +25,7 @@ import java.util.Enumeration;
@Slf4j
@Slf4j
public
class
RRExceptionHandler
{
public
class
RRExceptionHandler
{
@Value
(
"${spring.profiles}"
)
@Value
(
"${spring.profiles
.active
}"
)
private
String
profile
;
private
String
profile
;
@Resource
@Resource
...
...
src/main/resources/application-dev.yml
View file @
a6b4628f
...
@@ -54,6 +54,17 @@ spring:
...
@@ -54,6 +54,17 @@ spring:
min-idle
:
0
min-idle
:
0
timeout
:
60000ms
timeout
:
60000ms
mail
:
host
:
smtp.qq.com
username
:
robbendev@qq.com
password
:
hccmfwhgcrnccagh
properties
:
mail
:
smtp
:
auth
:
true
starttls
:
enable
:
true
required
:
true
#项目属性
#项目属性
gogirl
:
gogirl
:
...
...
src/main/resources/application-pre.yml
View file @
a6b4628f
...
@@ -55,6 +55,17 @@ spring:
...
@@ -55,6 +55,17 @@ spring:
min-idle
:
0
min-idle
:
0
timeout
:
60000ms
timeout
:
60000ms
mail
:
host
:
smtp.qq.com
username
:
robbendev@qq.com
password
:
hccmfwhgcrnccagh
properties
:
mail
:
smtp
:
auth
:
true
starttls
:
enable
:
true
required
:
true
#项目属性
#项目属性
gogirl
:
gogirl
:
...
...
src/main/resources/application-test.yml
View file @
a6b4628f
...
@@ -54,6 +54,17 @@ spring:
...
@@ -54,6 +54,17 @@ spring:
min-idle
:
0
min-idle
:
0
timeout
:
60000ms
timeout
:
60000ms
mail
:
host
:
smtp.qq.com
username
:
robbendev@qq.com
password
:
hccmfwhgcrnccagh
properties
:
mail
:
smtp
:
auth
:
true
starttls
:
enable
:
true
required
:
true
#项目属性
#项目属性
gogirl
:
gogirl
:
...
...
src/main/resources/application.yml
View file @
a6b4628f
spring
:
spring
:
profiles
:
profiles
:
active
:
pr
od
active
:
pr
e
servlet
:
servlet
:
#文件上传最大容量
#文件上传最大容量
multipart
:
multipart
:
...
...
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