$skuList = ProductSkuModel::selectRaw('product_skus.id as sku_id, product_skus.code as code, product_skus.wname as sku_name, product_skus.stocks as stocks, if(`product_skus`.`status`=1,\'上架\',\'下架\') as status, brands.name as brand, product_attribute…