Commit a6b4628f by huluobin

bug fix

parent 7df40bfe
......@@ -36,7 +36,11 @@ public class TechScoreRulesServiceImpl extends ServiceImpl<TechScoreRulesMapper,
.eq(Career::getTechnicianId, technicianId));
TechScore techScore = new TechScore();
techScore.setTechScoreRulesList(techScoreRulesList);
if (career != null) {
techScore.setTechScore(career.getTechScore());
} else {
techScore.setTechScore(0);
}
return techScore;
}
}
......@@ -25,7 +25,7 @@ import java.util.Enumeration;
@Slf4j
public class RRExceptionHandler {
@Value("${spring.profiles}")
@Value("${spring.profiles.active}")
private String profile;
@Resource
......
......@@ -54,6 +54,17 @@ spring:
min-idle: 0
timeout: 60000ms
mail:
host: smtp.qq.com
username: robbendev@qq.com
password: hccmfwhgcrnccagh
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
#项目属性
gogirl:
......
......@@ -55,6 +55,17 @@ spring:
min-idle: 0
timeout: 60000ms
mail:
host: smtp.qq.com
username: robbendev@qq.com
password: hccmfwhgcrnccagh
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
#项目属性
gogirl:
......
......@@ -54,6 +54,17 @@ spring:
min-idle: 0
timeout: 60000ms
mail:
host: smtp.qq.com
username: robbendev@qq.com
password: hccmfwhgcrnccagh
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
#项目属性
gogirl:
......
spring:
profiles:
active: prod
active: pre
servlet:
#文件上传最大容量
multipart:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment