From 83451f4b1245fac6321a66a449861512930ad84f Mon Sep 17 00:00:00 2001 From: JIAN Date: Fri, 30 Aug 2024 16:51:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(customer):=E6=96=B0=E5=A2=9E=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=AB=AF=E6=9F=A5=E8=AF=A2=E6=9C=8D=E5=8A=A1=E4=BA=BA?= =?UTF-8?q?=E5=91=98/=E6=9C=BA=E6=9E=84=E9=93=B6=E8=A1=8C=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E7=9A=84=E7=9B=B8=E5=85=B3=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/operation/BankAccountController.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/jzo2o-customer/src/main/java/com/jzo2o/customer/controller/operation/BankAccountController.java b/jzo2o-customer/src/main/java/com/jzo2o/customer/controller/operation/BankAccountController.java index 466f864..d381f83 100644 --- a/jzo2o-customer/src/main/java/com/jzo2o/customer/controller/operation/BankAccountController.java +++ b/jzo2o-customer/src/main/java/com/jzo2o/customer/controller/operation/BankAccountController.java @@ -2,7 +2,7 @@ package com.jzo2o.customer.controller.operation; import cn.hutool.core.bean.BeanUtil; import com.jzo2o.customer.model.dto.response.BankAccountResDTO; -//import com.jzo2o.customer.service.IBankAccountService; +import com.jzo2o.customer.service.IBankAccountService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; @@ -19,14 +19,12 @@ import javax.annotation.Resource; @RequestMapping("/operation/bank-account") @Api(tags = "运营端 - 银行账户信息相关接口") public class BankAccountController { - -// @Resource -// private IBankAccountService bankAccountService; + @Resource + private IBankAccountService bankAccountService; @GetMapping("/{id}") @ApiOperation("根据服务人员/机构id查询银行账户信息") public BankAccountResDTO queryByServeProviderId(@PathVariable("id") Long id) { -// return BeanUtil.toBean(bankAccountService.getById(id), BankAccountResDTO.class); - return new BankAccountResDTO(); + return BeanUtil.toBean(bankAccountService.getById(id), BankAccountResDTO.class); } -} +} \ No newline at end of file