| | |
| | | a.remark remark, |
| | | b.nick_name name, |
| | | b.mobile_phone mobilePhone, |
| | | (select ifnull(sum(price),0) from xzx_jhy_order_items where order_id = a.id) totalPrice, |
| | | (select ifnull(sum(price)*40,0) from xzx_jhy_order_items where order_id = a.id) totalPrice, |
| | | d.username username |
| | | FROM |
| | | xzx_jhy_order a |
| | |
| | | SELECT |
| | | a.id id, |
| | | a.order_no orderNo, |
| | | b.nick_name name, |
| | | b.nick_name nickName, |
| | | b.mobile_phone mobilePhone, |
| | | a.area area, |
| | | a.address address, |
| | |
| | | d.mobile mobile, |
| | | date_format(a.receiving_time,'%Y-%m-%d %H:%i:%S') receivingTime, |
| | | a.remark remark, |
| | | a.comment comment, |
| | | a. COMMENT comments, |
| | | a.score score, |
| | | a.is_anonymous isAnonymous |
| | | FROM |