新增价格偏差导出
This commit is contained in:
+2
-2
@@ -34,7 +34,7 @@ sqlInstance.eachRow(sql, { r ->
|
|||||||
if (year_month == '202205') {
|
if (year_month == '202205') {
|
||||||
fiveMap.put(key, r['avg_price'] + "|" + r['calc_type'])
|
fiveMap.put(key, r['avg_price'] + "|" + r['calc_type'])
|
||||||
} else if ((year_month == '202206')) {
|
} else if ((year_month == '202206')) {
|
||||||
fiveMap.put(key, r['avg_price'] + "|" + r['calc_type'])
|
sixMap.put(key, r['avg_price'] + "|" + r['calc_type'])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
for (String key : sixMap.keySet()) {
|
for (String key : sixMap.keySet()) {
|
||||||
@@ -47,4 +47,4 @@ for (String key : sixMap.keySet()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ExcelUtils.write("F:\\数据\\价格\\东莞上海价格偏差大.xlsx", result, "统计")
|
ExcelUtils.write("D:\\数据\\价格\\东莞上海价格偏差大.xlsx", result, "统计")
|
||||||
Reference in New Issue
Block a user