|
@@ -5,6 +5,7 @@ import com.keao.edu.auth.api.entity.SysUser;
|
|
import com.keao.edu.common.controller.BaseController;
|
|
import com.keao.edu.common.controller.BaseController;
|
|
import com.keao.edu.common.entity.HttpResponseResult;
|
|
import com.keao.edu.common.entity.HttpResponseResult;
|
|
import com.keao.edu.common.page.PageInfo;
|
|
import com.keao.edu.common.page.PageInfo;
|
|
|
|
+import com.keao.edu.common.tenant.TenantContextHolder;
|
|
import com.keao.edu.user.dto.ExaminationBasicDto;
|
|
import com.keao.edu.user.dto.ExaminationBasicDto;
|
|
import com.keao.edu.user.entity.Employee;
|
|
import com.keao.edu.user.entity.Employee;
|
|
import com.keao.edu.user.entity.ExaminationBasic;
|
|
import com.keao.edu.user.entity.ExaminationBasic;
|
|
@@ -113,4 +114,12 @@ public class ExaminationBasicController extends BaseController {
|
|
public HttpResponseResult<ExaminationBasic> getInfo(Integer examId){
|
|
public HttpResponseResult<ExaminationBasic> getInfo(Integer examId){
|
|
return succeed(examinationBasicService.getInfo(examId));
|
|
return succeed(examinationBasicService.getInfo(examId));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation("获取首页收入支出")
|
|
|
|
+ @PostMapping(value = "/homeBalanceOfPayment")
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('examinationBasic/homeBalanceOfPayment')")
|
|
|
|
+ public HttpResponseResult homeBalanceOfPayment(Integer day){
|
|
|
|
+ String tenantId = TenantContextHolder.getTenantId();
|
|
|
|
+ return succeed(examinationBasicService.homeBalanceOfPayment(tenantId,day));
|
|
|
|
+ }
|
|
}
|
|
}
|