44444
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user