| | |
| | | <!-- AND q.create_time <= #{condition.endDate}--> |
| | | <!-- </if>--> |
| | | <if test="condition.startDate != null"> |
| | | AND o.payment_time > #{condition.startDate} |
| | | AND o.payment_time >= #{condition.startDate} |
| | | </if> |
| | | <if test="condition.endDate != null"> |
| | | AND o.payment_time <= #{condition.endDate} |
| | | AND o.payment_time < #{condition.endDate} |
| | | </if> |
| | | ORDER BY o.payment_time |
| | | </select> |
| | |
| | | <!-- AND q.create_time <= #{condition.endDate}--> |
| | | <!-- </if>--> |
| | | <if test="condition.startDate != null"> |
| | | AND o.payment_time > #{condition.startDate} |
| | | AND o.payment_time >= #{condition.startDate} |
| | | </if> |
| | | <if test="condition.endDate != null"> |
| | | AND o.payment_time <= #{condition.endDate} |
| | | AND o.payment_time < #{condition.endDate} |
| | | </if> |
| | | ) tt |
| | | GROUP BY tt.id, tt.supplierName, tt.supplierTel, tt.stationName |
| | |
| | | <!-- AND q.create_time <= #{condition.endDate}--> |
| | | <!-- </if>--> |
| | | <if test="condition.startDate != null"> |
| | | AND o.payment_time > #{condition.startDate} |
| | | AND o.payment_time >= #{condition.startDate} |
| | | </if> |
| | | <if test="condition.endDate != null"> |
| | | AND o.payment_time <= #{condition.endDate} |
| | | AND o.payment_time < #{condition.endDate} |
| | | </if> |
| | | |
| | | ORDER BY q.arrive_time |
| | |
| | | <!-- AND o.create_time <= #{endDate}--> |
| | | <!-- </if>--> |
| | | <if test="startDate != null"> |
| | | AND t.payment_time > #{startDate} |
| | | AND t.payment_time >= #{startDate} |
| | | </if> |
| | | <if test="endDate != null"> |
| | | AND t.payment_time <= #{endDate} |
| | | AND t.payment_time < #{endDate} |
| | | </if> |
| | | |
| | | <if test="statusList != null and statusList.size > 0"> |