This commit is contained in:
2025-05-09 15:59:00 +08:00
parent 4767ce003b
commit 872bfd1172
2 changed files with 16 additions and 17 deletions

View File

@@ -116,7 +116,7 @@ GROUP BY F_PaperNumber, FSALEORGID
AND A.FDOCUMENTSTATUS = 'C' AND ISNULL(A.F_CONTRACTNUMBER,'')!=''
AND (A.F_AMOUNT < C.FBILLALLAMOUNT_LC
or A.F_AMOUNT IS NULL) {where}
) A ORDER BY A.FCUSTID,a.FID desc ");
) A ORDER BY A.FCUSTID,a.FDATE ");
return DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
}