提交人:陈绍鑫

日期:2025/10/21 12:00
内容:国资委报表优化
This commit is contained in:
陈绍鑫 2025-10-21 10:47:57 +08:00
parent 496eaef137
commit 0cc095605d
1 changed files with 7 additions and 1 deletions

View File

@ -102,7 +102,13 @@ public class AccountbankReportPlugin extends AbstractReportListDataPlugin {
"FROM \n" +
" RankedExRates\n" +
"WHERE \n" +
" rn = 1;");
" rn = 1" +
"UNION ALL\n" +
"SELECT\n" +
" 1 AS FOrgCurID,\n" +
" 1 AS FCurID,\n" +
" 1 AS FExRate,\n" +
" '"+dateList.get(0)+"' AS FEffectDate;");
DataSet hl = DB.queryDataSet(this.getClass().getSimpleName(), DBRoute.of("sys"), sqlBuilder2.toString());//系统云
String[] fieldNames2 = finish1.getRowMeta().getFieldNames();