📄 bookdao.java
字号:
package jp.com.cost.dao;
import java.util.List;
import jp.com.cost.dc.web.form.DC2203Form;
import jp.com.cost.pojo.Book;
import jp.com.cost.sw.entity.SW4101ViewEntity1List;
import jp.com.cost.sw.entity.SW4201ViewEntity1List;
public interface BookDao {
/**
* 将未申请订舱的已缴费的客户委托书的数据查询出来显示在页面上
* @return
*/
public List findDCWTAll();
/**
* 根据编号查询已经申请订舱的客户委托书
* @param id - 编号
* @return
*/
public List findDCWTByCon(String id);
/**
* 根据相应编号查询Book表里的详细信息
* @param id - 编号
* @return
*/
public Book findDCWTById(String id);
/**
* 根据相应编号跳转到订舱申请页面,显示相应信息
* @param id -编号
* @return
*/
public Book findDCWTUpdate(String id);
/**
* 进入订舱申请页面补全相应的信息
* @param book
* @return Book的对象
*/
public boolean findDCSQUpdate(Book book);
/**
* 初始化信息:查询已申请的客户委托书
* @return
*/
public List findSCDCAll();
/**
* 根据编号查询客户委托书
* @param id -客户委托书编号
* @return
*/
public List findSCDCByCon(String id);
/**
* 查询一条记录的详细信息
* @param id-点击的该条记录的id
* @return
*/
public Book findSCDCById(String id);
/**
* 将需要修改的数据显示到页面上
* @param id-需要修改的客户委托书编号
* @return
*/
public Book findSCDCUpdate(String id);
/**
* 修改客户委托书生成订舱委托书
* @param book-客户委托书所对应的POJO
* @return
*/
public boolean updateSCDC(String id,DC2203Form dc2203Form);
/**
* 初始化信息:查询待稽核的客户委托书
* @return
*/
public List findGLDCAll();
/**
* 根据编号和状态查询客户委托书
* @param id-客户委托书编号
* @param state-客户委托书状态
* @return
*/
public List findGLDCByCon(String id,String state);
/**
* 查看某条记录的详细信息
* @param id-客户委托书编号
* @return
*/
public Book findGLDCById(String id);
/**
* 重新订舱
* @param id-需要重新订舱的
* @return
*/
public boolean updateGLDC(String id,String deallister);
/**
* 查询需要在WT1301页面初始化的数据
* @return
*/
public List findWTGLAll();
/**
*
* 根据输入的查询条件查询BOOK表中的值
*
* @param id -- 编号
* @param state -- 委托书状态
*
* @return List
*/
public List findByWTGLCon(String id,String state);
/**
*
* 根据ID修改一条委托书信息的删除状态,即删除一条记录
*
* @param id -- 编号
* @return boolean类型
*/
public boolean delete(String id);
/**
*
* 根据ID查询BOOK表中的所有字段
*
* @param id -- 编号
* @return
*/
public Book findById(String id);
//public List findWTGLForUpdate(Book book);
/**
* 向BOOK表中插入一条记录
*/
public boolean insert(Book book);
/**
* 根据ID修改BOOK表中的一条记录
* @param book
* @return
*/
public boolean updateWTGL(Book book);
//-----------------------------------------------------------------------------------------------------------------------------------------
/**
* Method updateSWJH [录属于事件SW4101E0S]
*
* PS: 商务稽核默认装载事件
* @return Object list<SW4101ViewEntity1Lsit> 待稽核业务对象List
*/
public List<SW4101ViewEntity1List> findSWGLAll();
/**
* Method findSFGLAll() [录属于事件SW4201E0S]
* PS: 收费管理默认装载事件
* @return Object List<SW4201ViewEntity1List> - 收费业务对象List
*/
public List<SW4201ViewEntity1List> findSFGLAll();
/**
* Method findSWGLByCon(String id) [ 录属于事件SW4101E1S ]
*
* PS: 商务管理GO事件
* @param id - 输入的业务编号
* @return Object list<SW4101ViewEntity1Lsit> - 待稽核业务对象List
*/
public List<SW4101ViewEntity1List> findSWGLByCon(String id);
/**
* Method findSFGLByCon(String id) [ 录属于事件SW4201E1S ]
*
* PS: 收费管理GO事件
* @param id - 输入的业务编号
* @return Object list<SW4201ViewEntity1Lsit> - 未缴费业务对象List
*/
public List<SW4201ViewEntity1List> findSFGLByCon(String id);
/**
* Method findSWGLById 提供单条记录的对象的数据
*
* @param String id 业务ID
* @return 收费业务对象List
*/
public Book findSWGLById(String id);
/**
* Method updateSWJH 【录属于事件SW4102E1S】
*
* PS: 更新数据表BOOk的业务状态为"稽核已通过"和备注
* @param String id - 业务ID
* @param String state - 业务状态
* @param String remark - 备注
* @return boolean bln - 返回一个boolean表示更新操作成功与否
*/
public boolean updateSWJH(String id, String state, String remark);
/**
* Method updateSWJH 【录属于事件SW4102E1S】
*
* PS: 更新数据表BOOk的业务状态为"稽核未通过"和备注
* @param String id - 业务ID
* @param String state - 业务状态
* @param String remark - 备注
* @param String wtg - 稽核未通过
* @return boolean bln - 返回一个boolean表示更新操作成功与否
*/
public boolean updateSWJH(String id, String state, String remark,
String wtg);
/**
* Method updateSWJH 【录属于事件SW4201E2S】 - 标记为已收费
*
* PS: 更新数据表BOOk的业务状态为"已收费"
* @param id
* @return boolean bln - 返回一个boolean表示更新操作成功与否
*/
public boolean updateSFGL(String id);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -