Esempio n. 1
0
        /// <summary>
        /// 锁定申请
        /// </summary>
        /// <param name="lockInfo"></param>
        public void LockApply(string applyId, JApplyLockInfo lockInfo)
        {
            SQL sql = SqlHelper.CreateSQL("写入申请锁定信息", "Update 影像检查申请 Set 锁定状态=1, 锁定信息=:锁定信息 where 申请ID=:申请ID and nvl(锁定状态,0) = 0");

            sql.AddParameter("申请ID", DbType.String, applyId);
            sql.AddParameter("锁定信息", DbType.String, lockInfo.ToString());

            _dbHelper.ExecuteSQL(sql);
        }
Esempio n. 2
0
 protected override void InitJsonInstance()
 {
     申请信息 = new JApply();
     锁定信息 = new JApplyLockInfo();
 }