You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
4 years ago
|
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<Package>();
|
||
|
|
||
|
|
||
|
//将用户注册到BaseBLL类中,该动作是必须动作
|
||
|
bll.RegistLoginUser(userID);
|
||
|
result = bll.InsertPackage(recorders);
|
||
|
input.Returns = new Dictionary<string, NSC.ParameterStruct>();
|
||
|
input.Returns.Add("ResultModel", new NSC.ParameterStruct(result));//基本信息
|
||
|
|
||
|
return input;
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
throw ex;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|