示例#1
0
文件: Supply.cs 项目: xyecom/AMS
        /// <summary>
        /// ɾ��������¼
        /// </summary>
        /// <param name="SD_ID">��¼���</param>
        /// <returns>��Ӱ�������</returns>
        public int Deletes(string ids)
        {
            Business.Attachment attBLL = new Attachment();

            attBLL.Delete(ids, XYECOM.Model.AttachmentItem.Supply, XYECOM.Model.UploadFileType.All);

            return DAL.Deletes(ids);
        }
示例#2
0
文件: Show.cs 项目: xyecom/AMS
        /// <summary>
        /// ɾ��ָ����ŵ�չ��
        /// </summary>
        /// <param name="ids">չ��Id����</param>
        /// <returns>����,���ڻ����0��ɾ���ɹ�,�����ʧ��</returns>
        public int Delete(string ids)
        {
            if (string.IsNullOrEmpty(ids))
                return -2;

            Business.Attachment attBLL = new Attachment();

            attBLL.Delete(ids, XYECOM.Model.AttachmentItem.Exhibition, UploadFileType.All);

            return DAL.Delete(ids);
        }
示例#3
0
文件: UserReg.cs 项目: xyecom/AMS
        /// <summary>
        /// ɾ���û�
        /// </summary>
        /// <param name="userIds">�û���ż���</param>
        /// <returns>Ӱ������</returns>
        public int Delete(string userIds)
        {
            Business.Attachment attBLL = new Attachment();

            attBLL.Delete(userIds, XYECOM.Model.AttachmentItem.User, XYECOM.Model.UploadFileType.All);

            return DAL.Delete(userIds);
        }