Commit 45cb9754 authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent 6e924bf4
...@@ -137,7 +137,7 @@ public class CheckAllRecordController extends BaseJsonBodyController { ...@@ -137,7 +137,7 @@ public class CheckAllRecordController extends BaseJsonBodyController {
model.put("checkPercent",numberFormat.format(checkPercent)); model.put("checkPercent",numberFormat.format(checkPercent));
BigDecimal appealPercent = current.getAppealScore().divide(current.getInitScore(),6,BigDecimal.ROUND_HALF_UP); BigDecimal appealPercent = current.getAppealScore().divide(current.getInitScore(),6,BigDecimal.ROUND_HALF_UP);
model.put("appealPercent",numberFormat.format(appealPercent)); model.put("appealPercent",numberFormat.format(appealPercent));
}
CheckAllScoreSummaryVo last = checkAllRecordService.getScoreSummary(lastQuery); CheckAllScoreSummaryVo last = checkAllRecordService.getScoreSummary(lastQuery);
if(last!=null){ if(last!=null){
BigDecimal huanbi = current.getTotal().subtract(last.getTotal()); BigDecimal huanbi = current.getTotal().subtract(last.getTotal());
...@@ -169,6 +169,7 @@ public class CheckAllRecordController extends BaseJsonBodyController { ...@@ -169,6 +169,7 @@ public class CheckAllRecordController extends BaseJsonBodyController {
model.put("tongbi",numberFormat.format(tongbi)); model.put("tongbi",numberFormat.format(tongbi));
} }
} }
}
model.put("message_info", busiDesc + "成功"); model.put("message_info", busiDesc + "成功");
if (!ObjectUtils.isEmpty(context) && !ObjectUtils.isEmpty(context.getUser())) { if (!ObjectUtils.isEmpty(context) && !ObjectUtils.isEmpty(context.getUser())) {
......
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