| | |
| | | <include refid="Base_Column_List"/> |
| | | from qs_rider_income_detail |
| | | <where> |
| | | <if test="criteria.riderId != null"> |
| | | and rider_id = #{criteria.riderId} |
| | | </if> |
| | | <if test="criteria.riderName != null"> |
| | | and rider_name = #{criteria.riderName} |
| | | </if> |
| | |
| | | <if test="criteria.orderStatus != null"> |
| | | and order_status = #{criteria.orderStatus} |
| | | </if> |
| | | <if test="criteria.updateTime != null and criteria.updateTime.size() > 0"> |
| | | AND update_time BETWEEN #{criteria.updateTime[0]} AND #{criteria.updateTime[1]} |
| | | <if test="criteria.createTime != null and criteria.createTime.size() > 0"> |
| | | AND create_time BETWEEN #{criteria.createTime[0]} AND #{criteria.createTime[1]} |
| | | </if> |
| | | </where> |
| | | order by income_id desc |
| | | order by create_time desc |
| | | </select> |
| | | </mapper> |