Package com.wgc.beans

Examples of com.wgc.beans.Appoint


   
    this.getHibernateTemplate().delete(appo);
  }
    public Appoint findById(int id) {

      Appoint appo = (Appoint)this.getHibernateTemplate().get("com.wgc.beans.Appoint", id);
            return appo;

    }
View Full Code Here


  private AppointService appoService;

  public Boolean updateShzt(String yyID,Boolean shzt){

    try{
        Appoint appo = this.appoService.findById(Integer.parseInt(yyID));
        this.appoService.deleteRecord(appo);
        appo.setShzt(true);
        this.appoService.saveRecord(appo);
    }catch(Exception e){
      e.printStackTrace();
      return false;
    }
View Full Code Here

  //�����ύ��ԤԼ����
  public Boolean saveRecord(String xm,String xh,String jsh,String jc,String yysj,String lxfs){
    //δ�ж��Ƿ���γ̱��г�ͻ     
    if(this.stuService.findByStuID(xh).getXm().trim().equals(xm.trim())){
     
      appo = new Appoint();
      try{
        Short jcShort = Short.parseShort(jc);
        Timestamp yysjT = Timestamp.valueOf(yysj);

        appo.setJs(jcShort);
View Full Code Here

TOP

Related Classes of com.wgc.beans.Appoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.