|
@@ -19,6 +19,8 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.Objects;
|
|
|
+
|
|
|
/**
|
|
|
* @Author Joburgess
|
|
|
* @Date 2020.07.07
|
|
@@ -41,6 +43,9 @@ public class ExamManualLedgerController extends BaseController {
|
|
|
ModelMap model = new ModelMap();
|
|
|
model.put("pageInfo", pageInfo);
|
|
|
model.put("totalAmount", examManualLedgerService.queryTotalAmount(queryInfo));
|
|
|
+ if(Objects.nonNull(queryInfo.getExamId())){
|
|
|
+ model.put("statistics", examManualLedgerService.getExamManualLedgerStatistics(OrganContextHolder.getOrganId(),queryInfo.getExamId(),queryInfo.getTargetOrganId()));
|
|
|
+ }
|
|
|
return succeed(model);
|
|
|
}
|
|
|
|