可信度评估引擎在Excel电子表格中被捕获和维护。它接受以下参数:年龄、收入、负债、职业、教育等,并返回一些分数(一些数字)。
目标是从后端(Java)“执行”这个Excel文件。
是否有能够满足这些需要的工具/框架:
有很多管理Excel文件的框架:写和读。但是没有任何东西允许使用Excel电子表格作为后端的计算引擎,
发布于 2018-06-21 17:12:28
您是否考虑过将所有计算转移到Java中,然后将其公开到Excel --即Excel中有一个函数调用相同的Java代码来进行计算?
您可以用Java编写Excel函数,使用Jinx,https://exceljava.com。
发布于 2019-02-11 20:43:14
忽略总体概念是否是一个好主意,一种选择是使用Excel让电子表格将字符串格式的数据推到后端。
https://support.microsoft.com/en-us/help/289150/how-to-set-up-and-use-the-rtd-function-in-excel
发布于 2019-09-16 05:05:30
它实际上不应该太困难,特别是因为布局和数据非常简单。这将进一步研究你的方面,但这应该作为一个起点。
检查一下:-创建一个Excel文件
- "r" is where it's at
- "t" is the type it is. "s" means string, which will be in the "sharedStrings.xml" file.
- the next level deeper "worksheet/sheetData/row[0]/c[0]/v", you'll see the number zero. This is the position in the XML in the "sharedString.xml" at the following path "sst/si[_]/t" where "_" is the position.
。
- For rows [2:3], you'll see the numbers you've entered with their attributes.
- In row [4], you'll see the "../row[4]/c/f" "SUM(A2:A3)" and for "../row[4]/c/v", you'll see the sum of whatever the numbers you've entered.
探索里面的所有XML文件并四处游玩。
您可以解析、修改XML并保存它,然后将文件类型更改为".XLSX“或其他任何内容。
好好享受吧。
https://stackoverflow.com/questions/49813601
复制相似问题