commit
This commit is contained in:
@@ -67,7 +67,7 @@ namespace NX.ERP.U8.Mom
|
||||
|
||||
if (!string.IsNullOrEmpty(Params.ProductCode))
|
||||
{
|
||||
where.Add(" b.InvCode like @ProductCode");
|
||||
where.Add(" a.InvCode like @ProductCode");
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Params.ProductOrderNo))
|
||||
{
|
||||
@@ -86,15 +86,16 @@ namespace NX.ERP.U8.Mom
|
||||
using (var conn = U8LoginContext.Instance.Connection)
|
||||
{
|
||||
string strSQL = @"select
|
||||
a.MoId as ProductOrderId,a.moCode as ProductOrderNo,a.CreateDate as ProductDate,a.CreateUser as PreparedBy,
|
||||
b.MoId as id ,b.MoDId as ProductOrderDtlId,b.MoId as ProductOrderId,a.MoCode as ProductOrderNo,a.CreateDate as ProductOrderDate,b.InvCode as ProductCode,b.Qty as Qty
|
||||
from mom_order as a
|
||||
left join mom_orderdetail as b on a.MoId=b.MoId
|
||||
a.MoId as ProductOrderId,a.moCode as ProductOrderNo,a.MakeDate as ProductDate,a.ModifyUser as PreparedBy,
|
||||
a.MoId as id ,a.MoDId as ProductOrderDtlId,a.MoId as ProductOrderId,a.MoCode as ProductOrderNo,a.MakeDate as ProductOrderDate,a.InvCode as ProductCode,a.Qty as Qty
|
||||
FROM v_st_mom_orderdetail a with (nolock) Where ( (1>0) AND (1>0) )
|
||||
AND ( 1>0 ) and (case when ISNULL(SfcFlag,0)=1 then iquantity+QualifiedInQty else 1 end)<>0
|
||||
and ISNULL(QCFLAG,0)=0 and ISNULL(Status,0) = 3 and (ISNULL(iQuantity,0))>0 and isnull(MrpQty,0)<>0 and 1=1
|
||||
|
||||
";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
strSQL += $" where {strWhere} ";
|
||||
strSQL += $" and {strWhere} ";
|
||||
}
|
||||
var lookupDetail = new Dictionary<int, Model.MOM.MomDetail>();
|
||||
var lookupOrder = new Dictionary<int, Model.MOM.MomOrder>();
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<appSettings>
|
||||
<add key="server" value="192.168.0.168"/>
|
||||
<add key="AccId" value="(default)@001"/>
|
||||
<add key="UserId" value="wx999"/>
|
||||
<add key="Password" value="!@#qwe123"/>
|
||||
<add key="UserId" value="wx995"/>
|
||||
<add key="Password" value="1"/>
|
||||
<add key="EaiPort" value="80"/>
|
||||
<add key="EaiPath" value="U8EAI/import.asp" />
|
||||
<add key="webpages:Version" value="3.0.0.0" />
|
||||
|
||||
Reference in New Issue
Block a user