| | |
| | | a.order_no orderNo, |
| | | a.area area, |
| | | a.address address, |
| | | CONVERT(varchar(100), reserve_date, 23) reserveDate, |
| | | a.reserve_time reserveTime, |
| | | a.status status, |
| | | a.remark remark, |
| | | b.name name, |
| | | b.nick_name name, |
| | | b.mobile_phone mobilePhone, |
| | | (select ifnull(sum(price),0) from xzx_jhy_order_items where order_id = a.id) totalPrice, |
| | | d.username username |
| | |
| | | and a.status = #{record.status} |
| | | </if> |
| | | <if test="record.account != null and record.account != ''"> |
| | | and ( b.name like concat('%',#{record.account},'%') |
| | | and ( b.nick_name like concat('%',#{record.account},'%') |
| | | or b.mobile_phone like concat('%',#{record.account},'%') ) |
| | | </if> |
| | | <if test="record.reserveTimeStart != null"> |