|
|
@@ -65,8 +65,14 @@ public class WxBillRentController extends BaseController { |
|
|
|
|
|
|
|
|
@GetMapping("/findByMerchantId") |
|
|
@GetMapping("/findByMerchantId") |
|
|
@ApiImplicitParam(name = "merchantId", value = "merchantId", dataType = "Long", paramType = "query", required = true) |
|
|
@ApiImplicitParam(name = "merchantId", value = "merchantId", dataType = "Long", paramType = "query", required = true) |
|
|
public ResultData findByMerchantId(Long id) { |
|
|
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", wxBillRentService.findByMerchantId(id)); |
|
|
|
|
|
|
|
|
public ResultData findByMerchantId(Long merchantId) { |
|
|
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", wxBillRentService.findByMerchantId(merchantId)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/updatePaid") |
|
|
|
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) |
|
|
|
|
|
public ResultData updatePaid(Long id) { |
|
|
|
|
|
return wxBillRentService.updatePaid(id); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |