This commit is contained in:
2025-08-05 15:42:21 +08:00
parent 7315404327
commit 38117dbe42
2 changed files with 14 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ namespace Pilot_KD_Parino.QPHY_AutoWrireRecord
var data = DBServiceHelper.ExecuteDynamicObject(this.Context, sql);
var one1 = (from q in data
join b in list1 on q["FBILLNO"].ToString() equals b["FBILLNO2"].ToString()
where decimal.Parse(b["FALLAMOUNT22"]?.ToString()) != decimal.Parse(q["F_AMOUNT"]?.ToString())
where decimal.Parse(b["FALLAMOUNT22"]?.ToString()) > decimal.Parse(q["F_AMOUNT"]?.ToString())
select q["FBILLNO"]).ToList();
if (one1.Count > 0)
{
@@ -62,7 +62,7 @@ namespace Pilot_KD_Parino.QPHY_AutoWrireRecord
one1 = (from q in data
join b in list2 on q["FBILLNO"].ToString() equals b["FBILLNO3"].ToString()
where decimal.Parse(b["FALLAMOUNT33"]?.ToString()) != decimal.Parse(q["F_AMOUNT"]?.ToString())
where decimal.Parse(b["FALLAMOUNT33"]?.ToString()) > decimal.Parse(q["F_AMOUNT"]?.ToString())
select q["FBILLNO"]).ToList();
if (one1.Count > 0)
{