Commit 47299126 by 程裕兵

feat:statistic

parent 91df4af7
......@@ -184,6 +184,8 @@ public class StudioCashierRecordRpService extends
public StudioCashierStatisticVO statistic(PageBrandCashierRecordQuery query) {
if (null == query.getTransType() || BrandCashierTransTypeEnum.PAY.getCode()
.equals(query.getTransType())) {
query.setTransStateList(
CollectionUtil.isEmpty(query.getTransStateList()) ? null : query.getTransStateList());
return this.baseMapper.statistic(query);
}
return this.baseMapper.statisticRefund(query);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment