shallwetalk
shallwetalk
HI,I need to receive a message type MFK_M01 from other company. But receive fail.after I debug I found initiator.sendAndReceive(adtMessage) need to check the message. I know the problem is caused...
**原因** 多个实体继承同一个父类,在导出时候父类字段顺序需要根据前端展示结果,无法指定特定的order **建议描述** ``` @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) @Inherited public @interface ExcelProperty {} ``` 该注解是否可以兼容注解方法,重写父类属性的getter时候可以添加注解覆盖父类属性的配置同时可以按子类要求的顺序导出
## 原因 封装的导出功能需要兼容不同对象的导出,列表中的对象属性会有子列表的存在。需要多个sheet导出 ## 建议 sheetName支持注解获取,类头加入注解可以动态生成sheetName,无需手动赋值
Hi,我们公司的需求是统一一套导入的代码逻辑,因此很多参数需要进行传递,在多sheet导入时,因为担心用户移动sheet的位置顺序,因此,我的readSheet代码为: ```java String sheetName = (SheetName)domainClazz.getAnnotation(SheetName.class).value(); ReadSheet readSheet1 =EasyExcel.readSheet(sheetName).head(domainClazz).registerReadListener(new ImportDomainListener()).build(); ``` 此处,readSheet参数使用的String sheetName,非Interger sheetNo。 在ImportDomainListener()监听器中,使用invokeHeadMap方法去校验head的完整性。 但是我发现,如果文件类型上传错误,将其他domainClass的文件上传,且文件无数据,仅有表头时,不会调用到监听器中invokeHeadMap方法。 经过debug后发现在com.alibaba.excel.util.SheetUtils.match(ReadSheet readSheet, AnalysisContext analysisContext) 方法中47行对传入sheetName与excel文件中的sheetName做了比较,代码如下: ```java if (!StringUtils.isEmpty(parameterSheetName)) { boolean autoTrim = (parameterReadSheet.getAutoTrim() !=...
### 版本情况 JDK版本: openjdk_8_201 hutool版本: 5.7.7 ### 问题描述(包括截图) K8S环境下拼音包报[Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: com.github.promeg.pinyinhelper.Pinyin] with root cause java.lang.ClassNotFoundException: com.github.promeg.pinyinhelper.Pinyin 1. 复现代码 ```java PinyinUtil.getFirstLetter(value,""); ``` ```pom.xml com.github.stuxuhai jpinyin 1.1.8...
## Task Task List: - [ ] Enhance shenyu-plugin-base module unit test,make its coverage rate is more than 80%
Hi,I use a customized attributeConverter Convert List to String.The converter code is: ```java public class ListConverter implements AttributeConverter { final private String splitTag = ","; @Override public String convertToDatabaseColumn(List list)...