管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2022-12-06 2d32ae5ebc6de08a84cd43bff48618778bfa0e07
JavaCode/FrmMyBatisPlus.cs
@@ -194,6 +194,7 @@
            string bak = string.IsNullOrWhiteSpace(tabs[0].desc) ? shortName : tabs[0].desc.Replace("表", "");
            //if (this.HasGeom(tabs)) return;
            string javaFile = this.HasGeom(tabs) ? "GeoMapper.java" : "Mapper.java";
            string xml = File.ReadAllText(Path.Combine(baseDir, "BsTemplate\\" + javaFile));
            xml = xml
@@ -223,6 +224,7 @@
            string bak = string.IsNullOrWhiteSpace(tabs[0].desc) ? shortName : tabs[0].desc.Replace("表", "");
            long uid = (long)Math.Floor((new Random()).NextDouble() * 1000000000000000000D);
            //if (this.HasGeom(tabs)) return;
            string javaFile = this.HasGeom(tabs) ? "GeoEntity.java" : "Entity.java";
            string xml = File.ReadAllText(Path.Combine(baseDir, "BsTemplate\\" + javaFile));
            xml = xml