public int insert(M_AuditingState model) { return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
/// <summary> /// 根据ID更新 /// </summary> public bool UpdateByID(M_AuditingState model) { return(Sql.UpdateByIDs(TbName, PK, model.StateCode.ToString(), model.GetFieldAndPara(), model.GetParameters())); }