在 gecBorrow.java中定义一个
//for reverse allocation of manually entered qty
private String rAllocKey;
public String getRAllocKey() {
return rAllocKey;
}
public void setRAllocKey(String rAllocKey) {
this.rAllocKey = rAllocKey;
}
这样发现在gecBorrowVO中 的
public var rAllocKey:String;
传到后台发现rAllocKey 为null,
原因是第二位是大写,JDK就不处理这样的字段了
本文探讨了Java中字段名大小写敏感导致的问题。具体案例是在gecBorrow.java类中的rAllocKey字段与gecBorrowVO类中的rAllocKey变量不匹配的原因,即由于首字母大写导致JDK无法正确识别。
3935

被折叠的 条评论
为什么被折叠?



