|
|
|
|
@ -1,25 +1,19 @@
|
|
|
|
|
package com.ruoyi.szxc.controller;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import com.ruoyi.common.annotation.Log;
|
|
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
import com.ruoyi.common.enums.BusinessType;
|
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
|
import com.ruoyi.szxc.domain.SzxcBankcardInfo;
|
|
|
|
|
import com.ruoyi.szxc.service.ISzxcBankcardInfoService;
|
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 银行卡信息Controller
|
|
|
|
|
@ -90,6 +84,16 @@ public class SzxcBankcardInfoController extends BaseController
|
|
|
|
|
{
|
|
|
|
|
return toAjax(szxcBankcardInfoService.updateSzxcBankcardInfo(szxcBankcardInfo));
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 修改默认银行卡接口
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('szxc:bankinfo:edit')")
|
|
|
|
|
@Log(title = "银行卡信息", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping("/editDefault")
|
|
|
|
|
public AjaxResult editDefault(@RequestBody SzxcBankcardInfo szxcBankcardInfo)
|
|
|
|
|
{
|
|
|
|
|
return toAjax(szxcBankcardInfoService.updateSzxcBankcardInfo2(szxcBankcardInfo));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除银行卡信息
|
|
|
|
|
|