山证bug修复及功能 迁移

This commit is contained in:
吴方海
2024-06-04 18:19:49 +08:00
parent df65cd0add
commit acbd2e7678
39 changed files with 709 additions and 406 deletions
+12 -1
View File
@@ -254,7 +254,7 @@ namespace YLErp.Web.Controllers
/// <returns></returns>
public JsonResult TradeBackByDate(TradeBackModel model)
{
new SwapTradeService(CurUser).TradeBack(model.TradeId, model.ValueDate);
new SwapTradeService(CurUser).TradeBack(model.TradeId, model.TradeDate);
return JsonSuccess("回退成功");
}
/// <summary>
@@ -1050,5 +1050,16 @@ namespace YLErp.Web.Controllers
return JsonSuccess("更新成功");
}
/// <summary>
/// 发送确认书邮件
/// </summary>
/// <param name="tradeId"></param>
/// <returns></returns>
public JsonResult SendConfimEmail(int tradeId)
{
SwapEndConfirmService service = new SwapEndConfirmService(CurUser);
var result = service.SendConfirmEamil(tradeId);
return JsonSuccess(result);
}
}
}