|
|
@ -167,7 +167,7 @@ |
|
|
|
<!-- 根据用户名查询 --> |
|
|
|
<!-- 根据用户名查询 --> |
|
|
|
<select id="getallgr1" resultType="org.jeecg.modules.system.vo.Grzx1"> |
|
|
|
<select id="getallgr1" resultType="org.jeecg.modules.system.vo.Grzx1"> |
|
|
|
SELECT og.id, zo.orders_num , zg.goods_name , zcs.style_names,zsm.model_number,og.goods_num,zf.name,za.type_name,zg.default_picture,og.pay_total_price,og.unit_price,og.create_time,og.create_by , |
|
|
|
SELECT og.id, zo.orders_num , zg.goods_name , zcs.style_names,zsm.model_number,og.goods_num,zf.name,za.type_name,zg.default_picture,og.pay_total_price,og.unit_price,og.create_time,og.create_by , |
|
|
|
zo.delivery_status |
|
|
|
zo.delivery_status , zo.city_id ,zo.address,zo.zipCode |
|
|
|
FROM zy_orders AS zo |
|
|
|
FROM zy_orders AS zo |
|
|
|
INNER JOIN order_goods AS og ON zo.id = og.orders_id |
|
|
|
INNER JOIN order_goods AS og ON zo.id = og.orders_id |
|
|
|
LEFT JOIN zy_goods AS zg ON og.goods_id = zg.id |
|
|
|
LEFT JOIN zy_goods AS zg ON og.goods_id = zg.id |
|
|
@ -183,8 +183,8 @@ WHERE og.create_by=#{userid} |
|
|
|
|
|
|
|
|
|
|
|
<!-- 这个是获取订单的数据中的商品数据 --> |
|
|
|
<!-- 这个是获取订单的数据中的商品数据 --> |
|
|
|
<select id="getallg2" resultType="org.jeecg.modules.system.vo.Grzx1"> |
|
|
|
<select id="getallg2" resultType="org.jeecg.modules.system.vo.Grzx1"> |
|
|
|
SELECT og.id, zo.orders_num , zg.goods_name , zcs.style_names,zsm.model_number,og.goods_num,zf.name, |
|
|
|
SELECT og.id, zo.orders_num , zg.goods_name , zcs.style_names,zsm.model_number,og.goods_num,zf.name,za.type_name,zg.default_picture,og.pay_total_price,og.unit_price,og.create_time,og.create_by , |
|
|
|
za.type_name,zg.default_picture,og.pay_total_price,og.unit_price,og.create_time,og.create_by |
|
|
|
zo.delivery_status , zo.city_id ,zo.address,zo.zip_code |
|
|
|
FROM zy_orders AS zo |
|
|
|
FROM zy_orders AS zo |
|
|
|
INNER JOIN order_goods AS og ON zo.id = og.orders_id |
|
|
|
INNER JOIN order_goods AS og ON zo.id = og.orders_id |
|
|
|
LEFT JOIN zy_goods AS zg ON og.goods_id = zg.id |
|
|
|
LEFT JOIN zy_goods AS zg ON og.goods_id = zg.id |
|
|
|