From 4f3441c452e49ba339fb50fb83c05e0e0f083eb9 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期四, 09 十月 2025 15:18:58 +0800 Subject: [PATCH] 对象实体生成 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCrmChangePointsController.java | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCrmChangePointsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCrmChangePointsController.java index bc4332c..bc9b9cb 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCrmChangePointsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCrmChangePointsController.java @@ -1,6 +1,19 @@ package com.ruoyi.web.controller.api; +import com.ruoyi.common.basic.PageInfo; +import com.ruoyi.common.core.domain.R; +import com.ruoyi.framework.web.service.TokenService; +import com.ruoyi.system.query.TCrmBranchQuery; +import com.ruoyi.system.query.TCrmChangePointsQuery; +import com.ruoyi.system.service.*; +import com.ruoyi.system.vo.TCrmBranchVO; +import com.ruoyi.system.vo.TCrmChangePointsVO; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -13,9 +26,44 @@ * @author xiaochen * @since 2025-09-02 */ +@Api(tags = "修改积分记录") @RestController @RequestMapping("/t-crm-change-points") public class TCrmChangePointsController { + + private final TCrmChangePointsService crmChangePointsService; + private final TokenService tokenService; + @Autowired + public TCrmChangePointsController(TCrmChangePointsService crmChangePointsService, TokenService tokenService) { + this.crmChangePointsService = crmChangePointsService; + this.tokenService = tokenService; + } + + /** + * 分公司积分变更明细分页列表 + */ +// @ApiOperation(value = "分公司积分变更明细分页列表") +// @PostMapping(value = "/pageListBranch") +// public R<PageInfo<TCrmChangePointsVO>> pageListBranch(@RequestBody TCrmChangePointsQuery query) { +// return R.ok(crmChangePointsService.pageListBranch(query)); +// } +// /** +// * 业务员积分变更明细分页列表 +// */ +// @ApiOperation(value = "业务员积分变更明细分页列表") +// @PostMapping(value = "/pageListBranch") +// public R<PageInfo<TCrmChangePointsVO>> pageListSalesperson(@RequestBody TCrmChangePointsQuery query) { +// return R.ok(crmChangePointsService.pageListSalesperson(query)); +// } +// /** +// * 诊所积分变更明细分页列表 +// */ +// @ApiOperation(value = "诊所积分变更明细分页列表") +// @PostMapping(value = "/pageListClinic") +// public R<PageInfo<TCrmChangePointsVO>> pageListClinic(@RequestBody TCrmChangePointsQuery query) { +// return R.ok(crmChangePointsService.pageListClinic(query)); +// } + } -- Gitblit v1.7.1