|
@@ -42,15 +42,36 @@ public class BkBankCardController extends BaseController {
|
42
|
42
|
@Autowired
|
43
|
43
|
public IBkBankCardService iBkBankCardService;
|
44
|
44
|
|
|
45
|
+ /**
|
|
46
|
+ * 管理端获取经纪人银行卡列表
|
|
47
|
+ * @param personId
|
|
48
|
+ * @return
|
|
49
|
+ */
|
|
50
|
+ @RequestMapping(value="/admin/bkBankCard",method= RequestMethod.GET)
|
|
51
|
+ @ApiOperation(value="管理端获取经纪人银行卡列表", notes = "管理端获取经纪人银行卡列表", httpMethod = "GET", response = ResponseBean.class)
|
|
52
|
+ public ResponseBean getBankCardList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
|
53
|
+ @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
|
54
|
+ @ApiParam("人员ID") @RequestParam(value ="personId") String personId,
|
|
55
|
+ HttpServletRequest request) throws Exception {
|
|
56
|
+
|
|
57
|
+ IPage<BkBankCard> pg = new Page<>(pageNum, pageSize);
|
|
58
|
+ QueryWrapper<BkBankCard> queryWrapper = new QueryWrapper<>();
|
|
59
|
+ queryWrapper.gt("status", CommConstant.STATUS_DELETE);
|
|
60
|
+ queryWrapper.eq("person_id", personId);
|
|
61
|
+ queryWrapper.orderByDesc("create_date");
|
|
62
|
+
|
|
63
|
+ IPage<BkBankCard> result = iBkBankCardService.page(pg, queryWrapper);
|
|
64
|
+ return ResponseBean.success(result);
|
|
65
|
+ }
|
45
|
66
|
|
46
|
67
|
/**
|
47
|
|
- * 分页查询列表
|
|
68
|
+ * 小程序端获取经纪人银行卡列表
|
48
|
69
|
* @param pageNum
|
49
|
70
|
* @param pageSize
|
50
|
71
|
* @return
|
51
|
72
|
*/
|
52
|
73
|
@RequestMapping(value="/wx/bkBankCard",method= RequestMethod.GET)
|
53
|
|
- @ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
|
|
74
|
+ @ApiOperation(value="小程序端获取经纪人银行卡列表", notes = "小程序端获取经纪人银行卡列表", httpMethod = "GET", response = ResponseBean.class)
|
54
|
75
|
public ResponseBean bkBankCardList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
55
|
76
|
@ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
|
56
|
77
|
HttpServletRequest request) throws Exception {
|