...
|
...
|
@@ -126,7 +126,7 @@ public class ReportController { |
|
|
double score = 0;
|
|
|
XklAmpReportEntity report=xklAmpReportRespository.findOne(report_id);
|
|
|
if(report != null ){
|
|
|
if(report.getScore()==0){//首次调用接口,score为0
|
|
|
if (report.getScore() == 0 || report.getScore() == null) {//首次调用接口,score为0
|
|
|
//TODO:可以在上传时直接打分?
|
|
|
//单独测试需要删除xkl_amp_report_health_scroe表中数据
|
|
|
score = scoreService.getScore(report_id);
|
...
|
...
|
|