27 lines
741 B
C#
27 lines
741 B
C#
namespace YLErp.Web.Controllers
|
|
{
|
|
public class TestController : BaseController
|
|
{
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public ActionResult TradeListMailTest()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public ActionResult TradeListMailPart(string tradeNumber)
|
|
{
|
|
if (!string.IsNullOrWhiteSpace(tradeNumber))
|
|
{
|
|
var trades = yldb.trade.Where(n => n.TradeNumber == tradeNumber).ToArray();
|
|
BLL.tradeBLL.SetFieldsByTradeType(trades);
|
|
return PartialView("~/Statics/views/TradeListMail.cshtml", trades);
|
|
}
|
|
return Content(string.Empty, "text/html");
|
|
}
|
|
}
|
|
}
|