| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919 |
- <?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.baseinfo.mapper.BusZzdzxxMapper">
- <resultMap id="BaseResultMap" type="com.railway.business.baseinfo.domain.BusZzdzxx">
- <result column="id" property="id"/>
- <result column="dept_id" property="deptId"/>
- <result column="dept_name" property="deptName"/>
- <result column="line_id" property="lineId"/>
- <result column="line_name" property="lineName"/>
- <result column="station_id" property="stationId"/>
- <result column="station_name" property="stationName"/>
- <result column="xingbie" property="xingbie"/>
- <result column="pillar_code" property="pillarCode"/>
- <result column="station_track" property="stationTrack"/>
- <result column="gxms" property="gxms"/>
- <result column="jbdydm" property="jbdydm"/>
- <result column="sd" property="sd"/>
- <result column="marker" property="marker"/>
- <result column="jcxgmdh" property="jcxgmdh"/>
- <result column="jcxgazth" property="jcxgazth"/>
- <result column="fjxgazth" property="fjxgazth"/>
- <result column="zzlx" property="zzlx"/>
- <result column="zzxh" property="zzxh"/>
- <result column="zzyt" property="zzyt"/>
- <result column="cz" property="cz"/>
- <result column="zxqwqn" property="zxqwqn"/>
- <result column="kj" property="kj"/>
- <result column="qxbj" property="qxbj"/>
- <result column="dg" property="dg"/>
- <result column="lcz" property="lcz"/>
- <result column="gmbg_scz" property="gmbgScz"/>
- <result column="gmbg_bzz" property="gmbgBzz"/>
- <result column="cmxj_scz" property="cmxjScz"/>
- <result column="cmxj_bzz" property="cmxjBzz"/>
- <result column="wgcg_scz" property="wgcgScz"/>
- <result column="wgcg_bzz" property="wgcgBzz"/>
- <result column="zzzt" property="zzzt"/>
- <result column="sccj" property="sccj"/>
- <result column="tyrq" property="tyrq"/>
- <result column="ccrq" property="ccrq"/>
- <result column="sjsm" property="sjsm"/>
- <result column="zzjczt" property="zzjczt"/>
- <result column="jclx" property="jclx"/>
- <result column="dxzt" property="dxzt"/>
- <result column="jxzq" property="jxzq"/>
- <result column="sf_sfpwjjdm" property="sfSfpwjjdm"/>
- <result column="sf_bczz" property="sfBczz"/>
- <result column="sf_fdjyq" property="sfFdjyq"/>
- <result column="sf_fxjyq" property="sfFxjyq"/>
- <result column="sf_jcxc" property="sfJcxc"/>
- <result column="sf_lxwjcxc" property="sfLxwjcxc"/>
- <result column="sf_sxwjcxc" property="sfSxwjcxc"/>
- <result column="sf_mdgjzfx" property="sfMdgjzfx"/>
- <result column="sf_hkd" property="sfHkd"/>
- <result column="sf_dlj" property="sfDlj"/>
- <result column="sf_glkg" property="sfGlkg"/>
- <result column="sf_blq" property="sfBlq"/>
- <result column="sf_dcgyzz" property="sfDcgyzz"/>
- <result column="sf_xcbzp" property="sfXcbzp"/>
- <result column="sf_jdzz" property="sfJdzz"/>
- <result column="sf_xsx" property="sfXsx"/>
- <result column="sf_hlx" property="sfHlx"/>
- <result column="sf_gwx" property="sfGwx"/>
- <result column="sf_gdx" property="sfGdx"/>
- <result column="sf_pwx" property="sfPwx"/>
- <result column="sf_sfx" property="sfSfx"/>
- <result column="sf_jqx" property="sfJqx"/>
- <result column="sf_blx" property="sfBlx"/>
- <result column="sf_lx" property="sfLx"/>
- <result column="sf_zm" property="sfZm"/>
- <result column="qt" property="qt"/>
- <result column="fj" property="fj"/>
- <result column="sl" property="sl"/>
- <result column="dw" property="dw"/>
- <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">
- t.id,
- v.dept_id,
- v.dept_name,
- v.line_id,
- v.line_name,
- v.station_name as station_name,
- t.station_id,
- t.xingbie,
- t.pillar_code,
- t.station_track,
- t.gxms,
- t.jbdydm,
- t.sd,
- t.marker,
- t.jcxgmdh,
- t.jcxgazth,
- t.fjxgazth,
- t.zzlx,
- t.zzxh,
- t.zzyt,
- t.cz,
- t.zxqwqn,
- t.kj,
- t.qxbj,
- t.dg,
- t.lcz,
- t.gmbg_scz,
- t.gmbg_bzz,
- t.cmxj_scz,
- t.cmxj_bzz,
- t.wgcg_scz,
- t.wgcg_bzz,
- t.zzzt,
- t.sccj,
- t.tyrq,
- t.ccrq,
- t.sjsm,
- t.zzjczt,
- t.jclx,
- t.dxzt,
- t.jxzq,
- t.sf_sfpwjjdm,
- t.sf_bczz,
- t.sf_fdjyq,
- t.sf_fxjyq,
- t.sf_jcxc,
- t.sf_lxwjcxc,
- t.sf_sxwjcxc,
- t.sf_mdgjzfx,
- t.sf_hkd,
- t.sf_dlj,
- t.sf_glkg,
- t.sf_blq,
- t.sf_dcgyzz,
- t.sf_xcbzp,
- t.sf_jdzz,
- t.sf_xsx,
- t.sf_hlx,
- t.sf_gwx,
- t.sf_gdx,
- t.sf_pwx,
- t.sf_sfx,
- t.sf_jqx,
- t.sf_blx,
- t.sf_lx,
- t.sf_zm,
- t.qt,
- t.fj,
- t.sl,
- t.dw,
- t.sjbh,
- t.del_flag,
- t.create_by,
- t.create_time,
- t.update_by,
- t.update_time,
- t.station_id
- </sql>
- <insert id="insert" parameterType="com.railway.business.baseinfo.domain.BusZzdzxx">
- INSERT INTO base_pillar
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test='null != stationId'>
- station_id,
- </if>
- <if test='null != xingbie'>
- xingbie,
- </if>
- <if test='null != pillarCode'>
- pillar_code,
- </if>
- <if test='null != stationTrack'>
- station_track,
- </if>
- <if test='null != gxms'>
- gxms,
- </if>
- <if test='null != jbdydm'>
- jbdydm,
- </if>
- <if test='null != sd'>
- sd,
- </if>
- <if test='null != marker'>
- marker,
- </if>
- <if test='null != jcxgmdh'>
- jcxgmdh,
- </if>
- <if test='null != jcxgazth'>
- jcxgazth,
- </if>
- <if test='null != fjxgazth'>
- fjxgazth,
- </if>
- <if test='null != zzlx'>
- zzlx,
- </if>
- <if test='null != zzxh'>
- zzxh,
- </if>
- <if test='null != zzyt'>
- zzyt,
- </if>
- <if test='null != cz'>
- cz,
- </if>
- <if test='null != zxqwqn'>
- zxqwqn,
- </if>
- <if test='null != kj'>
- kj,
- </if>
- <if test='null != qxbj'>
- qxbj,
- </if>
- <if test='null != dg'>
- dg,
- </if>
- <if test='null != lcz'>
- lcz,
- </if>
- <if test='null != gmbgScz'>
- gmbg_scz,
- </if>
- <if test='null != gmbgBzz'>
- gmbg_bzz,
- </if>
- <if test='null != cmxjScz'>
- cmxj_scz,
- </if>
- <if test='null != cmxjBzz'>
- cmxj_bzz,
- </if>
- <if test='null != wgcgScz'>
- wgcg_scz,
- </if>
- <if test='null != wgcgBzz'>
- wgcg_bzz,
- </if>
- <if test='null != zzzt'>
- zzzt,
- </if>
- <if test='null != sccj'>
- sccj,
- </if>
- <if test='null != tyrq'>
- tyrq,
- </if>
- <if test='null != ccrq'>
- ccrq,
- </if>
- <if test='null != sjsm'>
- sjsm,
- </if>
- <if test='null != zzjczt'>
- zzjczt,
- </if>
- <if test='null != jclx'>
- jclx,
- </if>
- <if test='null != dxzt'>
- dxzt,
- </if>
- <if test='null != jxzq'>
- jxzq,
- </if>
- <if test='null != sfSfpwjjdm'>
- sf_sfpwjjdm,
- </if>
- <if test='null != sfBczz'>
- sf_bczz,
- </if>
- <if test='null != sfFdjyq'>
- sf_fdjyq,
- </if>
- <if test='null != sfFxjyq'>
- sf_fxjyq,
- </if>
- <if test='null != sfJcxc'>
- sf_jcxc,
- </if>
- <if test='null != sfLxwjcxc'>
- sf_lxwjcxc,
- </if>
- <if test='null != sfSxwjcxc'>
- sf_sxwjcxc,
- </if>
- <if test='null != sfMdgjzfx'>
- sf_mdgjzfx,
- </if>
- <if test='null != sfHkd'>
- sf_hkd,
- </if>
- <if test='null != sfDlj'>
- sf_dlj,
- </if>
- <if test='null != sfGlkg'>
- sf_glkg,
- </if>
- <if test='null != sfBlq'>
- sf_blq,
- </if>
- <if test='null != sfDcgyzz'>
- sf_dcgyzz,
- </if>
- <if test='null != sfXcbzp'>
- sf_xcbzp,
- </if>
- <if test='null != sfJdzz'>
- sf_jdzz,
- </if>
- <if test='null != sfXsx'>
- sf_xsx,
- </if>
- <if test='null != sfHlx'>
- sf_hlx,
- </if>
- <if test='null != sfGwx'>
- sf_gwx,
- </if>
- <if test='null != sfGdx'>
- sf_gdx,
- </if>
- <if test='null != sfPwx'>
- sf_pwx,
- </if>
- <if test='null != sfSfx'>
- sf_sfx,
- </if>
- <if test='null != sfJqx'>
- sf_jqx,
- </if>
- <if test='null != sfBlx'>
- sf_blx,
- </if>
- <if test='null != sfLx'>
- sf_lx,
- </if>
- <if test='null != sfZm'>
- sf_zm,
- </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 != 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>
- <if test='null != stationId'>
- station_id
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test='null != stationId'>
- #{stationId},
- </if>
- <if test='null != xingbie'>
- #{xingbie},
- </if>
- <if test='null != pillarCode'>
- #{pillarCode},
- </if>
- <if test='null != stationTrack'>
- #{stationTrack},
- </if>
- <if test='null != gxms'>
- #{gxms},
- </if>
- <if test='null != jbdydm'>
- #{jbdydm},
- </if>
- <if test='null != sd'>
- #{sd},
- </if>
- <if test='null != marker'>
- #{marker},
- </if>
- <if test='null != jcxgmdh'>
- #{jcxgmdh},
- </if>
- <if test='null != jcxgazth'>
- #{jcxgazth},
- </if>
- <if test='null != fjxgazth'>
- #{fjxgazth},
- </if>
- <if test='null != zzlx'>
- #{zzlx},
- </if>
- <if test='null != zzxh'>
- #{zzxh},
- </if>
- <if test='null != zzyt'>
- #{zzyt},
- </if>
- <if test='null != cz'>
- #{cz},
- </if>
- <if test='null != zxqwqn'>
- #{zxqwqn},
- </if>
- <if test='null != kj'>
- #{kj},
- </if>
- <if test='null != qxbj'>
- #{qxbj},
- </if>
- <if test='null != dg'>
- #{dg},
- </if>
- <if test='null != lcz'>
- #{lcz},
- </if>
- <if test='null != gmbgScz'>
- #{gmbgScz},
- </if>
- <if test='null != gmbgBzz'>
- #{gmbgBzz},
- </if>
- <if test='null != cmxjScz'>
- #{cmxjScz},
- </if>
- <if test='null != cmxjBzz'>
- #{cmxjBzz},
- </if>
- <if test='null != wgcgScz'>
- #{wgcgScz},
- </if>
- <if test='null != wgcgBzz'>
- #{wgcgBzz},
- </if>
- <if test='null != zzzt'>
- #{zzzt},
- </if>
- <if test='null != sccj'>
- #{sccj},
- </if>
- <if test='null != tyrq'>
- #{tyrq},
- </if>
- <if test='null != ccrq'>
- #{ccrq},
- </if>
- <if test='null != sjsm'>
- #{sjsm},
- </if>
- <if test='null != zzjczt'>
- #{zzjczt},
- </if>
- <if test='null != jclx'>
- #{jclx},
- </if>
- <if test='null != dxzt'>
- #{dxzt},
- </if>
- <if test='null != jxzq'>
- #{jxzq},
- </if>
- <if test='null != sfSfpwjjdm'>
- #{sfSfpwjjdm},
- </if>
- <if test='null != sfBczz'>
- #{sfBczz},
- </if>
- <if test='null != sfFdjyq'>
- #{sfFdjyq},
- </if>
- <if test='null != sfFxjyq'>
- #{sfFxjyq},
- </if>
- <if test='null != sfJcxc'>
- #{sfJcxc},
- </if>
- <if test='null != sfLxwjcxc'>
- #{sfLxwjcxc},
- </if>
- <if test='null != sfSxwjcxc'>
- #{sfSxwjcxc},
- </if>
- <if test='null != sfMdgjzfx'>
- #{sfMdgjzfx},
- </if>
- <if test='null != sfHkd'>
- #{sfHkd},
- </if>
- <if test='null != sfDlj'>
- #{sfDlj},
- </if>
- <if test='null != sfGlkg'>
- #{sfGlkg},
- </if>
- <if test='null != sfBlq'>
- #{sfBlq},
- </if>
- <if test='null != sfDcgyzz'>
- #{sfDcgyzz},
- </if>
- <if test='null != sfXcbzp'>
- #{sfXcbzp},
- </if>
- <if test='null != sfJdzz'>
- #{sfJdzz},
- </if>
- <if test='null != sfXsx'>
- #{sfXsx},
- </if>
- <if test='null != sfHlx'>
- #{sfHlx},
- </if>
- <if test='null != sfGwx'>
- #{sfGwx},
- </if>
- <if test='null != sfGdx'>
- #{sfGdx},
- </if>
- <if test='null != sfPwx'>
- #{sfPwx},
- </if>
- <if test='null != sfSfx'>
- #{sfSfx},
- </if>
- <if test='null != sfJqx'>
- #{sfJqx},
- </if>
- <if test='null != sfBlx'>
- #{sfBlx},
- </if>
- <if test='null != sfLx'>
- #{sfLx},
- </if>
- <if test='null != sfZm'>
- #{sfZm},
- </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 != 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>
- <if test='null != stationId'>
- #{stationId}
- </if>
- </trim>
- </insert>
- <delete id="delete">
- UPDATE base_pillar
- set del_flag='1'
- WHERE id = #{id}
- </delete>
- <update id="update" parameterType="com.railway.business.baseinfo.domain.BusZzdzxx">
- UPDATE base_pillar
- <set>
- <if test='null != stationId'>station_id = #{stationId},</if>
- <if test='null != xingbie'>xingbie = #{xingbie},</if>
- <if test='null != pillarCode'>pillar_code = #{pillarCode},</if>
- <if test='null != stationTrack'>station_track = #{stationTrack},</if>
- <if test='null != gxms'>gxms = #{gxms},</if>
- <if test='null != jbdydm'>jbdydm = #{jbdydm},</if>
- <if test='null != sd'>sd = #{sd},</if>
- <if test='null != marker'>marker = #{marker},</if>
- <if test='null != jcxgmdh'>jcxgmdh = #{jcxgmdh},</if>
- <if test='null != jcxgazth'>jcxgazth = #{jcxgazth},</if>
- <if test='null != fjxgazth'>fjxgazth = #{fjxgazth},</if>
- <if test='null != zzlx'>zzlx = #{zzlx},</if>
- <if test='null != zzxh'>zzxh = #{zzxh},</if>
- <if test='null != zzyt'>zzyt = #{zzyt},</if>
- <if test='null != cz'>cz = #{cz},</if>
- <if test='null != zxqwqn'>zxqwqn = #{zxqwqn},</if>
- <if test='null != kj'>kj = #{kj},</if>
- <if test='null != qxbj'>qxbj = #{qxbj},</if>
- <if test='null != dg'>dg = #{dg},</if>
- <if test='null != lcz'>lcz = #{lcz},</if>
- <if test='null != gmbgScz'>gmbg_scz = #{gmbgScz},</if>
- <if test='null != gmbgBzz'>gmbg_bzz = #{gmbgBzz},</if>
- <if test='null != cmxjScz'>cmxj_scz = #{cmxjScz},</if>
- <if test='null != cmxjBzz'>cmxj_bzz = #{cmxjBzz},</if>
- <if test='null != wgcgScz'>wgcg_scz = #{wgcgScz},</if>
- <if test='null != wgcgBzz'>wgcg_bzz = #{wgcgBzz},</if>
- <if test='null != zzzt'>zzzt = #{zzzt},</if>
- <if test='null != sccj'>sccj = #{sccj},</if>
- <if test='null != tyrq'>tyrq = #{tyrq},</if>
- <if test='null != ccrq'>ccrq = #{ccrq},</if>
- <if test='null != sjsm'>sjsm = #{sjsm},</if>
- <if test='null != zzjczt'>zzjczt = #{zzjczt},</if>
- <if test='null != jclx'>jclx = #{jclx},</if>
- <if test='null != dxzt'>dxzt = #{dxzt},</if>
- <if test='null != jxzq'>jxzq = #{jxzq},</if>
- <if test='null != sfSfpwjjdm'>sf_sfpwjjdm = #{sfSfpwjjdm},</if>
- <if test='null != sfBczz'>sf_bczz = #{sfBczz},</if>
- <if test='null != sfFdjyq'>sf_fdjyq = #{sfFdjyq},</if>
- <if test='null != sfFxjyq'>sf_fxjyq = #{sfFxjyq},</if>
- <if test='null != sfJcxc'>sf_jcxc = #{sfJcxc},</if>
- <if test='null != sfLxwjcxc'>sf_lxwjcxc = #{sfLxwjcxc},</if>
- <if test='null != sfSxwjcxc'>sf_sxwjcxc = #{sfSxwjcxc},</if>
- <if test='null != sfMdgjzfx'>sf_mdgjzfx = #{sfMdgjzfx},</if>
- <if test='null != sfHkd'>sf_hkd = #{sfHkd},</if>
- <if test='null != sfDlj'>sf_dlj = #{sfDlj},</if>
- <if test='null != sfGlkg'>sf_glkg = #{sfGlkg},</if>
- <if test='null != sfBlq'>sf_blq = #{sfBlq},</if>
- <if test='null != sfDcgyzz'>sf_dcgyzz = #{sfDcgyzz},</if>
- <if test='null != sfXcbzp'>sf_xcbzp = #{sfXcbzp},</if>
- <if test='null != sfJdzz'>sf_jdzz = #{sfJdzz},</if>
- <if test='null != sfXsx'>sf_xsx = #{sfXsx},</if>
- <if test='null != sfHlx'>sf_hlx = #{sfHlx},</if>
- <if test='null != sfGwx'>sf_gwx = #{sfGwx},</if>
- <if test='null != sfGdx'>sf_gdx = #{sfGdx},</if>
- <if test='null != sfPwx'>sf_pwx = #{sfPwx},</if>
- <if test='null != sfSfx'>sf_sfx = #{sfSfx},</if>
- <if test='null != sfJqx'>sf_jqx = #{sfJqx},</if>
- <if test='null != sfBlx'>sf_blx = #{sfBlx},</if>
- <if test='null != sfLx'>sf_lx = #{sfLx},</if>
- <if test='null != sfZm'>sf_zm = #{sfZm},</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 != 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>
- <if test='null != stationId'>station_id = #{stationId}</if>
- </set>
- WHERE id = #{id}
- </update>
- <select id="getInfo" resultMap="BaseResultMap">
- SELECT
- <include refid="Base_Column_List"/>
- FROM base_pillar t
- LEFT JOIN v_station v on t.station_id = v.station_id
- WHERE t.del_flag='0' and t.id = #{id}
- </select>
- <select id="getList" resultMap="BaseResultMap">
- SELECT
- <include refid="Base_Column_List"/>
- FROM base_pillar t
- left join v_station v on t.station_id = v.station_id
- <where>
- t.del_flag='0'
- <if test="stationId!=null and stationId!=''">
- and t.station_id=#{stationId}
- </if>
- <if test="deptId!=null and deptId!=''">
- and v.dept_id=#{deptId}
- </if>
- <if test="lineId!=null and lineId!=''">
- and v.line_id=#{lineId}
- </if>
- <if test="xingbie!=null and xingbie!=''">
- and t.xingbie=#{xingbie}
- </if>
- <if test="pillarCode!=null and pillarCode!=''">
- and t.pillar_code=#{pillarCode}
- </if>
- <if test="stationTrack!=null and stationTrack!=''">
- and t.station_track=#{stationTrack}
- </if>
- <if test="gxms!=null and gxms!=''">
- and t.gxms=#{gxms}
- </if>
- <if test="jbdydm!=null and jbdydm!=''">
- and t.jbdydm=#{jbdydm}
- </if>
- <if test="sd!=null and sd!=''">
- and t.sd=#{sd}
- </if>
- <if test="marker!=null and marker!=''">
- and t.marker=#{marker}
- </if>
- <if test="jcxgmdh!=null and jcxgmdh!=''">
- and t.jcxgmdh=#{jcxgmdh}
- </if>
- <if test="jcxgazth!=null and jcxgazth!=''">
- and t.jcxgazth=#{jcxgazth}
- </if>
- <if test="fjxgazth!=null and fjxgazth!=''">
- and t.fjxgazth=#{fjxgazth}
- </if>
- <if test="zzlx!=null and zzlx!=''">
- and t.zzlx=#{zzlx}
- </if>
- <if test="zzxh!=null and zzxh!=''">
- and t.zzxh=#{zzxh}
- </if>
- <if test="zzyt!=null and zzyt!=''">
- and t.zzyt=#{zzyt}
- </if>
- <if test="cz!=null and cz!=''">
- and t.cz=#{cz}
- </if>
- <if test="zxqwqn!=null and zxqwqn!=''">
- and t.zxqwqn=#{zxqwqn}
- </if>
- <if test="kj!=null and kj!=''">
- and t.kj=#{kj}
- </if>
- <if test="qxbj!=null and qxbj!=''">
- and t.qxbj=#{qxbj}
- </if>
- <if test="dg!=null and dg!=''">
- and t.dg=#{dg}
- </if>
- <if test="lcz!=null and lcz!=''">
- and t.lcz=#{lcz}
- </if>
- <if test="gmbgScz!=null and gmbgScz!=''">
- and t.gmbg_scz=#{gmbgScz}
- </if>
- <if test="gmbgBzz!=null and gmbgBzz!=''">
- and t.gmbg_bzz=#{gmbgBzz}
- </if>
- <if test="cmxjScz!=null and cmxjScz!=''">
- and t.cmxj_scz=#{cmxjScz}
- </if>
- <if test="cmxjBzz!=null and cmxjBzz!=''">
- and t.cmxj_bzz=#{cmxjBzz}
- </if>
- <if test="wgcgScz!=null and wgcgScz!=''">
- and t.wgcg_scz=#{wgcgScz}
- </if>
- <if test="wgcgBzz!=null and wgcgBzz!=''">
- and t.wgcg_bzz=#{wgcgBzz}
- </if>
- <if test="zzzt!=null and zzzt!=''">
- and t.zzzt=#{zzzt}
- </if>
- <if test="sccj!=null and sccj!=''">
- and t.sccj=#{sccj}
- </if>
- <if test="tyrq!=null and tyrq!=''">
- and t.tyrq=#{tyrq}
- </if>
- <if test="ccrq!=null and ccrq!=''">
- and t.ccrq=#{ccrq}
- </if>
- <if test="sjsm!=null and sjsm!=''">
- and t.sjsm=#{sjsm}
- </if>
- <if test="zzjczt!=null and zzjczt!=''">
- and t.zzjczt=#{zzjczt}
- </if>
- <if test="jclx!=null and jclx!=''">
- and t.jclx=#{jclx}
- </if>
- <if test="dxzt!=null and dxzt!=''">
- and t.dxzt=#{dxzt}
- </if>
- <if test="jxzq!=null and jxzq!=''">
- and t.jxzq=#{jxzq}
- </if>
- <if test="sfSfpwjjdm!=null and sfSfpwjjdm!=''">
- and t.sf_sfpwjjdm=#{sfSfpwjjdm}
- </if>
- <if test="sfBczz!=null and sfBczz!=''">
- and t.sf_bczz=#{sfBczz}
- </if>
- <if test="sfFdjyq!=null and sfFdjyq!=''">
- and t.sf_fdjyq=#{sfFdjyq}
- </if>
- <if test="sfFxjyq!=null and sfFxjyq!=''">
- and t.sf_fxjyq=#{sfFxjyq}
- </if>
- <if test="sfJcxc!=null and sfJcxc!=''">
- and t.sf_jcxc=#{sfJcxc}
- </if>
- <if test="sfLxwjcxc!=null and sfLxwjcxc!=''">
- and t.sf_lxwjcxc=#{sfLxwjcxc}
- </if>
- <if test="sfSxwjcxc!=null and sfSxwjcxc!=''">
- and t.sf_sxwjcxc=#{sfSxwjcxc}
- </if>
- <if test="sfMdgjzfx!=null and sfMdgjzfx!=''">
- and t.sf_mdgjzfx=#{sfMdgjzfx}
- </if>
- <if test="sfHkd!=null and sfHkd!=''">
- and t.sf_hkd=#{sfHkd}
- </if>
- <if test="sfDlj!=null and sfDlj!=''">
- and t.sf_dlj=#{sfDlj}
- </if>
- <if test="sfGlkg!=null and sfGlkg!=''">
- and t.sf_glkg=#{sfGlkg}
- </if>
- <if test="sfBlq!=null and sfBlq!=''">
- and t.sf_blq=#{sfBlq}
- </if>
- <if test="sfDcgyzz!=null and sfDcgyzz!=''">
- and t.sf_dcgyzz=#{sfDcgyzz}
- </if>
- <if test="sfXcbzp!=null and sfXcbzp!=''">
- and t.sf_xcbzp=#{sfXcbzp}
- </if>
- <if test="sfJdzz!=null and sfJdzz!=''">
- and t.sf_jdzz=#{sfJdzz}
- </if>
- <if test="sfXsx!=null and sfXsx!=''">
- and t.sf_xsx=#{sfXsx}
- </if>
- <if test="sfHlx!=null and sfHlx!=''">
- and t.sf_hlx=#{sfHlx}
- </if>
- <if test="sfGwx!=null and sfGwx!=''">
- and t.sf_gwx=#{sfGwx}
- </if>
- <if test="sfGdx!=null and sfGdx!=''">
- and t.sf_gdx=#{sfGdx}
- </if>
- <if test="sfPwx!=null and sfPwx!=''">
- and t.sf_pwx=#{sfPwx}
- </if>
- <if test="sfSfx!=null and sfSfx!=''">
- and t.sf_sfx=#{sfSfx}
- </if>
- <if test="sfJqx!=null and sfJqx!=''">
- and t.sf_jqx=#{sfJqx}
- </if>
- <if test="sfBlx!=null and sfBlx!=''">
- and t.sf_blx=#{sfBlx}
- </if>
- <if test="sfLx!=null and sfLx!=''">
- and t.sf_lx=#{sfLx}
- </if>
- <if test="sfZm!=null and sfZm!=''">
- and t.sf_zm=#{sfZm}
- </if>
- <if test="qt!=null and qt!=''">
- and t.qt=#{qt}
- </if>
- <if test="fj!=null and fj!=''">
- and t.fj=#{fj}
- </if>
- <if test="sl!=null and sl!=''">
- and t.sl=#{sl}
- </if>
- <if test="dw!=null and dw!=''">
- and t.dw=#{dw}
- </if>
- <if test="sjbh!=null and sjbh!=''">
- and t.sjbh=#{sjbh}
- </if>
- <if test="delFlag!=null and delFlag!=''">
- and t.del_flag=#{delFlag}
- </if>
- <if test="createBy!=null and createBy!=''">
- and t.create_by=#{createBy}
- </if>
- <if test="createTime!=null and createTime!=''">
- and t.create_time=#{createTime}
- </if>
- <if test="updateBy!=null and updateBy!=''">
- and t.update_by=#{updateBy}
- </if>
- <if test="updateTime!=null and updateTime!=''">
- and t.update_time=#{updateTime}
- </if>
- </where>
- </select>
- </mapper>
|