Prechádzať zdrojové kódy

字段转换位置调换

lvxianyun 3 rokov pred
rodič
commit
414981f805

+ 1 - 1
src/main/java/com/persagy/proxy/adm/utils/AdmEntityTransferUtil.java

@@ -89,7 +89,7 @@ public class AdmEntityTransferUtil {
         // 转换属性名 TODO 目前只有创建时间和修改时间需要转换,后续有其他时通过建立映射在此转换即可
         copyProperty(node, "creationTime", "createTime");
         copyProperty(node, "modifiedTime", "lastUpdate");
-        copyProperty(node, "objectType", "objType");
+        copyProperty(node, "objType", "objectType");
         removeProperty(node, projection);
     }