code/Athena0.0.1/bll/WorkflowVisualization/NodeAction.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Athena.basedal;
using Athena.model;

//项目名称:Athena标准开发框架
//版本:0.0.1
//开发团队成员:周庆 王露 张婷婷 陈祚松 张梦丽 艾美珍 胡凯雨 陈兰兰 夏萍萍 康文洋 易传佳
//模块及代码页功能描述:节点动作类(陈祚松)
//最后修改时间:2018-01-11
//修改日志:

namespace Athena.bll.WorkflowVisualization
{
    public class NodeAction : State
    {
        public int actionid { get; set; }
        public int? nodetype { get; set; }
        public int? operatortype { get; set; }
        public string operatorid { get; set; }
        public int? operatorlock { get; set; }
        public int wfid { get; set; }
        public int opid { get; set; }
        public int operatorstatus { get; set; }
        public string nodeoperator { get; set; }
        public int currentnodeid
        {
            get;
            set;
        }
        public int nextnodeid
        {
            get;
            set;
        }

        //工作流节点保存
        public bool Save()
        {
            workflownodeaction wfna = new workflownodeaction();
            if (this.id==-1)
            {
                wfna.wfid = this.wfid;
                wfna.actionid = this.actionid;
                wfna.nodetype = this.nodetype;
                wfna.currentnodeid = this.currentnodeid;
                wfna.nextnodeid = this.nextnodeid; 
                wfna.id = IdalCommon.IworkflownodeactionEx.insert(wfna);
                this.id = wfna.id;
                this.saveoperator(wfna.id);
            }
            else
            {
                this.update();
            }
            return true;
        }
后面还有 56 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。