@Override
public void deleteAll(String payType){
List<PayS> list=null;
int result;
String hql="delete from PayS where payType="+"(‘"+payType+"‘)";
Query query=this.getSession().createQuery(hql);
result=query.executeUpdate();
}
时间: 2024-10-10 21:46:00