예제 #1
0
    private bool ExecCount(int iEsttermRefId, int iEstDeptRefId, int iStgRefId, int iKpiRefId)
    {
        MicroBSC.BSC.Biz.Biz_Bsc_Map_Sk_Ie objCnt = new MicroBSC.BSC.Biz.Biz_Bsc_Map_Sk_Ie();
        DataSet dsCnt = objCnt.GetMapExecCnt(iEsttermRefId, iEstDeptRefId, iStgRefId, iKpiRefId);

        if (Convert.ToInt32(dsCnt.Tables[0].Rows[0]["EXEC_CNT"].ToString()) > 0)
        {
            return(true);
        }
        else
        {
            return(false);
        }
    }
예제 #2
0
    /// <summary>
    /// 전략맵 최신버젼 확인
    /// /// </summary>
    private void SetMapVersion()
    {
        MicroBSC.BSC.Biz.Biz_Bsc_Map_Sk_Ie objVer = new MicroBSC.BSC.Biz.Biz_Bsc_Map_Sk_Ie();
        DataSet dsVer = objVer.GetMapVersion(this.IEstTermRefID, this.IEstDeptRefID);

        if (dsVer.Tables[0].Rows.Count > 0)
        {
            IMapVersionID      = Convert.ToInt32(dsVer.Tables[0].Rows[0]["MAP_VERSION_ID"].ToString());
            IMapVersionName    = dsVer.Tables[0].Rows[0]["MAP_NAME"].ToString();
            txtMapVerName.Text = IMapVersionName;
        }
        else
        {
            this.IMapVersionID   = 0;
            this.IMapVersionName = "";
            ltrScript.Text       = JSHelper.GetAlertScript("등록된 맵버젼이 없습니다.", false);
        }
    }