using System; using System.Collections.Generic; using System.Linq; using System.Text; using QMAPP.FJC.BLL.Operation; using QMAPP.Entity; using QMAPP.FJC.Entity.Operation; namespace HTIS.BLL { public class InsertCaseCodeBll : NSC.IService { public NSC.NetServiceStruct ServiceFunction(Common.Data.UserAuthority userAuth, NSC.NetServiceStruct input) { try { ProductBLL bll = new ProductBLL(); DataResult result = new DataResult(); //接收手持或车载前端传递的参数, string userID = input.Params["userID"].GetString(); //盘点计划表名Countingplaninfo Package recorders = input.Params["recorder"].GetEntity(); //将用户注册到BaseBLL类中,该动作是必须动作 bll.RegistLoginUser(userID); result = bll.InsertPackage(recorders); input.Returns = new Dictionary(); input.Returns.Add("ResultModel", new NSC.ParameterStruct(result));//基本信息 return input; } catch (Exception ex) { throw ex; } } } }