修正收藏sql,防止关联返回null数据
This commit is contained in:
@ -33,7 +33,7 @@ public interface YxStoreProductRelationMapper extends CoreMapper<YxStoreProductR
|
|||||||
@Select("select B.id pid,A.category,B.store_name as storeName,B.price," +
|
@Select("select B.id pid,A.category,B.store_name as storeName,B.price," +
|
||||||
"B.ot_price as otPrice,B.sales,B.image,B.is_show as isShow" +
|
"B.ot_price as otPrice,B.sales,B.image,B.is_show as isShow" +
|
||||||
" from yx_store_product_relation A left join yx_store_product B " +
|
" from yx_store_product_relation A left join yx_store_product B " +
|
||||||
"on A.product_id = B.id where A.uid=#{uid} and A.is_del = 0")
|
"on A.product_id = B.id where A.uid=#{uid} and A.is_del = 0 and B.is_del = 0")
|
||||||
List<YxStoreProductRelationQueryVo> selectList(Page page, @Param("uid") Long uid);
|
List<YxStoreProductRelationQueryVo> selectList(Page page, @Param("uid") Long uid);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user