|
|
@@ -0,0 +1,29 @@
|
|
|
+package com.fs.company.controller.course;
|
|
|
+
|
|
|
+
|
|
|
+import com.fs.common.core.controller.BaseController;
|
|
|
+import com.fs.common.core.page.TableDataInfo;
|
|
|
+import com.fs.his.domain.FsCourseCouponUser;
|
|
|
+import com.fs.his.service.IFsCourseCouponUserService;
|
|
|
+import com.fs.his.vo.FsCourseCouponUserRecordVO;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("/course/courseCouponUser")
|
|
|
+public class FsCourseCouponUserController extends BaseController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IFsCourseCouponUserService courseCouponUserService;
|
|
|
+
|
|
|
+ @GetMapping("/getRecordList")
|
|
|
+ public TableDataInfo getRecordList(FsCourseCouponUser courseCouponUser) {
|
|
|
+ startPage();
|
|
|
+ List<FsCourseCouponUserRecordVO> vos = courseCouponUserService.selectCourseCouponUserRecordList(courseCouponUser);
|
|
|
+ return getDataTable(vos);
|
|
|
+ }
|
|
|
+}
|