📄 stocktablecommand.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -