📄 orderscommand.java
字号:
package com.xfaccp.command;
import java.util.List;
import com.xfaccp.adapter.CommandAdpater;
import com.xfaccp.base.BaseForm;
public class OrdersCommand extends CommandAdpater {
public List findAllList() throws Exception
{
List ordersList = dao.findAllList();
return ordersList;
}
public List findByExample(BaseForm form) throws Exception
{
List orders = dao.findByExample(form);
return orders;
}
public void ceate(BaseForm form) throws Exception
{
dao.create(form);
}
public List findById(Integer id) throws Exception {
List sellId = dao.findById(id);
return sellId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -