@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();
}
@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();
}