select id, name,uploaduser,uploadtime,filepath,shppath,unzippath,filetype,spotsnumber,
spotsarea,fromroute,fromtype,xzqdm,readstatus,readmessage,public.st_asewkt(geom) geom
from t_gdbh_jctb_file
insert into t_gdbh_jctb_file
id,
name,
uploaduser,
uploadtime,
filepath,
shppath,
unzippath,
filetype,
xzqdm,
spotsnumber,
spotsarea,
spotssize,
readstatus,
readmessage,
geom,
#{id},
#{name},
#{uploaduser},
#{uploadtime},
#{filepath},
#{shppath},
#{unzippath},
#{filetype},
#{xzqdm},
#{spotsnumber},
#{spotsarea},
#{spotssize},
#{readstatus},
#{readmessage},
public.st_transform(public.st_geomfromewkt(#{geom}), 4326),
update t_gdbh_jctb_file
name = #{name},
uploaduser = #{uploaduser},
uploadtime = #{uploadtime},
filepath = #{filepath},
shppath = #{shppath},
proxypath = #{proxypath},
unzippath = #{unzippath},
filetype = #{filetype},
xzqdm = #{xzqdm},
spotsnumber = #{spotsnumber},
spotsarea = #{spotsarea},
spotssize = #{spotssize},
readstatus = #{readstatus},
readmessage = SUBSTRING(#{readmessage},0,290),
filetime = #{filetime},
geom = public.ST_GeomFromEWKT(#{geom}),
where id = #{id}
delete from t_gdbh_jctb_file where id = #{id}
delete from t_gdbh_jctb_file where id in
#{id}