stocktablecommand.java
来自「一个汽车售后服务站的典型的进销管理系统,B/S模式的」· Java 代码 · 共 31 行
JAVA
31 行
package com.xfaccp.command;
import java.util.List;
import java.util.Map;
import com.xfaccp.adapter.CommandAdpater;
import com.xfaccp.base.BaseForm;
public class StockTableCommand extends CommandAdpater
{
public List findBySql()throws Exception
{
String hsql="from com.xfaccp.form.StockTable where availability=0";
List list=this.dao.findBySql(hsql);
return list;
}
public List findById(Integer id) throws Exception
{
List list=null;
list=this.dao.findById(id);
return list;
}
public Map update(BaseForm form) throws Exception
{
this.dao.update(form);
return null;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?