Ver código fonte

修改空间保存地址

服务器 11 meses atrás
pai
commit
c11dfc4bfc

+ 3 - 3
onemap-modules/onemap-file/src/main/resources/mapper/postgresql/SpaceFileRecordMapper.xml

@@ -17,7 +17,7 @@
     </resultMap>
 
     <insert id="saveSpaceFileRecord">
-        INSERT INTO t_space_file_record (id, filepath, zippath, from_type, create_time, from_route)
+        INSERT INTO t_fzss_zhxz_file (id, filepath, zippath, from_type, create_time, from_route)
         VALUES (#{id},
                 #{filepath},
                 #{zippath},
@@ -36,12 +36,12 @@
                filepath,
                create_time,
                area
-        from t_space_file_record
+        from t_fzss_zhxz_file
         where id = #{id}
     </select>
 
     <update id="updateSpaceFileRecord">
-        update t_space_file_record
+        update t_fzss_zhxz_file
         <set>
             <if test="geom != null and geom != ''">geom =
                 public.st_transform(public.st_geomfromewkt(#{geom,jdbcType=OTHER}), 4326),