Commit 94d86bfc authored by frank.xa.zhang's avatar frank.xa.zhang

fixed filling issues

parent 6a09ce9a
......@@ -456,10 +456,10 @@ public class ReportGeneratorImpl extends VatAbstractService implements ReportGen
* @param workbook 工作簿
*/
private void addFunctionsToWorkbook(Workbook workbook, FormulaContext formulaContext) {
String[] functionNames = {"SGSR", "FSJZ", "ND", "BB", "XXFP", "GZSD", "ProjectContext", "JXFPMX"};
String[] functionNames = {"SGSR", "FSJZ", "ND", "BB", "XXFP", "GZSD", "ProjectContext", "JXFPMX","JXFP"};
FreeRefFunction[] functionImpls = {new SGSR(formulaContext), new FSJZ(formulaContext), new ND(formulaContext),
new BB(formulaContext), new XXFP(formulaContext), new GZSD(formulaContext), new ProjectContext(formulaContext)
, new JXFPMX(formulaContext)};
, new JXFPMX(formulaContext),new JXFP(formulaContext)};
UDFFinder udfs = new DefaultUDFFinder(functionNames, functionImpls);
UDFFinder udfToolpack = new AggregatingUDFFinder(udfs);
workbook.addToolPack(udfToolpack);
......
#log4j.debug = true
log4j.rootLogger=INFO,stdout,fileoutall,fileoutwarn,fileouterror
log4j.rootLogger=DEBUG,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
......@@ -31,4 +31,4 @@ log4j.appender.fileouterror.layout=org.apache.log4j.PatternLayout
log4j.logger.pwc.taxtech.atms=DEBUG
log4j.logger.org.nutz=DEBUG
log4j.logger.org.apache.ibatis=DEBUG
log4j.logger.org.springframework.aop.framework.CglibAopProxy=ERROR
\ No newline at end of file
log4j.logger.org.springframework.aop.framework.CglibAopProxy=DEBUG
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment