/// <summary> /// 修改品PM组信息 /// </summary> /// <param name="entity"></param> /// <returns></returns> public virtual ProductManagerGroupInfo UpdateProductManagerGroupInfo(ProductManagerGroupInfo entity) { if (entity != null) { CheckProductManagerProcessor.CheckProductManagerrGroupInfoSysNo(entity.SysNo); } CheckProductManagerProcessor.CheckProductManagerrGroupInfo(entity); return(_productManagerGroupDA.UpdateProductManagerGroupInfo(entity)); }
/// <summary> /// 根据SysNo获取PM组信息 /// </summary> /// <param name="productManagerGroupInfoSysNo"></param> /// <returns></returns> public virtual ProductManagerGroupInfo GetProductManagerGroupInfoBySysNo(int productManagerGroupInfoSysNo) { CheckProductManagerProcessor.CheckProductManagerrGroupInfoSysNo(productManagerGroupInfoSysNo); return(_productManagerGroupDA.GetProductManagerGroupInfoBySysNo(productManagerGroupInfoSysNo)); }