| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620 |
- <?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.BusFdfxjyqMapper">
- <resultMap id="BaseResultMap" type="com.railway.business.catenary.domain.BusFdfxjyq">
- <result column="id" property="id"/>
- <result column="db" property="db"/>
- <result column="bm" property="bm"/>
- <result column="xb" property="xb"/>
- <result column="qj" property="qj"/>
- <result column="hb" property="hb"/>
- <result column="zzhfw" property="zzhfw"/>
- <result column="gd" property="gd"/>
- <result column="gxms" property="gxms"/>
- <result column="glb" property="glb"/>
- <result column="cdh" property="cdh"/>
- <result column="lx" property="lx"/>
- <result column="bz" property="bz"/>
- <result column="jyqbh" property="jyqbh"/>
- <result column="jyqxh" property="jyqxh"/>
- <result column="sccj" property="sccj"/>
- <result column="ccrq" property="ccrq"/>
- <result column="tyrq" property="tyrq"/>
- <result column="sysm" property="sysm"/>
- <result column="clsjyzlx" property="clsjyzlx"/>
- <result column="clsjyzzt" property="clsjyzzt"/>
- <result column="fdzjyzt" property="fdzjyzt"/>
- <result column="jyhdzt" property="jyhdzt"/>
- <result column="jshdmszt" property="jshdmszt"/>
- <result column="kqjx_scz" property="kqjxScz"/>
- <result column="kqjx_bzz" property="kqjxBzz"/>
- <result column="xgbzt" property="xgbzt"/>
- <result column="xdzzzt" property="xdzzzt"/>
- <result column="yxlzxxpy_scz" property="yxlzxxpyScz"/>
- <result column="yxlzxxpy_bzz" property="yxlzxxpyBzz"/>
- <result column="ygmlxsfpx" property="ygmlxsfpx"/>
- <result column="fcd_scz" property="fcdScz"/>
- <result column="fcd_bzz" property="fcdBzz"/>
- <result column="jtjgljbwzt" property="jtjgljbwzt"/>
- <result column="jcxjcdxmhqk" property="jcxjcdxmhqk"/>
- <result column="jcxjtxjlslm" property="jcxjtxjlslm"/>
- <result column="gdsfph" property="gdsfph"/>
- <result column="qt" property="qt"/>
- <result column="fj" property="fj"/>
- <result column="sl" property="sl"/>
- <result column="dw" property="dw"/>
- <result column="fdazwz" property="fdazwz"/>
- <result column="sjbh" property="sjbh"/>
- <result column="del_flag" property="delFlag"/>
- <result column="create_by" property="createBy"/>
- <result column="create_time" property="createTime"/>
- <result column="update_by" property="updateBy"/>
- <result column="update_time" property="updateTime"/>
- </resultMap>
- <sql id="Base_Column_List">
- id,
- db,
- bm,
- xb,
- qj,
- hb,
- zzhfw,
- gd,
- gxms,
- glb,
- cdh,
- lx,
- bz,
- jyqbh,
- jyqxh,
- sccj,
- ccrq,
- tyrq,
- sysm,
- clsjyzlx,
- clsjyzzt,
- fdzjyzt,
- jyhdzt,
- jshdmszt,
- kqjx_scz,
- kqjx_bzz,
- xgbzt,
- xdzzzt,
- yxlzxxpy_scz,
- yxlzxxpy_bzz,
- ygmlxsfpx,
- fcd_scz,
- fcd_bzz,
- jtjgljbwzt,
- jcxjcdxmhqk,
- jcxjtxjlslm,
- gdsfph,
- qt,
- fj,
- sl,
- dw,
- fdazwz,
- sjbh,
- del_flag,
- create_by,
- create_time,
- update_by,
- update_time
- </sql>
- <insert id="insert" parameterType="com.railway.business.catenary.domain.BusFdfxjyq">
- <selectKey keyProperty="id" order="BEFORE" resultType="String">
- select replace(uuid(), '-', '') from dual
- </selectKey>
- INSERT INTO bus_fdfxjyq
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test ='null != db'>
- db,
- </if>
- <if test ='null != bm'>
- bm,
- </if>
- <if test ='null != xb'>
- xb,
- </if>
- <if test ='null != qj'>
- qj,
- </if>
- <if test ='null != hb'>
- hb,
- </if>
- <if test ='null != zzhfw'>
- zzhfw,
- </if>
- <if test ='null != gd'>
- gd,
- </if>
- <if test ='null != gxms'>
- gxms,
- </if>
- <if test ='null != glb'>
- glb,
- </if>
- <if test ='null != cdh'>
- cdh,
- </if>
- <if test ='null != lx'>
- lx,
- </if>
- <if test ='null != bz'>
- bz,
- </if>
- <if test ='null != jyqbh'>
- jyqbh,
- </if>
- <if test ='null != jyqxh'>
- jyqxh,
- </if>
- <if test ='null != sccj'>
- sccj,
- </if>
- <if test ='null != ccrq'>
- ccrq,
- </if>
- <if test ='null != tyrq'>
- tyrq,
- </if>
- <if test ='null != sysm'>
- sysm,
- </if>
- <if test ='null != clsjyzlx'>
- clsjyzlx,
- </if>
- <if test ='null != clsjyzzt'>
- clsjyzzt,
- </if>
- <if test ='null != fdzjyzt'>
- fdzjyzt,
- </if>
- <if test ='null != jyhdzt'>
- jyhdzt,
- </if>
- <if test ='null != jshdmszt'>
- jshdmszt,
- </if>
- <if test ='null != kqjxScz'>
- kqjx_scz,
- </if>
- <if test ='null != kqjxBzz'>
- kqjx_bzz,
- </if>
- <if test ='null != xgbzt'>
- xgbzt,
- </if>
- <if test ='null != xdzzzt'>
- xdzzzt,
- </if>
- <if test ='null != yxlzxxpyScz'>
- yxlzxxpy_scz,
- </if>
- <if test ='null != yxlzxxpyBzz'>
- yxlzxxpy_bzz,
- </if>
- <if test ='null != ygmlxsfpx'>
- ygmlxsfpx,
- </if>
- <if test ='null != fcdScz'>
- fcd_scz,
- </if>
- <if test ='null != fcdBzz'>
- fcd_bzz,
- </if>
- <if test ='null != jtjgljbwzt'>
- jtjgljbwzt,
- </if>
- <if test ='null != jcxjcdxmhqk'>
- jcxjcdxmhqk,
- </if>
- <if test ='null != jcxjtxjlslm'>
- jcxjtxjlslm,
- </if>
- <if test ='null != gdsfph'>
- gdsfph,
- </if>
- <if test ='null != qt'>
- qt,
- </if>
- <if test ='null != fj'>
- fj,
- </if>
- <if test ='null != sl'>
- sl,
- </if>
- <if test ='null != dw'>
- dw,
- </if>
- <if test ='null != fdazwz'>
- fdazwz,
- </if>
- <if test ='null != sjbh'>
- sjbh,
- </if>
- <if test ='null != delFlag'>
- del_flag,
- </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>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test ='null != db'>
- #{db},
- </if>
- <if test ='null != bm'>
- #{bm},
- </if>
- <if test ='null != xb'>
- #{xb},
- </if>
- <if test ='null != qj'>
- #{qj},
- </if>
- <if test ='null != hb'>
- #{hb},
- </if>
- <if test ='null != zzhfw'>
- #{zzhfw},
- </if>
- <if test ='null != gd'>
- #{gd},
- </if>
- <if test ='null != gxms'>
- #{gxms},
- </if>
- <if test ='null != glb'>
- #{glb},
- </if>
- <if test ='null != cdh'>
- #{cdh},
- </if>
- <if test ='null != lx'>
- #{lx},
- </if>
- <if test ='null != bz'>
- #{bz},
- </if>
- <if test ='null != jyqbh'>
- #{jyqbh},
- </if>
- <if test ='null != jyqxh'>
- #{jyqxh},
- </if>
- <if test ='null != sccj'>
- #{sccj},
- </if>
- <if test ='null != ccrq'>
- #{ccrq},
- </if>
- <if test ='null != tyrq'>
- #{tyrq},
- </if>
- <if test ='null != sysm'>
- #{sysm},
- </if>
- <if test ='null != clsjyzlx'>
- #{clsjyzlx},
- </if>
- <if test ='null != clsjyzzt'>
- #{clsjyzzt},
- </if>
- <if test ='null != fdzjyzt'>
- #{fdzjyzt},
- </if>
- <if test ='null != jyhdzt'>
- #{jyhdzt},
- </if>
- <if test ='null != jshdmszt'>
- #{jshdmszt},
- </if>
- <if test ='null != kqjxScz'>
- #{kqjxScz},
- </if>
- <if test ='null != kqjxBzz'>
- #{kqjxBzz},
- </if>
- <if test ='null != xgbzt'>
- #{xgbzt},
- </if>
- <if test ='null != xdzzzt'>
- #{xdzzzt},
- </if>
- <if test ='null != yxlzxxpyScz'>
- #{yxlzxxpyScz},
- </if>
- <if test ='null != yxlzxxpyBzz'>
- #{yxlzxxpyBzz},
- </if>
- <if test ='null != ygmlxsfpx'>
- #{ygmlxsfpx},
- </if>
- <if test ='null != fcdScz'>
- #{fcdScz},
- </if>
- <if test ='null != fcdBzz'>
- #{fcdBzz},
- </if>
- <if test ='null != jtjgljbwzt'>
- #{jtjgljbwzt},
- </if>
- <if test ='null != jcxjcdxmhqk'>
- #{jcxjcdxmhqk},
- </if>
- <if test ='null != jcxjtxjlslm'>
- #{jcxjtxjlslm},
- </if>
- <if test ='null != gdsfph'>
- #{gdsfph},
- </if>
- <if test ='null != qt'>
- #{qt},
- </if>
- <if test ='null != fj'>
- #{fj},
- </if>
- <if test ='null != sl'>
- #{sl},
- </if>
- <if test ='null != dw'>
- #{dw},
- </if>
- <if test ='null != fdazwz'>
- #{fdazwz},
- </if>
- <if test ='null != sjbh'>
- #{sjbh},
- </if>
- <if test ='null != delFlag'>
- #{delFlag},
- </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>
- </trim>
- </insert>
- <delete id="delete">
- UPDATE bus_fdfxjyq
- set del_flag='1'
- WHERE id = #{id}
- </delete>
- <update id="update" parameterType="com.railway.business.catenary.domain.BusFdfxjyq">
- UPDATE bus_fdfxjyq
- <set>
- <if test ='null != db'>db = #{db},</if>
- <if test ='null != bm'>bm = #{bm},</if>
- <if test ='null != xb'>xb = #{xb},</if>
- <if test ='null != qj'>qj = #{qj},</if>
- <if test ='null != hb'>hb = #{hb},</if>
- <if test ='null != zzhfw'>zzhfw = #{zzhfw},</if>
- <if test ='null != gd'>gd = #{gd},</if>
- <if test ='null != gxms'>gxms = #{gxms},</if>
- <if test ='null != glb'>glb = #{glb},</if>
- <if test ='null != cdh'>cdh = #{cdh},</if>
- <if test ='null != lx'>lx = #{lx},</if>
- <if test ='null != bz'>bz = #{bz},</if>
- <if test ='null != jyqbh'>jyqbh = #{jyqbh},</if>
- <if test ='null != jyqxh'>jyqxh = #{jyqxh},</if>
- <if test ='null != sccj'>sccj = #{sccj},</if>
- <if test ='null != ccrq'>ccrq = #{ccrq},</if>
- <if test ='null != tyrq'>tyrq = #{tyrq},</if>
- <if test ='null != sysm'>sysm = #{sysm},</if>
- <if test ='null != clsjyzlx'>clsjyzlx = #{clsjyzlx},</if>
- <if test ='null != clsjyzzt'>clsjyzzt = #{clsjyzzt},</if>
- <if test ='null != fdzjyzt'>fdzjyzt = #{fdzjyzt},</if>
- <if test ='null != jyhdzt'>jyhdzt = #{jyhdzt},</if>
- <if test ='null != jshdmszt'>jshdmszt = #{jshdmszt},</if>
- <if test ='null != kqjxScz'>kqjx_scz = #{kqjxScz},</if>
- <if test ='null != kqjxBzz'>kqjx_bzz = #{kqjxBzz},</if>
- <if test ='null != xgbzt'>xgbzt = #{xgbzt},</if>
- <if test ='null != xdzzzt'>xdzzzt = #{xdzzzt},</if>
- <if test ='null != yxlzxxpyScz'>yxlzxxpy_scz = #{yxlzxxpyScz},</if>
- <if test ='null != yxlzxxpyBzz'>yxlzxxpy_bzz = #{yxlzxxpyBzz},</if>
- <if test ='null != ygmlxsfpx'>ygmlxsfpx = #{ygmlxsfpx},</if>
- <if test ='null != fcdScz'>fcd_scz = #{fcdScz},</if>
- <if test ='null != fcdBzz'>fcd_bzz = #{fcdBzz},</if>
- <if test ='null != jtjgljbwzt'>jtjgljbwzt = #{jtjgljbwzt},</if>
- <if test ='null != jcxjcdxmhqk'>jcxjcdxmhqk = #{jcxjcdxmhqk},</if>
- <if test ='null != jcxjtxjlslm'>jcxjtxjlslm = #{jcxjtxjlslm},</if>
- <if test ='null != gdsfph'>gdsfph = #{gdsfph},</if>
- <if test ='null != qt'>qt = #{qt},</if>
- <if test ='null != fj'>fj = #{fj},</if>
- <if test ='null != sl'>sl = #{sl},</if>
- <if test ='null != dw'>dw = #{dw},</if>
- <if test ='null != fdazwz'>fdazwz = #{fdazwz},</if>
- <if test ='null != sjbh'>sjbh = #{sjbh},</if>
- <if test ='null != delFlag'>del_flag = #{delFlag},</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>
- </set>
- WHERE id = #{id}
- </update>
- <select id="getInfo" resultMap="BaseResultMap">
- SELECT
- <include refid="Base_Column_List"/>
- FROM bus_fdfxjyq
- WHERE del_flag='0' and id = #{id}
- </select>
- <select id="getList" resultMap="BaseResultMap">
- SELECT
- <include refid="Base_Column_List"/>
- FROM bus_fdfxjyq
- <where>
- del_flag='0'
- <if test="db!=null and db!=''">
- and db=#{db}
- </if>
- <if test="bm!=null and bm!=''">
- and bm=#{bm}
- </if>
- <if test="xb!=null and xb!=''">
- and xb=#{xb}
- </if>
- <if test="qj!=null and qj!=''">
- and qj=#{qj}
- </if>
- <if test="hb!=null and hb!=''">
- and hb=#{hb}
- </if>
- <if test="zzhfw!=null and zzhfw!=''">
- and zzhfw=#{zzhfw}
- </if>
- <if test="gd!=null and gd!=''">
- and gd=#{gd}
- </if>
- <if test="gxms!=null and gxms!=''">
- and gxms=#{gxms}
- </if>
- <if test="glb!=null and glb!=''">
- and glb=#{glb}
- </if>
- <if test="cdh!=null and cdh!=''">
- and cdh=#{cdh}
- </if>
- <if test="lx!=null and lx!=''">
- and lx=#{lx}
- </if>
- <if test="bz!=null and bz!=''">
- and bz=#{bz}
- </if>
- <if test="jyqbh!=null and jyqbh!=''">
- and jyqbh=#{jyqbh}
- </if>
- <if test="jyqxh!=null and jyqxh!=''">
- and jyqxh=#{jyqxh}
- </if>
- <if test="sccj!=null and sccj!=''">
- and sccj=#{sccj}
- </if>
- <if test="ccrq!=null and ccrq!=''">
- and ccrq=#{ccrq}
- </if>
- <if test="tyrq!=null and tyrq!=''">
- and tyrq=#{tyrq}
- </if>
- <if test="sysm!=null and sysm!=''">
- and sysm=#{sysm}
- </if>
- <if test="clsjyzlx!=null and clsjyzlx!=''">
- and clsjyzlx=#{clsjyzlx}
- </if>
- <if test="clsjyzzt!=null and clsjyzzt!=''">
- and clsjyzzt=#{clsjyzzt}
- </if>
- <if test="fdzjyzt!=null and fdzjyzt!=''">
- and fdzjyzt=#{fdzjyzt}
- </if>
- <if test="jyhdzt!=null and jyhdzt!=''">
- and jyhdzt=#{jyhdzt}
- </if>
- <if test="jshdmszt!=null and jshdmszt!=''">
- and jshdmszt=#{jshdmszt}
- </if>
- <if test="kqjxScz!=null and kqjxScz!=''">
- and kqjx_scz=#{kqjxScz}
- </if>
- <if test="kqjxBzz!=null and kqjxBzz!=''">
- and kqjx_bzz=#{kqjxBzz}
- </if>
- <if test="xgbzt!=null and xgbzt!=''">
- and xgbzt=#{xgbzt}
- </if>
- <if test="xdzzzt!=null and xdzzzt!=''">
- and xdzzzt=#{xdzzzt}
- </if>
- <if test="yxlzxxpyScz!=null and yxlzxxpyScz!=''">
- and yxlzxxpy_scz=#{yxlzxxpyScz}
- </if>
- <if test="yxlzxxpyBzz!=null and yxlzxxpyBzz!=''">
- and yxlzxxpy_bzz=#{yxlzxxpyBzz}
- </if>
- <if test="ygmlxsfpx!=null and ygmlxsfpx!=''">
- and ygmlxsfpx=#{ygmlxsfpx}
- </if>
- <if test="fcdScz!=null and fcdScz!=''">
- and fcd_scz=#{fcdScz}
- </if>
- <if test="fcdBzz!=null and fcdBzz!=''">
- and fcd_bzz=#{fcdBzz}
- </if>
- <if test="jtjgljbwzt!=null and jtjgljbwzt!=''">
- and jtjgljbwzt=#{jtjgljbwzt}
- </if>
- <if test="jcxjcdxmhqk!=null and jcxjcdxmhqk!=''">
- and jcxjcdxmhqk=#{jcxjcdxmhqk}
- </if>
- <if test="jcxjtxjlslm!=null and jcxjtxjlslm!=''">
- and jcxjtxjlslm=#{jcxjtxjlslm}
- </if>
- <if test="gdsfph!=null and gdsfph!=''">
- and gdsfph=#{gdsfph}
- </if>
- <if test="qt!=null and qt!=''">
- and qt=#{qt}
- </if>
- <if test="fj!=null and fj!=''">
- and fj=#{fj}
- </if>
- <if test="sl!=null and sl!=''">
- and sl=#{sl}
- </if>
- <if test="dw!=null and dw!=''">
- and dw=#{dw}
- </if>
- <if test="fdazwz!=null and fdazwz!=''">
- and fdazwz=#{fdazwz}
- </if>
- <if test="sjbh!=null and sjbh!=''">
- and sjbh=#{sjbh}
- </if>
- <if test="delFlag!=null and delFlag!=''">
- and del_flag=#{delFlag}
- </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>
- </where>
- </select>
- </mapper>
|