1
This commit is contained in:
@@ -20,7 +20,9 @@ namespace NX.ERP.U8.Mom
|
|||||||
{
|
{
|
||||||
using (var conn = U8LoginContext.Instance.Connection)
|
using (var conn = U8LoginContext.Instance.Connection)
|
||||||
{
|
{
|
||||||
string strSQL = @" select a.MoId as ProductOrderId,a.moCode as ProductOrderNo,ISNULL( ModifyDate,createDate) as ModifyDate,case when(b.Ufts>a.Ufts) then CONVERT(BIGINT,b.Ufts) else CONVERT(BIGINT,a.Ufts) end AS pubufts,a.CreateDate as ProductDate,a.CreateUser as PreparedBy,
|
string strSQL = @" select a.MoId as ProductOrderId,a.moCode as ProductOrderNo,ISNULL( ModifyDate,createDate) as ModifyDate,
|
||||||
|
case when(b.Ufts>a.Ufts) then CONVERT(BIGINT,b.Ufts) else CONVERT(BIGINT,a.Ufts) end AS pubufts,
|
||||||
|
a.CreateDate as ProductDate,a.CreateUser as PreparedBy,
|
||||||
b.MoId as id ,b.MoDId as ProductOrderDtlId,b.MoId as ProductOrderId,b.MoTypeId,d.DueDate,b.Remark as Remark,ISNULL( b.MDeptCode,'53') as MDeptCode,a.MoCode as ProductOrderNo,
|
b.MoId as id ,b.MoDId as ProductOrderDtlId,b.MoId as ProductOrderId,b.MoTypeId,d.DueDate,b.Remark as Remark,ISNULL( b.MDeptCode,'53') as MDeptCode,a.MoCode as ProductOrderNo,
|
||||||
a.CreateDate as ProductOrderDate,b.InvCode as ProductCode,b.Qty as Qty,b.QualifiedInQty,b.SortSeq,b.SoCode,b.Status,InvDetail.cInvName as ProductName ,InvDetail.cInvStd ProductSpecsModel,
|
a.CreateDate as ProductOrderDate,b.InvCode as ProductCode,b.Qty as Qty,b.QualifiedInQty,b.SortSeq,b.SoCode,b.Status,InvDetail.cInvName as ProductName ,InvDetail.cInvStd ProductSpecsModel,
|
||||||
c.AllocateId as id ,c.AllocateId as AllocateId,c.MoDId as ProductOrderDtlId,c.ChangeRate as iinvexchrate,c.AuxUnitCode,c.InvCode as MaterialCode,InvLocate.cInvName as MaterialName,InvLocate.cSrpolicy as Srpolicy,InvLocate.cInvStd as MaterialSpecsModel,b.MoId as ProductOrderId, c.IssQty as IssQty,c.Qty,
|
c.AllocateId as id ,c.AllocateId as AllocateId,c.MoDId as ProductOrderDtlId,c.ChangeRate as iinvexchrate,c.AuxUnitCode,c.InvCode as MaterialCode,InvLocate.cInvName as MaterialName,InvLocate.cSrpolicy as Srpolicy,InvLocate.cInvStd as MaterialSpecsModel,b.MoId as ProductOrderId, c.IssQty as IssQty,c.Qty,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ namespace NX.ERP.WebAPi.Filters
|
|||||||
if (actionExecutedContext.Exception == null)
|
if (actionExecutedContext.Exception == null)
|
||||||
{
|
{
|
||||||
var uf = new U8.U8Pubufts().GetPubufts();
|
var uf = new U8.U8Pubufts().GetPubufts();
|
||||||
|
//long uf = 34703066;
|
||||||
|
|
||||||
ResultModel<object> result = new ResultModel<object>
|
ResultModel<object> result = new ResultModel<object>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="ApiDbName" value="MES_SUBMIT" />
|
<add key="ApiDbName" value="MES_SUBMIT" />
|
||||||
<add key="server" value="10.0.0.250" />
|
<add key="server" value="10.20.88.250" />
|
||||||
<add key="AccId" value="u8@001" />
|
<add key="AccId" value="U8@001" />
|
||||||
<add key="UserId" value="wx084" />
|
<add key="UserId" value="wx084" />
|
||||||
<add key="Password" value="1" />
|
<add key="Password" value="1" />
|
||||||
<add key="EaiPort" value="80" />
|
<add key="EaiPort" value="80" />
|
||||||
|
|||||||
Reference in New Issue
Block a user