feat:框架完善,增加完整的支持
This commit is contained in:
parent
8f4544603c
commit
db9496943f
@ -259,6 +259,9 @@ public class BeanProperty {
|
||||
property.prop("type", "month");
|
||||
} else if (pattern.length() == 10) {
|
||||
property.prop("type", "date");
|
||||
} else if (pattern.length() == 16) {
|
||||
property.prop("type", "datetime");
|
||||
property.prop("format", "YYYY-MM-DD HH:mm");
|
||||
} else if (pattern.length() > 16) {
|
||||
property.prop("format", "YYYY-MM-DD HH:mm:ss");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user