删除 proSku
This commit is contained in:
parent
a71e1d121a
commit
ec275389f7
|
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue