修改发放积分
This commit is contained in:
parent
8b96dd8325
commit
f2581d421c
@ -74,13 +74,14 @@ public class RewardPointService {
|
||||
if (caseClinicalDoctor == null) {
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}else{
|
||||
if (Objects.equals(caseClinicalDoctor.getDoctorIden(), "")){
|
||||
if (caseClinicalDoctor.getDoctorIden() == null){
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}
|
||||
}else{
|
||||
authorList.add(caseClinicalDoctor.getDoctorIden());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 视频
|
||||
if (r.getType() == 2){
|
||||
@ -94,13 +95,14 @@ public class RewardPointService {
|
||||
if (caseClinicalDoctor == null) {
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}else {
|
||||
if (Objects.equals(caseClinicalDoctor.getDoctorIden(), "")){
|
||||
if (caseClinicalDoctor.getDoctorIden() == null){
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}
|
||||
}else{
|
||||
authorList.add(caseClinicalDoctor.getDoctorIden());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 病例交流
|
||||
if (r.getType() == 3){
|
||||
@ -128,7 +130,7 @@ public class RewardPointService {
|
||||
}
|
||||
|
||||
String authors = String.join(",", authorList);
|
||||
|
||||
System.out.println(authors);
|
||||
reward.RewardPoint(user.getUserIden(),r.getPoint(),authors);
|
||||
|
||||
// 添加打赏记录
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user