use of com.tony.billing.entity.query.ReportEntityQuery in project BillingDubbo by TonyJiangWJ.
the class CostReportServiceImpl method getReportInfo.
private ReportEntity getReportInfo(String datePrefix, Long userId) {
ReportEntityQuery query = new ReportEntityQuery();
query.setDatePrefix(datePrefix);
query.setUserId(userId);
RawReportEntity reportEntity = costReportMapper.getReportTypeAmountByCondition(query);
if (reportEntity != null) {
return new ReportEntity(datePrefix, reportEntity);
} else {
return null;
}
}
Aggregations