|
|
|
@@ -214,6 +214,29 @@ public class WxBillController extends BaseController { |
|
|
|
return new ResultData(result); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("支付") |
|
|
|
@PostMapping("payBill") |
|
|
|
public ResultData payBill(@RequestBody WxBillPayDTO payDto) { |
|
|
|
if (null == payDto.getBillTypeValue() || null == payDto.getId() || StringUtils.isBlank(payDto.getAddpay())) { |
|
|
|
return new ResultData(Result.ERROR,"参数错误"); |
|
|
|
} |
|
|
|
// EnumBillAllType btype; |
|
|
|
// if (billTypeValue.intValue() == Constant.bill_all_type_manage_fee) { |
|
|
|
// btype = EnumBillAllType.RENT_BUSSINESS_MANAGE; |
|
|
|
// }else { |
|
|
|
// btype = EnumBillAllType.getEnum(billTypeValue); |
|
|
|
// if (null == btype) { |
|
|
|
// return new ResultData(Result.ERROR,"分类非法"); |
|
|
|
// } |
|
|
|
// } |
|
|
|
// wxMerchant.setId(this.getLoginBUser().getMerchantId()); |
|
|
|
// wxMerchant.updateTenantInfo(getTenantInfo()); |
|
|
|
// return new ResultData(billAllHelper.getBillList(btype, wxMerchant,pageNum,pageSize)); |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @ApiOperation("分类查询账单") |
|
|
|
// @PostMapping("listBill") |
|
|
|
// public ResultData listBill(@RequestBody WxBillAll wxBillAll) { |
|
|
|
|