删除 proSku

This commit is contained in:
2024-11-29 11:18:43 +08:00
parent a71e1d121a
commit ec275389f7

View File

@@ -34,7 +34,7 @@ public interface TbProskuConRepository extends JpaRepository<TbProskuCon, Intege
List<TbProskuCon> searchConsProByShopId(Integer shopId); List<TbProskuCon> searchConsProByShopId(Integer shopId);
@Modifying @Modifying
@Query(value = "delete from tb_prosku_con where shop_id=?1 ",nativeQuery = true) @Query("delete from TbProskuCon con where con.shopId=:shopId")
void clearShopConPro(Integer shopId); void clearShopConPro(Integer shopId);
} }