JusChui commented on issue #648:
URL: https://github.com/apache/fesod/issues/648#issuecomment-4068444829

   
我在2.0.1-incubating版本仍然遇到这个问题,我编写了文件导出工具类,定义了脱敏注解和org.apache.fesod.sheet.converters.Converter<?>的实现类,通过registerConverter(new
 XxxxxConverter())注册converter,但还是仅当使用注解@ExcelProperty(value = "xxx", converter 
= XxxxxConverter.class)时显式指定converter 
才能进入自定义处理器,然后重写了处理器,通过实现org.apache.fesod.sheet.write.handler.CellWriteHandler接口重写afterCellDispose方法而非实现org.apache.fesod.sheet.converters.Converter<?>,再通过
 FesodSheet.write(response.getOutputStream(), clazz)
   .registerWriteHandler(new XxxxxCellWriteHandler())注册处理器解决问题。
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to