fix 修复电子餐券退款问题

This commit is contained in:
2024-10-18 11:07:15 +08:00
parent 1d778f4d80
commit 153a8f9341
5 changed files with 26 additions and 30 deletions

View File

@@ -87,8 +87,7 @@ public class EMealVoucherService : IEMealVoucherService
eMealVoucherDetail.ThrowIfNull("无效地址");
var eMealVoucher = await _dbContext.Queryable<EMealVoucherEntity>().Where(x => x.No == eMealVoucherDetail.No).SingleAsync();
var ts = DateTimeOffset.Now.ToUnixTimeMilliseconds().ToString().Reverse().Join(string.Empty);
var originData = string.Concat(eMealVoucher.No, ":", ts, ":", eMealVoucher.Code, ":", eMealVoucherDetail.IdNo);
var originData = string.Concat(eMealVoucher.No, ":", eMealVoucher.Code, ":", eMealVoucherDetail.IdNo);
var qrCode = "02" + originData.ToArray().Select(x =>
{