| 
					
				 | 
			
			
				@@ -6,10 +6,12 @@ using OASystem.API.OAMethodLib.ExcelOutput; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Common; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Dtos.Baidu; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Dtos.Business; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+using OASystem.Domain.Dtos.CRM; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Dtos.FileDto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Dtos.Financial; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Dtos.Groups; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Entities.Business; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+using OASystem.Domain.Entities.Customer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Entities.Financial; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Entities.Groups; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.Entities.Resource; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,6 +19,7 @@ using OASystem.Domain.ViewModels.Business; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.ViewModels.Financial; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Domain.ViewModels.Groups; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Infrastructure.Repositories.Business; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+using OASystem.Infrastructure.Repositories.CRM; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Infrastructure.Repositories.Groups; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using OASystem.Infrastructure.Repositories.System; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using Org.BouncyCastle.Asn1.Mozilla; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -35,14 +38,17 @@ namespace OASystem.API.Controllers 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private readonly SetDataRepository _setDataRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private readonly DelegationInfoRepository _groupRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private readonly TeamRateRepository _teamRateRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private readonly TableOperationRecordRepository _TableOperationRecordRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public BusinessController( IMapper mapper, CommonBusRepository busRep, SetDataRepository setDataRep, DelegationInfoRepository groupRep, TeamRateRepository teamRateRep) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public BusinessController( IMapper mapper, CommonBusRepository busRep, SetDataRepository setDataRep, DelegationInfoRepository groupRep, TeamRateRepository teamRateRep, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            TableOperationRecordRepository tableOperationRecordRep) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _mapper = mapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _busRep = busRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _setDataRep = setDataRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _groupRep = groupRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _teamRateRep = teamRateRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _TableOperationRecordRep = tableOperationRecordRep; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #region 团组信息  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -662,6 +668,50 @@ Where c.ConfListId = {0}", ConfId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #endregion 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #region 表操作记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// 表操作记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// 添加 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// </summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /// <returns></returns> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        [HttpPost] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        [ProducesResponseType(typeof(JsonView), StatusCodes.Status200OK)] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public async Task<IActionResult> PostTableOperationRecordAdd(TableOperationRecordAddDto _dto ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            try 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                Crm_TableOperationRecord _TableOperationRecord = new Crm_TableOperationRecord()  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    TableName = _dto.TableName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    OperationItem = _dto.OperationItem, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    DataId = _dto.DataId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    CreateUserId = _dto.UserId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    CreateTime = DateTime.Now, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    Remark = "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    IsDel = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                bool _view = await _TableOperationRecordRep._Add(_TableOperationRecord); //币种类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (_view) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return Ok(JsonView(true,"操作成功!")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return Ok(JsonView(false,"操作失败!")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            catch (Exception) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return Ok(JsonView(false, "程序错误!")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #endregion 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /// 汉字转拼音 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /// </summary> 
			 |