|
|
@ -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.city_id ,zo.address,zo.zip_code |
|
|
|
zo.delivery_status , zo.city_id ,zo.address,zo.zip_code,zo.user_id |
|
|
|
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 |
|
|
@ -177,7 +177,7 @@ LEFT JOIN order_goods_fabric AS ogf ON ogf.order_goods_id = og.id |
|
|
|
LEFT JOIN zy_fabric AS zf ON ogf.fabric_id = zf.id |
|
|
|
LEFT JOIN zy_fabric AS zf ON ogf.fabric_id = zf.id |
|
|
|
LEFT JOIN order_goods_accessories AS oga ON oga.order_goods_id = og.id |
|
|
|
LEFT JOIN order_goods_accessories AS oga ON oga.order_goods_id = og.id |
|
|
|
LEFT JOIN zy_accessories AS za ON oga.accessories_id = za.id |
|
|
|
LEFT JOIN zy_accessories AS za ON oga.accessories_id = za.id |
|
|
|
WHERE og.create_by=#{userid} |
|
|
|
WHERE zo.user_id=#{userid} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|