|
|
@@ -171,7 +171,7 @@ public interface FsStoreCartScrmMapper
|
|
|
@Select({"<script> " +
|
|
|
"select q.* FROM (" +
|
|
|
"select c.*,p.product_type,p.product_name,p.image as product_image,v.price,v.sku as product_attr_name," +
|
|
|
- "v.image as product_attr_image,v.stock,s.store_id,s.store_name " +
|
|
|
+ "v.image as product_attr_image,v.stock,s.store_id,s.store_name,( SELECT COUNT(*) FROM fs_store_verify_code_scrm vc WHERE vc.product_id = p.product_id AND vc.outbound_status = 0 AND is_del = 0) AS num " +
|
|
|
"from fs_store_cart_scrm c " +
|
|
|
"inner join fs_store_product_scrm p on p.product_id=c.product_id " +
|
|
|
"inner join fs_store_product_attr_value_scrm v on v.id=c.product_attr_value_id " +
|