|
@@ -73,7 +73,7 @@ public interface FsStoreCartMapper
|
|
"<foreach collection='array' item='id' open='(' separator=',' close=')'>#{id}</foreach>"+
|
|
"<foreach collection='array' item='id' open='(' separator=',' close=')'>#{id}</foreach>"+
|
|
"</script>"})
|
|
"</script>"})
|
|
int delCart(Long[] ids);
|
|
int delCart(Long[] ids);
|
|
- @Select("select c.*,p.cate_id,p.product_name,p.image as product_image,p.temp_id,p.product_type,v.price,v.sku as product_attr_name,v.image as product_attr_image,v.stock,v.cost,v.integral,v.weight,v.volume,v.bar_code,v.group_bar_code,v.brokerage,v.brokerage_two,v.brokerage_three from fs_store_cart c left join fs_store_product p on p.product_id=c.product_id left join fs_store_product_attr_value v on v.id=c.product_attr_value_id where find_in_set(c.id,#{ids})")
|
|
|
|
|
|
+ @Select("select c.*,p.cate_id,p.product_name,p.warehouse_id as warehouse_id,p.warehouse_code as warehouse_code,p.image as product_image,p.temp_id,p.product_type,v.price,v.sku as product_attr_name,v.image as product_attr_image,v.stock,v.cost,v.integral,v.weight,v.volume,v.bar_code,v.group_bar_code,v.brokerage,v.brokerage_two,v.brokerage_three from fs_store_cart c left join fs_store_product p on p.product_id=c.product_id left join fs_store_product_attr_value v on v.id=c.product_attr_value_id where find_in_set(c.id,#{ids})")
|
|
List<FsStoreCartQueryVO> selectFsStoreCartListByIds(String ids);
|
|
List<FsStoreCartQueryVO> selectFsStoreCartListByIds(String ids);
|
|
@Update("update fs_store_cart set is_pay=1 where find_in_set(id,#{cartIds})")
|
|
@Update("update fs_store_cart set is_pay=1 where find_in_set(id,#{cartIds})")
|
|
void updateIsPay(String cartIds);
|
|
void updateIsPay(String cartIds);
|