mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 16:15:27 +00:00
fix[storage]: 修复误删除cell代码
This commit is contained in:
1 parent
f25d563802
commit
61f61894b4
3 files changed
+8
-1
No files matched your search
@@ -100,7 +100,9 @@ public abstract class CellUtils {
|
||||
// 普通数字
|
||||
if (null != format && !format.contains(StringUtils.PERIOD)) {
|
||||
var longValue = (long) value;
|
||||
// 对于无小数部分的数字类型,转为Long
|
||||
if (longValue == value) {
|
||||
return Long.valueOf(longValue);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ public class StudentResource {
|
||||
private String name;
|
||||
|
||||
private int age;
|
||||
private float score;
|
||||
private String[] courses;
|
||||
private User[] users;
|
||||
private User user;
|
||||
@@ -55,6 +56,10 @@ public class StudentResource {
|
||||
return age;
|
||||
}
|
||||
|
||||
public float getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public String[] getCourses() {
|
||||
return courses;
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user