using Attribute; using Model; using Model.Base; using Repository; using Service; using Microsoft.AspNetCore.Mvc; namespace Services { /// /// 交易记录Service业务层处理 /// [AppService(ServiceType = typeof(IKxsTradeRecordService), ServiceLifetime = LifeTime.Transient)] public class KxsTradeRecordService : BaseService, IKxsTradeRecordService { /// /// 交易记录-添加 /// /// 参数请求体 /// 添加 public long addKxsTradeRecord(KxsTradeRecord param) { return Insertable(param).SplitTable().ExecuteReturnSnowflakeId(); } } }