📄 iprodao.java
字号:
package com.tb.log.model.dao.idao;
import java.util.List;
import java.util.Set;
import com.tb.log.model.dao.BaseDAO;
import com.tb.log.model.po.Pro;
import com.tb.log.system.SystemException;
import com.tb.log.util.pages.PageBean;
public interface IProDAO extends BaseDAO {
/** 条件查询得到翻页信息
* @param sql
* @return
* @throws SystemException
*/
public PageBean getCurrentPageByCondition(String sql) throws SystemException;
/**查询项目类别列表
* @return 项目类别List
* @throws SystemException
*/
public List findProCategory() throws SystemException;
/**修改项目的状态
* @param sql
* @throws SystemException
*/
public void changeProStateBySql(String sql) throws SystemException;
/**查询用户的项目列表
* @param user_id
* @return
* @throws SystemException
*/
public Set findProidByUserid(String user_id) throws SystemException;
/**关联加载
* 通过项目id列表查询项目信息
* @param proidSet
* @return
* @throws SystemException
*/
public List findById(List proidList) throws SystemException;
/**查询(项目名,项目id)列表
* @return
* @throws SystemException
*/
public List findProName() throws SystemException;
/**自定义查询id列表
* @param findId
* @param conName
* @param id
* @return
* @throws SystemException
*/
public List findById(String findId,String conName,int id) throws SystemException;
/**单表(t_userprojct)删除操作
* @param delName
* @param delid
* @return
* @throws SystemException
*/
public void removeUserPro(String delName,int delid) throws SystemException;
/**添加user_id,pro_id到关联表
* @param user_id
* @param pro_id
* @throws SystemException
*/
public void addUserPro(int user_id, int pro_id) throws SystemException;
/**关联加裁(通过用户id列表)
* @param pro_id
* @param usersid
* @throws SystemException
*/
public void addUserProByUserList(int pro_id,String[] usersid)throws SystemException;
/**关联加裁(通过项目id列表)
* @param user_id
* @param prosid
* @throws SystemException
*/
public void addUserProByProList(int user_id,String[] prosid)throws SystemException;
/**级联删除
* @param pro
* @throws SystemException
*/
public void removeAll(Pro pro) throws SystemException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -