org.hy.xflow.engine.dao.IActivityInfoDAO Maven / Gradle / Ivy
The newest version!
package org.hy.xflow.engine.dao;
import java.util.List;
import java.util.Map;
import org.hy.common.xml.annotation.XType;
import org.hy.common.xml.annotation.Xjava;
import org.hy.common.xml.annotation.Xparam;
import org.hy.common.xml.annotation.Xsql;
import org.hy.xflow.engine.bean.ActivityInfo;
import org.hy.xflow.engine.bean.ActivityRoute;
import org.hy.xflow.engine.bean.Template;
/**
* 工作流活动组件(节点)信息表
*
* @author ZhengWei(HY)
* @createDate 2018-04-18
* @version v1.0
*/
@Xjava(id="ActivityInfoDAO" ,value=XType.XSQL)
public interface IActivityInfoDAO
{
/**
* 查询某一工作流模板的活动组件(节点)
*
* @author ZhengWei(HY)
* @createDate 2018-04-18
* @version v1.0
*
* @param i_TemplateID 模板ID
* @return 有顺序的LinkedHashMap,"开始"排在最前面,"结束"在最后
*/
@Xsql("XSQL_XFlow_ActivityInfo_QueryByTemplateID")
public Map queryByTemplateID(@Xparam(id="templateID" ,notNull=true)String i_TemplateID);
/**
* 查询某一工作流模板的活动组件(节点)
*
* @author ZhengWei(HY)
* @createDate 2018-04-18
* @version v1.0
*
* @param i_Template 模板对象
* @return 有顺序的LinkedHashMap,"开始"排在最前面,"结束"在最后
*/
@Xsql("XSQL_XFlow_ActivityInfo_QueryByTemplateID")
public Map queryByTemplateID(@Xparam(notNulls={"templateID"}) Template i_Template);
/**
* 保存活动组件(节点)
*
* @author ZhengWei(HY)
* @createDate 2018-11-02
* @version v1.0
*
* @param i_Activitys
* @return
*/
@Xsql("XSQL_XFlow_ActivityInfo_Saves")
public int saves(List i_Activitys);
/**
* 保存活动节点 及 活动路由
*
* @author ZhengWei(HY)
* @createDate 2018-11-17
* @version v1.0
*
* @param i_Activitys
* @param i_Routes
* @return
*/
@Xsql("GXSQL_XFlow_Activity_Route_Save")
public boolean saves(@Xparam(id="Activitys" ,notNull=true) List i_Activitys
,@Xparam(id="Routes" ,notNull=true) List i_Routes);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy