We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.8.2
实体转换,遇到相同字段(但大小写不同),生成set时无法正确对应。
public class TelQiyuRecordPhoneModel implements Serializable { private static final long serialVersionUID = 1L; private Long id; private String sessionId; private Short direction; private Long connectionStartTime; private Long waitingDuration; private String waitDuration; private Long callDuration; private Long staffId; private String staffNum; private String staffName; private String callOutNum; private String callInNum; private Integer connected; private String status; /** * 录音地址 * */ private String recordUrl; private String recordUrl2; /** * 废弃列 * */ private String recordurl; private String evaluation; private String overflowFrom; private String shuntGroupName; private String ivrPath; private String mobileArea; private Long createTime; private Long connectionendtime; private String user; private String category; private Integer visittimes; private String ringDuration; private Long startTime; private Integer callSystemType; private Date gmtCreate; private Date gmtUpdate; private Integer playCount; ........ }
telQiyuRecordPhoneModel.setRecordUrl(model.getRecordurl()); telQiyuRecordPhoneModel.setRecordUrl2(model.getRecordUrl2()); telQiyuRecordPhoneModel.setRecordurl(model.getRecordurl());
telQiyuRecordPhoneModel.setRecordUrl(model.getRecordUrl()); telQiyuRecordPhoneModel.setRecordUrl2(model.getRecordUrl2()); telQiyuRecordPhoneModel.setRecordurl(model.getRecordurl());
The text was updated successfully, but these errors were encountered:
建议改个字段名,两个字段名大小写后一样不好匹配
Sorry, something went wrong.
No branches or pull requests
版本
2.8.2
场景
实体转换,遇到相同字段(但大小写不同),生成set时无法正确对应。
截图
实体类
错误生成
正确结果
The text was updated successfully, but these errors were encountered: