public int AddIntroduces(dynamic model)
{
const string sql = @"INSERT INTO cust_site_introduces
(innerid, custid, enterprisename, logo, introduces, telephone, mobile, address, website, wechatnumber, wechatqrcode, spare1)
VALUES
(@innerid, @custid, @enterprisename, @logo, @introduces, @telephone, @mobile, @address, @website, @wechatnumber, @wechatqrcode, @spare1);";
try
{
Helper.Execute(sql, model);
return 1;
}
catch (Exception ex)
{
LoggerFactories.CreateLogger().Write("添加精品车商的公司简介异常:", TraceEventType.Error, ex);
return 0;
}
}