OrderRepository.cs 609 B

123456789101112131415161718192021
  1. using OASystem.Domain.Entities;
  2. using OASystem.Domain.ViewModels;
  3. namespace OASystem.Infrastructure.Repositories
  4. {
  5. //public class OrderRepository : BaseRepository<Order, OrderView>
  6. //{
  7. // public OrderRepository(SqlSugarClient sqlSugar) : base(sqlSugar)
  8. // {
  9. // }
  10. // public string GetNextPayNo()
  11. // {
  12. // SugarParameter[] param = new SugarParameter[] { };
  13. // int rst = _sqlSugar.Ado.UseStoredProcedure().GetInt("GetNextPayNo", param);
  14. // return DateTime.Now.ToString("yyyyMMddHHmmss") + rst.ToString("D5");
  15. // }
  16. //}
  17. }