|
|
@@ -0,0 +1,37 @@
|
|
|
+package com.sckw.payment.controller;
|
|
|
+
|
|
|
+import com.sckw.core.web.response.HttpResult;
|
|
|
+import com.sckw.payment.model.vo.req.FinanceCount;
|
|
|
+import com.sckw.payment.service.WorkbenchService;
|
|
|
+import jakarta.annotation.Resource;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 工作台
|
|
|
+ *
|
|
|
+ * @author xucaiqin
|
|
|
+ * @date 2023-08-28 15:36:48
|
|
|
+ */
|
|
|
+@Validated
|
|
|
+@RestController
|
|
|
+@RequestMapping("/workbench")
|
|
|
+@Slf4j
|
|
|
+public class WorkbenchController {
|
|
|
+ @Resource
|
|
|
+ private WorkbenchService workbenchService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 财务数据
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("finance")
|
|
|
+ public HttpResult finance(FinanceCount financeCount) {
|
|
|
+ return HttpResult.ok(workbenchService.financeCount(financeCount));
|
|
|
+ }
|
|
|
+
|
|
|
+}
|