コード例 #1
0
        /// <summary>
        /// 删除已经删除的信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static bool DelMessageDropbyID(int id)
        {
            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("V_DroppedMessage", "ltrim(rtrim(id))");
            cl_h_info.AddRecord(id);
            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company22, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype10);

            return(MessageSendDAL.DelMessageDropbyID(id));
        }
コード例 #2
0
ファイル: MessageReceiveBLL.cs プロジェクト: 892182825/SP
        /// <summary>
        /// 根据id删除收件箱信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public bool DelMessageReceive(int id, string optr, int OperatorType)
        {
            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("MessageReceive", "ltrim(rtrim(id))");
            cl_h_info.AddRecord(id);
            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company20, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype10);

            return(MessageReceiveDAL.DelMessageReceive(id, optr, OperatorType));
        }
コード例 #3
0
ファイル: ThirdLogisticsDLL.cs プロジェクト: 892182825/SP
        // <summary>
        /// 根据ID删除物流公司
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public Boolean DelThirdLogistics(int id)
        {
            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("Logistics", "ltrim(rtrim(id))");

            cl_h_info.AddRecord(id);

            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company9, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype8);

            return(thirdLogisticsDAL.DelThirdLogistics(id) == 0 ? false : true);
        }
コード例 #4
0
        /// <summary>
        /// 根据id删除发件箱的信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static bool DelMessageSendById(int id, string optr, int OperatorType)
        {
            //MessageSendDAL dao = new MessageSendDAL();

            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("MessageSend", "ltrim(rtrim(id))");
            cl_h_info.AddRecord(id);
            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company21, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype10);

            return(MessageSendDAL.DelMessageSendById(id, optr, OperatorType));
        }
コード例 #5
0
ファイル: ResourcesBLL.cs プロジェクト: 892182825/SP
        /// <summary>
        /// 删除文件
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public bool DelResurces(int id)
        {
            BLL.CommonClass.ChangeLogs cl_h_info = new BLL.CommonClass.ChangeLogs("Resources", "ltrim(rtrim(ResID))");
            cl_h_info.AddRecord(id);
            cl_h_info.DeletedIntoLogs(BLL.CommonClass.ChangeCategory.company18, id.ToString(), BLL.CommonClass.ENUM_USERTYPE.objecttype10);

            ResourcesDAL dao = new ResourcesDAL();

            return(dao.DelResurces(id));
        }