|
@@ -87,42 +87,110 @@
|
|
|
<insert id="insertTGdbhJctb" parameterType="TGdbhJctb">
|
|
|
insert into t_gdbh_jctb
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">id,</if>
|
|
|
- <if test="pcsj != null and pcsj != ''">pcsj,</if>
|
|
|
- <if test="xzqhdm != null">xzqhdm,</if>
|
|
|
- <if test="xmc != null">xmc,</if>
|
|
|
- <if test="jcbh != null and jcbh != ''">jcbh,</if>
|
|
|
- <if test="qlx != null">qlx,</if>
|
|
|
- <if test="qlxmc != null">qlxmc,</if>
|
|
|
- <if test="hlx != null">hlx,</if>
|
|
|
- <if test="hlxmc != null">hlxmc,</if>
|
|
|
- <if test="lzb != null">lzb,</if>
|
|
|
- <if test="bzb != null">bzb,</if>
|
|
|
- <if test="jcmj != null">jcmj,</if>
|
|
|
- <if test="qsx != null">qsx,</if>
|
|
|
- <if test="hsx != null">hsx,</if>
|
|
|
- <if test="geom != null">geom,</if>
|
|
|
- <if test="qsxtif != null">qsxtif,</if>
|
|
|
- <if test="hsxtif != null">hsxtif,</if>
|
|
|
+ <if test="geom != null">geom,</if>
|
|
|
+ <if test="year != null">year,</if>
|
|
|
+ <if test="issuedate != null">issuedate,</if>
|
|
|
+ <if test="batchinfo != null">batchinfo,</if>
|
|
|
+ <if test="regioncode != null">regioncode,</if>
|
|
|
+ <if test="shengmc != null">shengmc,</if>
|
|
|
+ <if test="shimc != null">shimc,</if>
|
|
|
+ <if test="xmc != null">xmc,</if>
|
|
|
+ <if test="jcbh != null">jcbh,</if>
|
|
|
+ <if test="tblx != null">tblx,</if>
|
|
|
+ <if test="qlx != null">qlx,</if>
|
|
|
+ <if test="hlx != null">hlx,</if>
|
|
|
+ <if test="hlb != null">hlb,</if>
|
|
|
+ <if test="qsx != null">qsx,</if>
|
|
|
+ <if test="hsx != null">hsx,</if>
|
|
|
+ <if test="dqjh != null">dqjh,</if>
|
|
|
+ <if test="lzb != null">lzb,</if>
|
|
|
+ <if test="bzb != null">bzb,</if>
|
|
|
+ <if test="cxbh != null">cxbh,</if>
|
|
|
+ <if test="bz != null">bz,</if>
|
|
|
+ <if test="jcmj != null">jcmj,</if>
|
|
|
+ <if test="gdmj != null">gdmj,</if>
|
|
|
+ <if test="nydmj != null">nydmj,</if>
|
|
|
+ <if test="dlrdjsydmj != null">dlrdjsydmj,</if>
|
|
|
+ <if test="yjjbntmj != null">yjjbntmj,</if>
|
|
|
+ <if test="tbxzqdmmax != null">tbxzqdmmax,</if>
|
|
|
+ <if test="tbxzqmcmax != null">tbxzqmcmax,</if>
|
|
|
+ <if test="tbxzjxzqdm != null">tbxzjxzqdm,</if>
|
|
|
+ <if test="tbxzjxzqmc != null">tbxzjxzqmc,</if>
|
|
|
+ <if test="tbcjxzqdm != null">tbcjxzqdm,</if>
|
|
|
+ <if test="tbcjxzqmc != null">tbcjxzqmc,</if>
|
|
|
+ <if test="nzy2018 != null">nzy2018,</if>
|
|
|
+ <if test="sklx != null">sklx,</if>
|
|
|
+ <if test="tskqmj != null">tskqmj,</if>
|
|
|
+ <if test="yjkcmj != null">yjkcmj,</if>
|
|
|
+ <if test="ysxgdmj != null">ysxgdmj,</if>
|
|
|
+ <if test="ysxnydmj != null">ysxnydmj,</if>
|
|
|
+ <if test="ysxjsydmj != null">ysxjsydmj,</if>
|
|
|
+ <if test="ysxwlydmj != null">ysxwlydmj,</if>
|
|
|
+ <if test="ysxjbntmj != null">ysxjbntmj,</if>
|
|
|
+ <if test="wsxgdmj != null">wsxgdmj,</if>
|
|
|
+ <if test="wsxstmj != null">wsxstmj,</if>
|
|
|
+ <if test="wsxnydmj != null">wsxnydmj,</if>
|
|
|
+ <if test="wsxjsydmj != null">wsxjsydmj,</if>
|
|
|
+ <if test="wsxwlydmj != null">wsxwlydmj,</if>
|
|
|
+ <if test="wsxjbntmj != null">wsxjbntmj,</if>
|
|
|
+ <if test="sfsk != null">sfsk,</if>
|
|
|
+ <if test="pcsj != null">pcsj,</if>
|
|
|
+ <if test="id != null">id,</if>
|
|
|
+ <if test="qsxtif != null">qsxtif,</if>
|
|
|
+ <if test="hsxtif != null">hsxtif,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">#{id},</if>
|
|
|
- <if test="pcsj != null and pcsj != ''">#{pcsj},</if>
|
|
|
- <if test="xzqhdm != null">#{xzqhdm},</if>
|
|
|
- <if test="xmc != null">#{xmc},</if>
|
|
|
- <if test="jcbh != null and jcbh != ''">#{jcbh},</if>
|
|
|
- <if test="qlx != null">#{qlx},</if>
|
|
|
- <if test="qlxmc != null">#{qlxmc},</if>
|
|
|
- <if test="hlx != null">#{hlx},</if>
|
|
|
- <if test="hlxmc != null">#{hlxmc},</if>
|
|
|
- <if test="lzb != null">#{lzb},</if>
|
|
|
- <if test="bzb != null">#{bzb},</if>
|
|
|
- <if test="jcmj != null">#{jcmj},</if>
|
|
|
- <if test="qsx != null">#{qsx},</if>
|
|
|
- <if test="hsx != null">#{hsx},</if>
|
|
|
- <if test="geom != null">public.st_transform(public.st_geomfromewkt(#{geom}), 4326),</if>
|
|
|
- <if test="qsxtif != null">#{qsxtif},</if>
|
|
|
- <if test="hsxtif != null">#{hsxtif},</if>
|
|
|
+ <if test="geom != null">public.st_transform(public.st_geomfromewkt(#{geom}), 4326),</if>
|
|
|
+ <if test="year != null">#{year},</if>
|
|
|
+ <if test="issuedate != null">#{issuedate},</if>
|
|
|
+ <if test="batchinfo != null">#{batchinfo},</if>
|
|
|
+ <if test="regioncode != null">#{regioncode},</if>
|
|
|
+ <if test="shengmc != null">#{shengmc},</if>
|
|
|
+ <if test="shimc != null">#{shimc},</if>
|
|
|
+ <if test="xmc != null">#{xmc},</if>
|
|
|
+ <if test="jcbh != null">#{jcbh},</if>
|
|
|
+ <if test="tblx != null">#{tblx},</if>
|
|
|
+ <if test="qlx != null">#{qlx},</if>
|
|
|
+ <if test="hlx != null">#{hlx},</if>
|
|
|
+ <if test="hlb != null">#{hlb},</if>
|
|
|
+ <if test="qsx != null">#{qsx},</if>
|
|
|
+ <if test="hsx != null">#{hsx},</if>
|
|
|
+ <if test="dqjh != null">#{dqjh},</if>
|
|
|
+ <if test="lzb != null">#{lzb},</if>
|
|
|
+ <if test="bzb != null">#{bzb},</if>
|
|
|
+ <if test="cxbh != null">#{cxbh},</if>
|
|
|
+ <if test="bz != null">#{bz},</if>
|
|
|
+ <if test="jcmj != null">#{jcmj},</if>
|
|
|
+ <if test="gdmj != null">#{gdmj},</if>
|
|
|
+ <if test="nydmj != null">#{nydmj},</if>
|
|
|
+ <if test="dlrdjsydmj != null">#{dlrdjsydmj},</if>
|
|
|
+ <if test="yjjbntmj != null">#{yjjbntmj},</if>
|
|
|
+ <if test="tbxzqdmmax != null">#{tbxzqdmmax},</if>
|
|
|
+ <if test="tbxzqmcmax != null">#{tbxzqmcmax},</if>
|
|
|
+ <if test="tbxzjxzqdm != null">#{tbxzjxzqdm},</if>
|
|
|
+ <if test="tbxzjxzqmc != null">#{tbxzjxzqmc},</if>
|
|
|
+ <if test="tbcjxzqdm != null">#{tbcjxzqdm},</if>
|
|
|
+ <if test="tbcjxzqmc != null">#{tbcjxzqmc},</if>
|
|
|
+ <if test="nzy2018 != null">#{nzy2018},</if>
|
|
|
+ <if test="sklx != null">#{sklx},</if>
|
|
|
+ <if test="tskqmj != null">#{tskqmj},</if>
|
|
|
+ <if test="yjkcmj != null">#{yjkcmj},</if>
|
|
|
+ <if test="ysxgdmj != null">#{ysxgdmj},</if>
|
|
|
+ <if test="ysxnydmj != null">#{ysxnydmj},</if>
|
|
|
+ <if test="ysxjsydmj != null">#{ysxjsydmj},</if>
|
|
|
+ <if test="ysxwlydmj != null">#{ysxwlydmj},</if>
|
|
|
+ <if test="ysxjbntmj != null">#{ysxjbntmj},</if>
|
|
|
+ <if test="wsxgdmj != null">#{wsxgdmj},</if>
|
|
|
+ <if test="wsxstmj != null">#{wsxstmj},</if>
|
|
|
+ <if test="wsxnydmj != null">#{wsxnydmj},</if>
|
|
|
+ <if test="wsxjsydmj != null">#{wsxjsydmj},</if>
|
|
|
+ <if test="wsxwlydmj != null">#{wsxwlydmj},</if>
|
|
|
+ <if test="wsxjbntmj != null">#{wsxjbntmj},</if>
|
|
|
+ <if test="sfsk != null">#{sfsk},</if>
|
|
|
+ <if test="pcsj != null">#{pcsj},</if>
|
|
|
+ <if test="id != null">#{id},</if>
|
|
|
+ <if test="qsxtif != null">#{qsxtif},</if>
|
|
|
+ <if test="hsxtif != null">#{hsxtif},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|