1
This commit is contained in:
@@ -905,6 +905,8 @@ select *from tempdb..tablepzck20210526
|
|||||||
// where.Add(" a.iQuantity - isnull(d.cqty,0) >0 and b.cVerifier is not null ");
|
// where.Add(" a.iQuantity - isnull(d.cqty,0) >0 and b.cVerifier is not null ");
|
||||||
|
|
||||||
where.Add(" mm.wfiQuantity >0 and mm.cVerifier is not null ");
|
where.Add(" mm.wfiQuantity >0 and mm.cVerifier is not null ");
|
||||||
|
if(info1 !=null)
|
||||||
|
{
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(info1.cCusAbbName))
|
if (!string.IsNullOrEmpty(info1.cCusAbbName))
|
||||||
{
|
{
|
||||||
@@ -1038,7 +1040,7 @@ select *from tempdb..tablepzck20210526
|
|||||||
|
|
||||||
where.Add(strs);
|
where.Add(strs);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var aa = string.Join(" and ", where.ToArray());
|
var aa = string.Join(" and ", where.ToArray());
|
||||||
|
|
||||||
@@ -1049,7 +1051,9 @@ select *from tempdb..tablepzck20210526
|
|||||||
|
|
||||||
using (var conn = NX.ERP.U8.U8LoginContext.Instance.Connection)
|
using (var conn = NX.ERP.U8.U8LoginContext.Instance.Connection)
|
||||||
{
|
{
|
||||||
return conn.Query<object>(sql, new { cCusAbbName = $"%{info1.cCusAbbName}%", dDate = info1.dDate, dPreDate = info1.dPreDate, cSOCode = info1.cSOCode, cInvCode = $"%{info1.cInvCode}%" , cInvName = $"%{info1.cInvName}%" , cInvStd = $"%{info1.cInvStd}%" , cMemo = $"%{info1.cMemo}%", SoCodes = info1.SoCodes, info1.jandate, info1.wfiQuantity, info1.kcyl, });
|
try { return conn.Query<object>(sql, new { cCusAbbName = $"%{info1.cCusAbbName}%", dDate = info1.dDate, dPreDate = info1.dPreDate, cSOCode = info1.cSOCode, cInvCode = $"%{info1.cInvCode}%", cInvName = $"%{info1.cInvName}%", cInvStd = $"%{info1.cInvStd}%", cMemo = $"%{info1.cMemo}%", SoCodes = info1.SoCodes, info1.jandate, info1.wfiQuantity, info1.kcyl, }); }
|
||||||
|
catch { return null; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user