ldj/WcfService1/CustomerService.svc.cs

46 lines
1.2 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using DeiNiu.wms.Logical;
namespace DeiNiu.Wcf
{
// 注意: 使用“重构”菜单上的“重命名”命令可以同时更改代码、svc 和配置文件中的类名“CustomerService”。
public class CustomerService : basicService, ICustomer
{
private static lCustomer _lCustomer;
lCustomer lCustomerObj
{
get
{
if (_lCustomer == null || _lCustomer.operId != getOperId())
{
_lCustomer = new lCustomer(getOperId());
}
return _lCustomer;
}
}
public DataSet query(string querystr, int rownumStart, int rownumEnd)
{
return lCustomerObj.Query(querystr, rownumStart, rownumEnd);
}
public int updateJdGroup(string[] ids, int group)
{
return lCustomerObj.updateJdGroup(ids, group);
}
public int updateJdHourPoint(string[] ids, int point)
{
return lCustomerObj.updateJdHourPoint(ids, point);
}
}
}