删除 proSku
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user