|
|
@ -125,6 +125,7 @@ public class BsMerchantAccountController { |
|
|
|
param.put("provinceCode", provinceCode); |
|
|
|
param.put("provinceCode", provinceCode); |
|
|
|
param.put("cityCode", cityCode); |
|
|
|
param.put("cityCode", cityCode); |
|
|
|
param.put("areaCode", areaCode); |
|
|
|
param.put("areaCode", areaCode); |
|
|
|
|
|
|
|
param.put("chainBrandIdIsNull", true); |
|
|
|
|
|
|
|
|
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
|
return ResponseMsgUtil.success(new PageInfo<>(merchantAccountService.getMerList(param))); |
|
|
|
return ResponseMsgUtil.success(new PageInfo<>(merchantAccountService.getMerList(param))); |
|
|
@ -148,9 +149,9 @@ public class BsMerchantAccountController { |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的商户"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的商户"); |
|
|
|
} |
|
|
|
} |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
|
|
|
|
param.put("merNo", merNo); |
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
|
PageHelper.startPage(pageNum,pageSize); |
|
|
|
if (merchant.getChainBrandId() != null && merchant.getChainBrandSettleType().equals(MerchantChainBrandSettleTypeEnum.type1.getNumber())) { |
|
|
|
/* if (merchant.getChainBrandId() != null && merchant.getChainBrandSettleType().equals(MerchantChainBrandSettleTypeEnum.type1.getNumber())) { |
|
|
|
// 连锁额度账户
|
|
|
|
// 连锁额度账户
|
|
|
|
BsMerchantChainBrandAccount brandAccount = merchantChainBrandAccountService.getAccount(merchant.getChainBrandId()); |
|
|
|
BsMerchantChainBrandAccount brandAccount = merchantChainBrandAccountService.getAccount(merchant.getChainBrandId()); |
|
|
|
param.put("merChainBrandAccountId", brandAccount.getId()); |
|
|
|
param.put("merChainBrandAccountId", brandAccount.getId()); |
|
|
@ -159,7 +160,8 @@ public class BsMerchantAccountController { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
param.put("merNo", merNo); |
|
|
|
param.put("merNo", merNo); |
|
|
|
return ResponseMsgUtil.success(new PageInfo<>(merchantAccountRecordService.getList(param))); |
|
|
|
return ResponseMsgUtil.success(new PageInfo<>(merchantAccountRecordService.getList(param))); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
return ResponseMsgUtil.success(new PageInfo<>(merchantAccountRecordService.getList(param))); |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("BsMerchantAccountController --> getRecordList() error!", e); |
|
|
|
log.error("BsMerchantAccountController --> getRecordList() error!", e); |
|
|
|