business.java

来自「css+Ajax技术实现学员分数查看的功能」· Java 代码 · 共 53 行

JAVA
53
字号
package com.accp.teem.server.action ;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2007</p>
 *
 * <p>Company: 北大青鸟ACCP软件制作</p>
 *
 * @author 廖启全
 * @version 1.0
 */

import com.accp.teem.server.dao.*;
import com.accp.teem.server.entity.*;
import java.util.List;

public class Business
{
  public static Score selectByName(Score score) throws Exception
  {
    try
    {
      return new ScoreDAO().selectByName(score);
    }
    catch(Exception ex)
    {
      throw ex;
    }
  }

  /**
   * 查询所有学生姓名
   * @return List
   * @throws Exception
   */
  public static List seletAllStudent()throws Exception
  {
    try
    {
      return new ScoreDAO().seletAllStudent();
    }
    catch(Exception ex)
    {
      throw ex;
    }

  }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?