方法一:
public int SaveJob(JObject data) { var formWrapper = RequestWrapper.Instance().LoadSettingXmlString(@" <settings> <table>{0}</table> <where><field name='ZWID' cp='equal'></field></where> </settings>", "C_Jobs"); return this.Insert(formWrapper.SetRequestData(data["form"]).ToParamInsert()); }
方法二:
var result = IndustryService.Instance().Insert(
ParamInsert.Instance().Insert("SYS_Industry") //表名
.Column("IDName", IDName) //新增列
.Column("CreateID", loginer.PID)); //新增列