|
|
@@ -0,0 +1,848 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.railway.business.catenary.mapper.BusJcbGlkgMapper">
|
|
|
+
|
|
|
+ <resultMap id="BaseResultMap" type="com.railway.business.catenary.domain.BusJcbGlkg">
|
|
|
+ <result column="id" property="id"/>
|
|
|
+ <result column="qj" property="qj"/>
|
|
|
+ <result column="zzh" property="zzh"/>
|
|
|
+ <result column="kgh" property="kgh"/>
|
|
|
+ <result column="wd" property="wd"/>
|
|
|
+ <result column="jcrq" property="jcrq"/>
|
|
|
+ <result column="jgx_a" property="jgxA"/>
|
|
|
+ <result column="jgx_a_desc" property="jgxADesc"/>
|
|
|
+ <result column="jgx_b" property="jgxB"/>
|
|
|
+ <result column="jgx_b_desc" property="jgxBDesc"/>
|
|
|
+ <result column="jgx_c" property="jgxC"/>
|
|
|
+ <result column="jgx_c_desc" property="jgxCDesc"/>
|
|
|
+ <result column="qdzz_a" property="qdzzA"/>
|
|
|
+ <result column="qdzz_a_desc" property="qdzzADesc"/>
|
|
|
+ <result column="cdg_a" property="cdgA"/>
|
|
|
+ <result column="cdg_a_desc" property="cdgADesc"/>
|
|
|
+ <result column="cdg_b" property="cdgB"/>
|
|
|
+ <result column="cdg_b_desc" property="cdgBDesc"/>
|
|
|
+ <result column="cdg_c" property="cdgC"/>
|
|
|
+ <result column="cdg_c_desc" property="cdgCDesc"/>
|
|
|
+ <result column="gb_a" property="gbA"/>
|
|
|
+ <result column="gb_a_desc" property="gbADesc"/>
|
|
|
+ <result column="ctzt_a" property="ctztA"/>
|
|
|
+ <result column="ctzt_a_desc" property="ctztADesc"/>
|
|
|
+ <result column="ctmtzt_a" property="ctmtztA"/>
|
|
|
+ <result column="ctmtzt_a_desc" property="ctmtztADesc"/>
|
|
|
+ <result column="hjkzt_a" property="hjkztA"/>
|
|
|
+ <result column="hjkzt_a_desc" property="hjkztADesc"/>
|
|
|
+ <result column="zcjyzzt_a" property="zcjyzztA"/>
|
|
|
+ <result column="zcjyzzt_a_desc" property="zcjyzztADesc"/>
|
|
|
+ <result column="yxzt_a" property="yxztA"/>
|
|
|
+ <result column="yxzt_a_desc" property="yxztADesc"/>
|
|
|
+ <result column="yxzt_b" property="yxztB"/>
|
|
|
+ <result column="yxzt_b_desc" property="yxztBDesc"/>
|
|
|
+ <result column="yxzt_c" property="yxztC"/>
|
|
|
+ <result column="yxzt_c_desc" property="yxztCDesc"/>
|
|
|
+ <result column="swyx_1_lcz" property="swyx1Lcz"/>
|
|
|
+ <result column="swyx_1_dg" property="swyx1Dg"/>
|
|
|
+ <result column="swyx_2_lcz" property="swyx2Lcz"/>
|
|
|
+ <result column="swyx_2_dg" property="swyx2Dg"/>
|
|
|
+ <result column="zxjl" property="zxjl"/>
|
|
|
+ <result column="xjzt_a" property="xjztA"/>
|
|
|
+ <result column="xjzt_a_desc" property="xjztADesc"/>
|
|
|
+ <result column="xjzt_b" property="xjztB"/>
|
|
|
+ <result column="xjzt_b_desc" property="xjztBDesc"/>
|
|
|
+ <result column="sdfhsy_a" property="sdfhsyA"/>
|
|
|
+ <result column="sdfhsy_a_desc" property="sdfhsyADesc"/>
|
|
|
+ <result column="ddfhsy_a" property="ddfhsyA"/>
|
|
|
+ <result column="ddfhsy_a_desc" property="ddfhsyADesc"/>
|
|
|
+ <result column="ydfhsy_a" property="ydfhsyA"/>
|
|
|
+ <result column="ydfhsy_a_desc" property="ydfhsyADesc"/>
|
|
|
+ <result column="kgztjdzt_a" property="kgztjdztA"/>
|
|
|
+ <result column="kgztjdzt_a_desc" property="kgztjdztADesc"/>
|
|
|
+ <result column="kgztjdzt_dzz" property="kgztjdztDzz"/>
|
|
|
+ <result column="kgjgxjdzt_a" property="kgjgxjdztA"/>
|
|
|
+ <result column="kgjgxjdzt_a_desc" property="kgjgxjdztADesc"/>
|
|
|
+ <result column="kgjgxjdzt_dzz" property="kgjgxjdztDzz"/>
|
|
|
+ <result column="sbzt" property="sbzt"/>
|
|
|
+ <result column="sbzt_desc" property="sbztDesc"/>
|
|
|
+ <result column="jcr" property="jcr"/>
|
|
|
+ <result column="czwt" property="czwt"/>
|
|
|
+ <result column="create_by" property="createBy"/>
|
|
|
+ <result column="create_time" property="createTime"/>
|
|
|
+ <result column="update_by" property="updateBy"/>
|
|
|
+ <result column="update_time" property="updateTime"/>
|
|
|
+ <result column="submit_state" property="submitState"/>
|
|
|
+ <result column="del_flag" property="delFlag"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id,
|
|
|
+ qj,
|
|
|
+ zzh,
|
|
|
+ kgh,
|
|
|
+ wd,
|
|
|
+ jcrq,
|
|
|
+ jgx_a,
|
|
|
+ jgx_a_desc,
|
|
|
+ jgx_b,
|
|
|
+ jgx_b_desc,
|
|
|
+ jgx_c,
|
|
|
+ jgx_c_desc,
|
|
|
+ qdzz_a,
|
|
|
+ qdzz_a_desc,
|
|
|
+ cdg_a,
|
|
|
+ cdg_a_desc,
|
|
|
+ cdg_b,
|
|
|
+ cdg_b_desc,
|
|
|
+ cdg_c,
|
|
|
+ cdg_c_desc,
|
|
|
+ gb_a,
|
|
|
+ gb_a_desc,
|
|
|
+ ctzt_a,
|
|
|
+ ctzt_a_desc,
|
|
|
+ ctmtzt_a,
|
|
|
+ ctmtzt_a_desc,
|
|
|
+ hjkzt_a,
|
|
|
+ hjkzt_a_desc,
|
|
|
+ zcjyzzt_a,
|
|
|
+ zcjyzzt_a_desc,
|
|
|
+ yxzt_a,
|
|
|
+ yxzt_a_desc,
|
|
|
+ yxzt_b,
|
|
|
+ yxzt_b_desc,
|
|
|
+ yxzt_c,
|
|
|
+ yxzt_c_desc,
|
|
|
+ swyx_1_lcz,
|
|
|
+ swyx_1_dg,
|
|
|
+ swyx_2_lcz,
|
|
|
+ swyx_2_dg,
|
|
|
+ zxjl,
|
|
|
+ xjzt_a,
|
|
|
+ xjzt_a_desc,
|
|
|
+ xjzt_b,
|
|
|
+ xjzt_b_desc,
|
|
|
+ sdfhsy_a,
|
|
|
+ sdfhsy_a_desc,
|
|
|
+ ddfhsy_a,
|
|
|
+ ddfhsy_a_desc,
|
|
|
+ ydfhsy_a,
|
|
|
+ ydfhsy_a_desc,
|
|
|
+ kgztjdzt_a,
|
|
|
+ kgztjdzt_a_desc,
|
|
|
+ kgztjdzt_dzz,
|
|
|
+ kgjgxjdzt_a,
|
|
|
+ kgjgxjdzt_a_desc,
|
|
|
+ kgjgxjdzt_dzz,
|
|
|
+ sbzt,
|
|
|
+ sbzt_desc,
|
|
|
+ jcr,
|
|
|
+ czwt,
|
|
|
+ create_by,
|
|
|
+ create_time,
|
|
|
+ update_by,
|
|
|
+ update_time,
|
|
|
+ submit_state,
|
|
|
+ del_flag
|
|
|
+ </sql>
|
|
|
+
|
|
|
+ <insert id="insert" parameterType="com.railway.business.catenary.domain.BusJcbGlkg">
|
|
|
+ <selectKey keyProperty="id" order="BEFORE" resultType="String">
|
|
|
+ select replace(uuid(), '-', '') from dual
|
|
|
+ </selectKey>
|
|
|
+ INSERT INTO bus_jcb_glkg
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test ='null != qj'>
|
|
|
+ qj,
|
|
|
+ </if>
|
|
|
+ <if test ='null != zzh'>
|
|
|
+ zzh,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgh'>
|
|
|
+ kgh,
|
|
|
+ </if>
|
|
|
+ <if test ='null != wd'>
|
|
|
+ wd,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jcrq'>
|
|
|
+ jcrq,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxA'>
|
|
|
+ jgx_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxADesc'>
|
|
|
+ jgx_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxB'>
|
|
|
+ jgx_b,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxBDesc'>
|
|
|
+ jgx_b_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxC'>
|
|
|
+ jgx_c,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxCDesc'>
|
|
|
+ jgx_c_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != qdzzA'>
|
|
|
+ qdzz_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != qdzzADesc'>
|
|
|
+ qdzz_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgA'>
|
|
|
+ cdg_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgADesc'>
|
|
|
+ cdg_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgB'>
|
|
|
+ cdg_b,
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgBDesc'>
|
|
|
+ cdg_b_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgC'>
|
|
|
+ cdg_c,
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgCDesc'>
|
|
|
+ cdg_c_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != gbA'>
|
|
|
+ gb_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != gbADesc'>
|
|
|
+ gb_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctztA'>
|
|
|
+ ctzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctztADesc'>
|
|
|
+ ctzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctmtztA'>
|
|
|
+ ctmtzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctmtztADesc'>
|
|
|
+ ctmtzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != hjkztA'>
|
|
|
+ hjkzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != hjkztADesc'>
|
|
|
+ hjkzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != zcjyzztA'>
|
|
|
+ zcjyzzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != zcjyzztADesc'>
|
|
|
+ zcjyzzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztA'>
|
|
|
+ yxzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztADesc'>
|
|
|
+ yxzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztB'>
|
|
|
+ yxzt_b,
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztBDesc'>
|
|
|
+ yxzt_b_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztC'>
|
|
|
+ yxzt_c,
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztCDesc'>
|
|
|
+ yxzt_c_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx1Lcz'>
|
|
|
+ swyx_1_lcz,
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx1Dg'>
|
|
|
+ swyx_1_dg,
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx2Lcz'>
|
|
|
+ swyx_2_lcz,
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx2Dg'>
|
|
|
+ swyx_2_dg,
|
|
|
+ </if>
|
|
|
+ <if test ='null != zxjl'>
|
|
|
+ zxjl,
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztA'>
|
|
|
+ xjzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztADesc'>
|
|
|
+ xjzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztB'>
|
|
|
+ xjzt_b,
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztBDesc'>
|
|
|
+ xjzt_b_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != sdfhsyA'>
|
|
|
+ sdfhsy_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != sdfhsyADesc'>
|
|
|
+ sdfhsy_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ddfhsyA'>
|
|
|
+ ddfhsy_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ddfhsyADesc'>
|
|
|
+ ddfhsy_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ydfhsyA'>
|
|
|
+ ydfhsy_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != ydfhsyADesc'>
|
|
|
+ ydfhsy_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgztjdztA'>
|
|
|
+ kgztjdzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgztjdztADesc'>
|
|
|
+ kgztjdzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgztjdztDzz'>
|
|
|
+ kgztjdzt_dzz,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgjgxjdztA'>
|
|
|
+ kgjgxjdzt_a,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgjgxjdztADesc'>
|
|
|
+ kgjgxjdzt_a_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgjgxjdztDzz'>
|
|
|
+ kgjgxjdzt_dzz,
|
|
|
+ </if>
|
|
|
+ <if test ='null != sbzt'>
|
|
|
+ sbzt,
|
|
|
+ </if>
|
|
|
+ <if test ='null != sbztDesc'>
|
|
|
+ sbzt_desc,
|
|
|
+ </if>
|
|
|
+ <if test ='null != jcr'>
|
|
|
+ jcr,
|
|
|
+ </if>
|
|
|
+ <if test ='null != czwt'>
|
|
|
+ czwt,
|
|
|
+ </if>
|
|
|
+ <if test ='null != createBy'>
|
|
|
+ create_by,
|
|
|
+ </if>
|
|
|
+ <if test ='null != createTime'>
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test ='null != updateBy'>
|
|
|
+ update_by,
|
|
|
+ </if>
|
|
|
+ <if test ='null != updateTime'>
|
|
|
+ update_time,
|
|
|
+ </if>
|
|
|
+ <if test ='null != submitState'>
|
|
|
+ submit_state,
|
|
|
+ </if>
|
|
|
+ <if test ='null != delFlag'>
|
|
|
+ del_flag
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test ='null != qj'>
|
|
|
+ #{qj},
|
|
|
+ </if>
|
|
|
+ <if test ='null != zzh'>
|
|
|
+ #{zzh},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgh'>
|
|
|
+ #{kgh},
|
|
|
+ </if>
|
|
|
+ <if test ='null != wd'>
|
|
|
+ #{wd},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jcrq'>
|
|
|
+ #{jcrq},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxA'>
|
|
|
+ #{jgxA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxADesc'>
|
|
|
+ #{jgxADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxB'>
|
|
|
+ #{jgxB},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxBDesc'>
|
|
|
+ #{jgxBDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxC'>
|
|
|
+ #{jgxC},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jgxCDesc'>
|
|
|
+ #{jgxCDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != qdzzA'>
|
|
|
+ #{qdzzA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != qdzzADesc'>
|
|
|
+ #{qdzzADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgA'>
|
|
|
+ #{cdgA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgADesc'>
|
|
|
+ #{cdgADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgB'>
|
|
|
+ #{cdgB},
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgBDesc'>
|
|
|
+ #{cdgBDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgC'>
|
|
|
+ #{cdgC},
|
|
|
+ </if>
|
|
|
+ <if test ='null != cdgCDesc'>
|
|
|
+ #{cdgCDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != gbA'>
|
|
|
+ #{gbA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != gbADesc'>
|
|
|
+ #{gbADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctztA'>
|
|
|
+ #{ctztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctztADesc'>
|
|
|
+ #{ctztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctmtztA'>
|
|
|
+ #{ctmtztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ctmtztADesc'>
|
|
|
+ #{ctmtztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != hjkztA'>
|
|
|
+ #{hjkztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != hjkztADesc'>
|
|
|
+ #{hjkztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != zcjyzztA'>
|
|
|
+ #{zcjyzztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != zcjyzztADesc'>
|
|
|
+ #{zcjyzztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztA'>
|
|
|
+ #{yxztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztADesc'>
|
|
|
+ #{yxztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztB'>
|
|
|
+ #{yxztB},
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztBDesc'>
|
|
|
+ #{yxztBDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztC'>
|
|
|
+ #{yxztC},
|
|
|
+ </if>
|
|
|
+ <if test ='null != yxztCDesc'>
|
|
|
+ #{yxztCDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx1Lcz'>
|
|
|
+ #{swyx1Lcz},
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx1Dg'>
|
|
|
+ #{swyx1Dg},
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx2Lcz'>
|
|
|
+ #{swyx2Lcz},
|
|
|
+ </if>
|
|
|
+ <if test ='null != swyx2Dg'>
|
|
|
+ #{swyx2Dg},
|
|
|
+ </if>
|
|
|
+ <if test ='null != zxjl'>
|
|
|
+ #{zxjl},
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztA'>
|
|
|
+ #{xjztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztADesc'>
|
|
|
+ #{xjztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztB'>
|
|
|
+ #{xjztB},
|
|
|
+ </if>
|
|
|
+ <if test ='null != xjztBDesc'>
|
|
|
+ #{xjztBDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != sdfhsyA'>
|
|
|
+ #{sdfhsyA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != sdfhsyADesc'>
|
|
|
+ #{sdfhsyADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ddfhsyA'>
|
|
|
+ #{ddfhsyA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ddfhsyADesc'>
|
|
|
+ #{ddfhsyADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ydfhsyA'>
|
|
|
+ #{ydfhsyA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != ydfhsyADesc'>
|
|
|
+ #{ydfhsyADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgztjdztA'>
|
|
|
+ #{kgztjdztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgztjdztADesc'>
|
|
|
+ #{kgztjdztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgztjdztDzz'>
|
|
|
+ #{kgztjdztDzz},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgjgxjdztA'>
|
|
|
+ #{kgjgxjdztA},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgjgxjdztADesc'>
|
|
|
+ #{kgjgxjdztADesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != kgjgxjdztDzz'>
|
|
|
+ #{kgjgxjdztDzz},
|
|
|
+ </if>
|
|
|
+ <if test ='null != sbzt'>
|
|
|
+ #{sbzt},
|
|
|
+ </if>
|
|
|
+ <if test ='null != sbztDesc'>
|
|
|
+ #{sbztDesc},
|
|
|
+ </if>
|
|
|
+ <if test ='null != jcr'>
|
|
|
+ #{jcr},
|
|
|
+ </if>
|
|
|
+ <if test ='null != czwt'>
|
|
|
+ #{czwt},
|
|
|
+ </if>
|
|
|
+ <if test ='null != createBy'>
|
|
|
+ #{createBy},
|
|
|
+ </if>
|
|
|
+ <if test ='null != createTime'>
|
|
|
+ #{createTime},
|
|
|
+ </if>
|
|
|
+ <if test ='null != updateBy'>
|
|
|
+ #{updateBy},
|
|
|
+ </if>
|
|
|
+ <if test ='null != updateTime'>
|
|
|
+ #{updateTime},
|
|
|
+ </if>
|
|
|
+ <if test ='null != submitState'>
|
|
|
+ #{submitState},
|
|
|
+ </if>
|
|
|
+ <if test ='null != delFlag'>
|
|
|
+ #{delFlag}
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <delete id="delete">
|
|
|
+ UPDATE bus_jcb_glkg
|
|
|
+ set del_flag='1'
|
|
|
+ WHERE id = #{id}
|
|
|
+ </delete>
|
|
|
+
|
|
|
+ <update id="update" parameterType="com.railway.business.catenary.domain.BusJcbGlkg">
|
|
|
+ UPDATE bus_jcb_glkg
|
|
|
+ <set>
|
|
|
+ <if test ='null != qj'>qj = #{qj},</if>
|
|
|
+ <if test ='null != zzh'>zzh = #{zzh},</if>
|
|
|
+ <if test ='null != kgh'>kgh = #{kgh},</if>
|
|
|
+ <if test ='null != wd'>wd = #{wd},</if>
|
|
|
+ <if test ='null != jcrq'>jcrq = #{jcrq},</if>
|
|
|
+ <if test ='null != jgxA'>jgx_a = #{jgxA},</if>
|
|
|
+ <if test ='null != jgxADesc'>jgx_a_desc = #{jgxADesc},</if>
|
|
|
+ <if test ='null != jgxB'>jgx_b = #{jgxB},</if>
|
|
|
+ <if test ='null != jgxBDesc'>jgx_b_desc = #{jgxBDesc},</if>
|
|
|
+ <if test ='null != jgxC'>jgx_c = #{jgxC},</if>
|
|
|
+ <if test ='null != jgxCDesc'>jgx_c_desc = #{jgxCDesc},</if>
|
|
|
+ <if test ='null != qdzzA'>qdzz_a = #{qdzzA},</if>
|
|
|
+ <if test ='null != qdzzADesc'>qdzz_a_desc = #{qdzzADesc},</if>
|
|
|
+ <if test ='null != cdgA'>cdg_a = #{cdgA},</if>
|
|
|
+ <if test ='null != cdgADesc'>cdg_a_desc = #{cdgADesc},</if>
|
|
|
+ <if test ='null != cdgB'>cdg_b = #{cdgB},</if>
|
|
|
+ <if test ='null != cdgBDesc'>cdg_b_desc = #{cdgBDesc},</if>
|
|
|
+ <if test ='null != cdgC'>cdg_c = #{cdgC},</if>
|
|
|
+ <if test ='null != cdgCDesc'>cdg_c_desc = #{cdgCDesc},</if>
|
|
|
+ <if test ='null != gbA'>gb_a = #{gbA},</if>
|
|
|
+ <if test ='null != gbADesc'>gb_a_desc = #{gbADesc},</if>
|
|
|
+ <if test ='null != ctztA'>ctzt_a = #{ctztA},</if>
|
|
|
+ <if test ='null != ctztADesc'>ctzt_a_desc = #{ctztADesc},</if>
|
|
|
+ <if test ='null != ctmtztA'>ctmtzt_a = #{ctmtztA},</if>
|
|
|
+ <if test ='null != ctmtztADesc'>ctmtzt_a_desc = #{ctmtztADesc},</if>
|
|
|
+ <if test ='null != hjkztA'>hjkzt_a = #{hjkztA},</if>
|
|
|
+ <if test ='null != hjkztADesc'>hjkzt_a_desc = #{hjkztADesc},</if>
|
|
|
+ <if test ='null != zcjyzztA'>zcjyzzt_a = #{zcjyzztA},</if>
|
|
|
+ <if test ='null != zcjyzztADesc'>zcjyzzt_a_desc = #{zcjyzztADesc},</if>
|
|
|
+ <if test ='null != yxztA'>yxzt_a = #{yxztA},</if>
|
|
|
+ <if test ='null != yxztADesc'>yxzt_a_desc = #{yxztADesc},</if>
|
|
|
+ <if test ='null != yxztB'>yxzt_b = #{yxztB},</if>
|
|
|
+ <if test ='null != yxztBDesc'>yxzt_b_desc = #{yxztBDesc},</if>
|
|
|
+ <if test ='null != yxztC'>yxzt_c = #{yxztC},</if>
|
|
|
+ <if test ='null != yxztCDesc'>yxzt_c_desc = #{yxztCDesc},</if>
|
|
|
+ <if test ='null != swyx1Lcz'>swyx_1_lcz = #{swyx1Lcz},</if>
|
|
|
+ <if test ='null != swyx1Dg'>swyx_1_dg = #{swyx1Dg},</if>
|
|
|
+ <if test ='null != swyx2Lcz'>swyx_2_lcz = #{swyx2Lcz},</if>
|
|
|
+ <if test ='null != swyx2Dg'>swyx_2_dg = #{swyx2Dg},</if>
|
|
|
+ <if test ='null != zxjl'>zxjl = #{zxjl},</if>
|
|
|
+ <if test ='null != xjztA'>xjzt_a = #{xjztA},</if>
|
|
|
+ <if test ='null != xjztADesc'>xjzt_a_desc = #{xjztADesc},</if>
|
|
|
+ <if test ='null != xjztB'>xjzt_b = #{xjztB},</if>
|
|
|
+ <if test ='null != xjztBDesc'>xjzt_b_desc = #{xjztBDesc},</if>
|
|
|
+ <if test ='null != sdfhsyA'>sdfhsy_a = #{sdfhsyA},</if>
|
|
|
+ <if test ='null != sdfhsyADesc'>sdfhsy_a_desc = #{sdfhsyADesc},</if>
|
|
|
+ <if test ='null != ddfhsyA'>ddfhsy_a = #{ddfhsyA},</if>
|
|
|
+ <if test ='null != ddfhsyADesc'>ddfhsy_a_desc = #{ddfhsyADesc},</if>
|
|
|
+ <if test ='null != ydfhsyA'>ydfhsy_a = #{ydfhsyA},</if>
|
|
|
+ <if test ='null != ydfhsyADesc'>ydfhsy_a_desc = #{ydfhsyADesc},</if>
|
|
|
+ <if test ='null != kgztjdztA'>kgztjdzt_a = #{kgztjdztA},</if>
|
|
|
+ <if test ='null != kgztjdztADesc'>kgztjdzt_a_desc = #{kgztjdztADesc},</if>
|
|
|
+ <if test ='null != kgztjdztDzz'>kgztjdzt_dzz = #{kgztjdztDzz},</if>
|
|
|
+ <if test ='null != kgjgxjdztA'>kgjgxjdzt_a = #{kgjgxjdztA},</if>
|
|
|
+ <if test ='null != kgjgxjdztADesc'>kgjgxjdzt_a_desc = #{kgjgxjdztADesc},</if>
|
|
|
+ <if test ='null != kgjgxjdztDzz'>kgjgxjdzt_dzz = #{kgjgxjdztDzz},</if>
|
|
|
+ <if test ='null != sbzt'>sbzt = #{sbzt},</if>
|
|
|
+ <if test ='null != sbztDesc'>sbzt_desc = #{sbztDesc},</if>
|
|
|
+ <if test ='null != jcr'>jcr = #{jcr},</if>
|
|
|
+ <if test ='null != czwt'>czwt = #{czwt},</if>
|
|
|
+ <if test ='null != createBy'>create_by = #{createBy},</if>
|
|
|
+ <if test ='null != createTime'>create_time = #{createTime},</if>
|
|
|
+ <if test ='null != updateBy'>update_by = #{updateBy},</if>
|
|
|
+ <if test ='null != updateTime'>update_time = #{updateTime},</if>
|
|
|
+ <if test ='null != submitState'>submit_state = #{submitState},</if>
|
|
|
+ <if test ='null != delFlag'>del_flag = #{delFlag}</if>
|
|
|
+ </set>
|
|
|
+ WHERE id = #{id}
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="getInfo" resultMap="BaseResultMap">
|
|
|
+ SELECT
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ FROM bus_jcb_glkg
|
|
|
+ WHERE del_flag='0' and id = #{id}
|
|
|
+
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="getList" resultMap="BaseResultMap">
|
|
|
+ SELECT
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ FROM bus_jcb_glkg
|
|
|
+ <where>
|
|
|
+ del_flag='0'
|
|
|
+ <if test="qj!=null and qj!=''">
|
|
|
+ and qj=#{qj}
|
|
|
+ </if>
|
|
|
+ <if test="zzh!=null and zzh!=''">
|
|
|
+ and zzh=#{zzh}
|
|
|
+ </if>
|
|
|
+ <if test="kgh!=null and kgh!=''">
|
|
|
+ and kgh=#{kgh}
|
|
|
+ </if>
|
|
|
+ <if test="wd!=null and wd!=''">
|
|
|
+ and wd=#{wd}
|
|
|
+ </if>
|
|
|
+ <if test="jcrq!=null and jcrq!=''">
|
|
|
+ and jcrq=#{jcrq}
|
|
|
+ </if>
|
|
|
+ <if test="jgxA!=null and jgxA!=''">
|
|
|
+ and jgx_a=#{jgxA}
|
|
|
+ </if>
|
|
|
+ <if test="jgxADesc!=null and jgxADesc!=''">
|
|
|
+ and jgx_a_desc=#{jgxADesc}
|
|
|
+ </if>
|
|
|
+ <if test="jgxB!=null and jgxB!=''">
|
|
|
+ and jgx_b=#{jgxB}
|
|
|
+ </if>
|
|
|
+ <if test="jgxBDesc!=null and jgxBDesc!=''">
|
|
|
+ and jgx_b_desc=#{jgxBDesc}
|
|
|
+ </if>
|
|
|
+ <if test="jgxC!=null and jgxC!=''">
|
|
|
+ and jgx_c=#{jgxC}
|
|
|
+ </if>
|
|
|
+ <if test="jgxCDesc!=null and jgxCDesc!=''">
|
|
|
+ and jgx_c_desc=#{jgxCDesc}
|
|
|
+ </if>
|
|
|
+ <if test="qdzzA!=null and qdzzA!=''">
|
|
|
+ and qdzz_a=#{qdzzA}
|
|
|
+ </if>
|
|
|
+ <if test="qdzzADesc!=null and qdzzADesc!=''">
|
|
|
+ and qdzz_a_desc=#{qdzzADesc}
|
|
|
+ </if>
|
|
|
+ <if test="cdgA!=null and cdgA!=''">
|
|
|
+ and cdg_a=#{cdgA}
|
|
|
+ </if>
|
|
|
+ <if test="cdgADesc!=null and cdgADesc!=''">
|
|
|
+ and cdg_a_desc=#{cdgADesc}
|
|
|
+ </if>
|
|
|
+ <if test="cdgB!=null and cdgB!=''">
|
|
|
+ and cdg_b=#{cdgB}
|
|
|
+ </if>
|
|
|
+ <if test="cdgBDesc!=null and cdgBDesc!=''">
|
|
|
+ and cdg_b_desc=#{cdgBDesc}
|
|
|
+ </if>
|
|
|
+ <if test="cdgC!=null and cdgC!=''">
|
|
|
+ and cdg_c=#{cdgC}
|
|
|
+ </if>
|
|
|
+ <if test="cdgCDesc!=null and cdgCDesc!=''">
|
|
|
+ and cdg_c_desc=#{cdgCDesc}
|
|
|
+ </if>
|
|
|
+ <if test="gbA!=null and gbA!=''">
|
|
|
+ and gb_a=#{gbA}
|
|
|
+ </if>
|
|
|
+ <if test="gbADesc!=null and gbADesc!=''">
|
|
|
+ and gb_a_desc=#{gbADesc}
|
|
|
+ </if>
|
|
|
+ <if test="ctztA!=null and ctztA!=''">
|
|
|
+ and ctzt_a=#{ctztA}
|
|
|
+ </if>
|
|
|
+ <if test="ctztADesc!=null and ctztADesc!=''">
|
|
|
+ and ctzt_a_desc=#{ctztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="ctmtztA!=null and ctmtztA!=''">
|
|
|
+ and ctmtzt_a=#{ctmtztA}
|
|
|
+ </if>
|
|
|
+ <if test="ctmtztADesc!=null and ctmtztADesc!=''">
|
|
|
+ and ctmtzt_a_desc=#{ctmtztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="hjkztA!=null and hjkztA!=''">
|
|
|
+ and hjkzt_a=#{hjkztA}
|
|
|
+ </if>
|
|
|
+ <if test="hjkztADesc!=null and hjkztADesc!=''">
|
|
|
+ and hjkzt_a_desc=#{hjkztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="zcjyzztA!=null and zcjyzztA!=''">
|
|
|
+ and zcjyzzt_a=#{zcjyzztA}
|
|
|
+ </if>
|
|
|
+ <if test="zcjyzztADesc!=null and zcjyzztADesc!=''">
|
|
|
+ and zcjyzzt_a_desc=#{zcjyzztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="yxztA!=null and yxztA!=''">
|
|
|
+ and yxzt_a=#{yxztA}
|
|
|
+ </if>
|
|
|
+ <if test="yxztADesc!=null and yxztADesc!=''">
|
|
|
+ and yxzt_a_desc=#{yxztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="yxztB!=null and yxztB!=''">
|
|
|
+ and yxzt_b=#{yxztB}
|
|
|
+ </if>
|
|
|
+ <if test="yxztBDesc!=null and yxztBDesc!=''">
|
|
|
+ and yxzt_b_desc=#{yxztBDesc}
|
|
|
+ </if>
|
|
|
+ <if test="yxztC!=null and yxztC!=''">
|
|
|
+ and yxzt_c=#{yxztC}
|
|
|
+ </if>
|
|
|
+ <if test="yxztCDesc!=null and yxztCDesc!=''">
|
|
|
+ and yxzt_c_desc=#{yxztCDesc}
|
|
|
+ </if>
|
|
|
+ <if test="swyx1Lcz!=null and swyx1Lcz!=''">
|
|
|
+ and swyx_1_lcz=#{swyx1Lcz}
|
|
|
+ </if>
|
|
|
+ <if test="swyx1Dg!=null and swyx1Dg!=''">
|
|
|
+ and swyx_1_dg=#{swyx1Dg}
|
|
|
+ </if>
|
|
|
+ <if test="swyx2Lcz!=null and swyx2Lcz!=''">
|
|
|
+ and swyx_2_lcz=#{swyx2Lcz}
|
|
|
+ </if>
|
|
|
+ <if test="swyx2Dg!=null and swyx2Dg!=''">
|
|
|
+ and swyx_2_dg=#{swyx2Dg}
|
|
|
+ </if>
|
|
|
+ <if test="zxjl!=null and zxjl!=''">
|
|
|
+ and zxjl=#{zxjl}
|
|
|
+ </if>
|
|
|
+ <if test="xjztA!=null and xjztA!=''">
|
|
|
+ and xjzt_a=#{xjztA}
|
|
|
+ </if>
|
|
|
+ <if test="xjztADesc!=null and xjztADesc!=''">
|
|
|
+ and xjzt_a_desc=#{xjztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="xjztB!=null and xjztB!=''">
|
|
|
+ and xjzt_b=#{xjztB}
|
|
|
+ </if>
|
|
|
+ <if test="xjztBDesc!=null and xjztBDesc!=''">
|
|
|
+ and xjzt_b_desc=#{xjztBDesc}
|
|
|
+ </if>
|
|
|
+ <if test="sdfhsyA!=null and sdfhsyA!=''">
|
|
|
+ and sdfhsy_a=#{sdfhsyA}
|
|
|
+ </if>
|
|
|
+ <if test="sdfhsyADesc!=null and sdfhsyADesc!=''">
|
|
|
+ and sdfhsy_a_desc=#{sdfhsyADesc}
|
|
|
+ </if>
|
|
|
+ <if test="ddfhsyA!=null and ddfhsyA!=''">
|
|
|
+ and ddfhsy_a=#{ddfhsyA}
|
|
|
+ </if>
|
|
|
+ <if test="ddfhsyADesc!=null and ddfhsyADesc!=''">
|
|
|
+ and ddfhsy_a_desc=#{ddfhsyADesc}
|
|
|
+ </if>
|
|
|
+ <if test="ydfhsyA!=null and ydfhsyA!=''">
|
|
|
+ and ydfhsy_a=#{ydfhsyA}
|
|
|
+ </if>
|
|
|
+ <if test="ydfhsyADesc!=null and ydfhsyADesc!=''">
|
|
|
+ and ydfhsy_a_desc=#{ydfhsyADesc}
|
|
|
+ </if>
|
|
|
+ <if test="kgztjdztA!=null and kgztjdztA!=''">
|
|
|
+ and kgztjdzt_a=#{kgztjdztA}
|
|
|
+ </if>
|
|
|
+ <if test="kgztjdztADesc!=null and kgztjdztADesc!=''">
|
|
|
+ and kgztjdzt_a_desc=#{kgztjdztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="kgztjdztDzz!=null and kgztjdztDzz!=''">
|
|
|
+ and kgztjdzt_dzz=#{kgztjdztDzz}
|
|
|
+ </if>
|
|
|
+ <if test="kgjgxjdztA!=null and kgjgxjdztA!=''">
|
|
|
+ and kgjgxjdzt_a=#{kgjgxjdztA}
|
|
|
+ </if>
|
|
|
+ <if test="kgjgxjdztADesc!=null and kgjgxjdztADesc!=''">
|
|
|
+ and kgjgxjdzt_a_desc=#{kgjgxjdztADesc}
|
|
|
+ </if>
|
|
|
+ <if test="kgjgxjdztDzz!=null and kgjgxjdztDzz!=''">
|
|
|
+ and kgjgxjdzt_dzz=#{kgjgxjdztDzz}
|
|
|
+ </if>
|
|
|
+ <if test="sbzt!=null and sbzt!=''">
|
|
|
+ and sbzt=#{sbzt}
|
|
|
+ </if>
|
|
|
+ <if test="sbztDesc!=null and sbztDesc!=''">
|
|
|
+ and sbzt_desc=#{sbztDesc}
|
|
|
+ </if>
|
|
|
+ <if test="jcr!=null and jcr!=''">
|
|
|
+ and jcr=#{jcr}
|
|
|
+ </if>
|
|
|
+ <if test="czwt!=null and czwt!=''">
|
|
|
+ and czwt=#{czwt}
|
|
|
+ </if>
|
|
|
+ <if test="createBy!=null and createBy!=''">
|
|
|
+ and create_by=#{createBy}
|
|
|
+ </if>
|
|
|
+ <if test="createTime!=null and createTime!=''">
|
|
|
+ and create_time=#{createTime}
|
|
|
+ </if>
|
|
|
+ <if test="updateBy!=null and updateBy!=''">
|
|
|
+ and update_by=#{updateBy}
|
|
|
+ </if>
|
|
|
+ <if test="updateTime!=null and updateTime!=''">
|
|
|
+ and update_time=#{updateTime}
|
|
|
+ </if>
|
|
|
+ <if test="submitState!=null and submitState!=''">
|
|
|
+ and submit_state=#{submitState}
|
|
|
+ </if>
|
|
|
+ <if test="delFlag!=null and delFlag!=''">
|
|
|
+ and del_flag=#{delFlag}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
+</mapper>
|