删除 proSku

This commit is contained in:
wangw 2024-11-29 11:18:43 +08:00
parent a71e1d121a
commit ec275389f7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public interface TbProskuConRepository extends JpaRepository<TbProskuCon, Intege
List<TbProskuCon> searchConsProByShopId(Integer shopId);
@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);
}