|
|
|
@@ -84,14 +84,14 @@ public class WxBillPropertyController extends BaseController { |
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", wxBillPropertyService.detail(id)); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/findByMerchantId") |
|
|
|
@GetMapping("/findByPropertyContractId") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "merchantId", value = "merchantId", dataType = "Long", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "propertyContractId", value = "merchantId", dataType = "Long", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData findByMerchantId(Long merchantId, Integer pageNum, Integer pageSize) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxBillPropertyController::findByMerchantId"); |
|
|
|
final PageInfo<Map<String, Object>> page = wxBillPropertyService.findByMerchantId(merchantId, getTenantId(), pageNum, pageSize); |
|
|
|
public ResultData findByPropertyContractId(Long propertyContractId, Integer pageNum, Integer pageSize) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxBillPropertyController::findByPropertyContractId"); |
|
|
|
final PageInfo<Map<String, Object>> page = wxBillPropertyService.findByPropertyContractId(propertyContractId, getTenantId(), pageNum, pageSize); |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
} |