新增自定义接口,获取销售订单收款金额
This commit is contained in:
33
Services/OrgService.cs
Normal file
33
Services/OrgService.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Kingdee.BOS;
|
||||
using Kingdee.BOS.Orm.DataEntity;
|
||||
using Kingdee.BOS.ServiceHelper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GZ_LTHPilot_ORDER.Services
|
||||
{
|
||||
public class OrgService
|
||||
{
|
||||
public Context ctx;
|
||||
public OrgService(Context ctx)
|
||||
{
|
||||
this.ctx = ctx;
|
||||
}
|
||||
public DynamicObjectCollection GetOrgList()
|
||||
{
|
||||
var sql = @"/*dialect*/SELECT
|
||||
t0.FORGID,
|
||||
t0l.FNAME,
|
||||
*
|
||||
FROM
|
||||
T_ORG_ORGANIZATIONS t0
|
||||
LEFT JOIN T_ORG_ORGANIZATIONS_L t0L ON t0.FORGID = t0L.FORGID
|
||||
AND FLOCALEID = 2052
|
||||
";
|
||||
return DBServiceHelper.ExecuteDynamicObject(this.ctx, sql);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user