| | |
| | | package com.stylefeng.guns.modular.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.stylefeng.guns.core.util.ToolUtil; |
| | | import com.stylefeng.guns.modular.system.model.TOrderCrossCity; |
| | | import com.stylefeng.guns.modular.system.dao.TOrderCrossCityMapper; |
| | | import com.stylefeng.guns.modular.system.service.ITOrderCrossCityService; |
| | |
| | | int size = this.selectCount(null); |
| | | return "CROSS" + String.valueOf(1000000 + size + 1).substring(1); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> paymentOrderStatisticsList(Page<Map<String, Object>> page, String paymentCode, String orderCode, String userPhone, String driverPhone, String createTime, String paymentTime, Integer orderType) { |
| | | String createTimeStart = null; |
| | | String createTimeEnd = null; |
| | | String paymentTimeStart = null; |
| | | String paymentTimeEnd = null; |
| | | if(ToolUtil.isNotEmpty(createTime)){ |
| | | String[] split = createTime.split(" - "); |
| | | createTimeStart = split[0]; |
| | | createTimeEnd = split[1]; |
| | | } |
| | | if(ToolUtil.isNotEmpty(paymentTime)){ |
| | | String[] split = paymentTime.split(" - "); |
| | | paymentTimeStart = split[0]; |
| | | paymentTimeEnd = split[1]; |
| | | } |
| | | return this.baseMapper.paymentOrderStatisticsList(page, paymentCode, orderCode, userPhone, driverPhone, createTimeStart, createTimeEnd, paymentTimeStart, paymentTimeEnd,orderType); |
| | | } |
| | | } |