| | |
| | | public static final String ADDRESS_TYPE_SHOP = "商铺";
|
| | | public static final String ADDRESS_TYPE_HOME = "住宅";
|
| | |
|
| | | public static final Integer PRICE_SCORE_EXCHANGE = 40;
|
| | | public static final Integer PRICE_SCORE_EXCHANGE = 50;
|
| | |
|
| | | }
|
| | |
| | | c.nick_name nickname, |
| | | c.mobile_phone phone, |
| | | (select sum(score) from xzx_jhy_order_items where b.id = order_id) score, |
| | | (select sum(score/ 40) from xzx_jhy_order_items where b.id = order_id) amount |
| | | (select sum(score/ 50) from xzx_jhy_order_items where b.id = order_id) amount |
| | | FROM |
| | | xzx_user_head_details a |
| | | LEFT JOIN xzx_jhy_order b ON a.order_no = b.order_no |