33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using APT.BaseData.Domain.Entities;
							 | 
						|||
| 
								 | 
							
								using APT.Infrastructure.Core;
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								using APT.Infrastructure.Api;
							 | 
						|||
| 
								 | 
							
								namespace APT.BaseData.Domain.IServices
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    /// <summary>
							 | 
						|||
| 
								 | 
							
								    /// 
							 | 
						|||
| 
								 | 
							
								    /// </summary>
							 | 
						|||
| 
								 | 
							
								    public partial interface IPFCodeRuleService : ICommonService
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        //string Gen(SystemCodeFilter fiter);
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        //List<T_PF_CODE_RULE_SERIAL> Gen(SystemCodeFilter fiter, ref string codes);
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        string GenNoUpdate(SystemCodeFilter fiter);
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        string NewGenSerial(SystemCodeFilter fiter);
							 | 
						|||
| 
								 | 
							
								        string NewGenSerialByDb(SystemCodeFilter fiter, string dbConn);
							 | 
						|||
| 
								 | 
							
								        string NewGenSerialByTenant(SystemCodeFilter fiter, string tenantCode);
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 获取 编号 (默认 1个  消息类型)
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        /// <param name="orgId"></param>
							 | 
						|||
| 
								 | 
							
								        /// <param name="codeType"></param>
							 | 
						|||
| 
								 | 
							
								        /// <param name="count"></param>
							 | 
						|||
| 
								 | 
							
								        /// <returns></returns>
							 | 
						|||
| 
								 | 
							
								        string GetCodeTypeRuleCode(Guid? orgId, int codeType = 5, int count = 1);
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |