SELECT a.id,
a.goods_category_id,
a.sn,
a.goods_name,
a.spec_params,
a.picture,
a.unit,
a.sort,
a.canuse,
a.memo,
a.create_time,
b.biz_type,
b.category_name,
b.picture b_picture,
b.sort b_sort,
b.create_time b_create_time,
c.id c_id,
c.expense_item_category,
c.expense_item_name,
c.expense_strategy,
c.unit c_unit,
c.tax_rate,
c.payer,
c.unit_price,
c.initial_price,
c.initial_quantity,
c.every_quantity,
c.user_scope,
c.station_scope,
c.goods_scope,
c.canuse c_canuse,
c.memo c_memo,
c.create_time c_create_time
FROM gds_goods a
INNER JOIN gds_goods_category b ON a.goods_category_id = b.id
LEFT JOIN fin_expense_item c ON c.goods_id = a.id