1.商品不推送修复
This commit is contained in:
@@ -66,7 +66,7 @@ public interface TbProductRepository extends JpaRepository<TbProduct, Integer>,
|
||||
@Query(value = "select b.* from tb_product_sku as a left join tb_product as b on a.product_id=b.id where a.id=:skuId", nativeQuery = true)
|
||||
TbProduct selectBySkuId(@Param("skuId") Integer skuId);
|
||||
|
||||
@Query(value = "select * from tb_product_sku as a where a.id=:skuId", nativeQuery = true)
|
||||
@Query(value = "select * from tb_product as a where a.id=:skuId", nativeQuery = true)
|
||||
TbProduct selectById(@Param("skuId") Integer skuId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user