| | |
| | | import com.ruoyi.system.query.TFlowManagementQuery; |
| | | import com.ruoyi.system.service.TFlowManagementService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.system.vo.TFlowManagementStatisticsVo; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | |
| | | .ge(StringUtils.isNotEmpty(query.getPayStartTime()),TFlowManagement::getPayTime,query.getPayStartTime()) |
| | | .lt(StringUtils.isNotEmpty(query.getPayEndTime()),TFlowManagement::getPayTime,query.getPayEndTime()) |
| | | .eq(null != query.getFlowStatus(),TFlowManagement::getFlowStatus,query.getFlowStatus()) |
| | | .eq(null != query.getFlowType(),TFlowManagement::getFlowType, query.getFlowType()) |
| | | .orderByDesc(TFlowManagement::getCreateTime) |
| | | ; |
| | | return this.baseMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public TFlowManagementStatisticsVo getPaymentStats(TFlowManagementQuery query) { |
| | | return this.baseMapper.getPaymentStats(query); |
| | | } |
| | | |
| | | } |