@@ -22,7 +22,7 @@
#
SAGA_URL = http://www.sagacloud.cn
-SAGA_KOTLIN_VERSION = 1.4.104
+SAGA_KOTLIN_VERSION = 1.4.105
# android
# SYBOTAN_KOTLIN_VERSION = 1.4.63
@@ -357,7 +357,11 @@ abstract class SAbstractDao<ENTITY: Any>(entityClazz: Class<ENTITY>) {
if (entity == null){
null
}else{
- field.get(entity).toJson()
+ if (field.get(entity) == null){
+ null
+ }else{
+ field.get(entity).toJson()
+ }
}
})