44444
This commit is contained in:
parent
f47161fcc8
commit
8b96dd8325
@ -16,6 +16,7 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
@ -73,6 +74,9 @@ public class RewardPointService {
|
||||
if (caseClinicalDoctor == null) {
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}else{
|
||||
if (Objects.equals(caseClinicalDoctor.getDoctorIden(), "")){
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}
|
||||
authorList.add(caseClinicalDoctor.getDoctorIden());
|
||||
}
|
||||
}
|
||||
@ -90,6 +94,9 @@ public class RewardPointService {
|
||||
if (caseClinicalDoctor == null) {
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}else {
|
||||
if (Objects.equals(caseClinicalDoctor.getDoctorIden(), "")){
|
||||
authorList.add(appConfig.getPlatformPointAccount());
|
||||
}
|
||||
authorList.add(caseClinicalDoctor.getDoctorIden());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user