You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
4.5 KiB
118 lines
4.5 KiB
<?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.dsic.gj_erp.mapper.jcsj.DmBchxylpMapper">
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
<resultMap id="BaseResultMap" type="com.dsic.gj_erp.bean.jcsj.DmBchxylp">
|
|
<id column="hxbh" property="hxbh" />
|
|
<result column="ylbh" property="ylbh" />
|
|
<result column="tzbh" property="tzbh" />
|
|
<result column="hxfl" property="hxfl" />
|
|
<result column="wpgg" property="wpgg" />
|
|
<result column="wpxh" property="wpxh" />
|
|
<result column="bz" property="bz" />
|
|
<result column="zdr" property="zdr" />
|
|
<result column="zdrq" property="zdrq" />
|
|
<result column="ylzd1" property="ylzd1" />
|
|
<result column="dc_ch" property="dcCh" />
|
|
<result column="dc_pl" property="dcPl" />
|
|
<result column="dc_zl" property="dcZl" />
|
|
<result column="sfyl" property="sfyl" />
|
|
<result column="ylgg" property="ylgg" />
|
|
<result column="sl" property="sl" />
|
|
<result column="ylsl" property="ylsl" />
|
|
<result column="xcmc" property="xcmc" />
|
|
<result column="xccd" property="xccd" />
|
|
<result column="ylcd" property="ylcd" />
|
|
<result column="ZZCJ" property="zzcj" />
|
|
<result column="drry" property="drry" />
|
|
<result column="drrq" property="drrq" />
|
|
<result column="drcs" property="drcs" />
|
|
<result column="bgr" property="bgr" />
|
|
<result column="ylzd6" property="ylzd6" />
|
|
<result column="rkph" property="rkph" />
|
|
<result column="kwh" property="kwh" />
|
|
<result column="ylzd4" property="ylzd4" />
|
|
<result column="xh" property="xh" />
|
|
<result column="ylzd5" property="ylzd5" />
|
|
<result column="rkbs" property="rkbs" />
|
|
<result column="ylzd2" property="ylzd2" />
|
|
<result column="rkrq" property="rkrq" />
|
|
<result column="jldw" property="jldw" />
|
|
<result column="ylzd3" property="ylzd3" />
|
|
<result column="ylzl" property="ylzl" />
|
|
<result column="drbs" property="drbs" />
|
|
</resultMap>
|
|
|
|
<!-- 通用查询结果列 -->
|
|
<sql id="Base_Column_List">
|
|
ylbh, tzbh, hxfl, wpgg, wpxh, bz, zdr, zdrq, ylzd1, dc_ch, dc_pl, dc_zl, sfyl, ylgg, sl, ylsl, xcmc, xccd, ylcd, ZZCJ, drry, drrq, drcs, bgr, hxbh, ylzd6, rkph, kwh, ylzd4, xh, ylzd5, rkbs, ylzd2, rkrq, jldw, ylzd3, ylzl, drbs
|
|
</sql>
|
|
|
|
<select id="getBcTJlList" resultType="com.dsic.gj_erp.bean.jcsj.DmBchxylp" parameterType="map">
|
|
SELECT dm_bchxylp.hxbh,
|
|
dm_bchxylp.xh,
|
|
dm_bchxylp.ylbh,
|
|
dm_bchxylp.tzbh,
|
|
dm_bchxylp.hxfl,
|
|
dm_bchxylp.wpgg,
|
|
dm_bchxylp.wpxh,
|
|
dm_bchxylp.jldw,
|
|
dm_bchxylp.ylzl,
|
|
dm_bchxylp.bz,
|
|
dm_bchxylp.zdr,
|
|
dm_bchxylp.zdrq,
|
|
dm_bchxylp.ylzd1,
|
|
dm_bchxylp.ylzd2,
|
|
dm_bchxylp.ylzd3,
|
|
dm_bchxylp.ylzd4,
|
|
dm_bchxylp.ylzd5,
|
|
dm_bchxylp.ylzd6,
|
|
dm_bchxylp.kwh,
|
|
dm_bchxylp.rkrq,
|
|
dm_bchxylp.bgr,
|
|
dm_bchxylp.rkph,
|
|
dm_bchxylp.rkbs,
|
|
dm_bchxylp.dc_ch,
|
|
dm_bchxylp.dc_pl,
|
|
dm_bchxylp.dc_zl,
|
|
dm_bchxylp.sfyl,
|
|
dm_bchxylp.ylgg,
|
|
dm_bchxylp.sl,
|
|
dm_bchxylp.xcmc ,
|
|
dm_bchxylp.xccd ,
|
|
dm_bchxylp.ZZCJ,
|
|
dm_bchxylp.ylcd,
|
|
dm_bchxylp.ylggs
|
|
FROM dm_bchxylp where 1=1
|
|
<if test=" dcpl!=null and dcpl!=''">
|
|
and dm_bchxylp.dc_pl=#{dcpl}
|
|
</if>
|
|
<if test=" dcch!=null and dcch!=''">
|
|
and dm_bchxylp.DC_CH=#{dcch}
|
|
</if>
|
|
<if test=" dczl!=null and dczl!=''">
|
|
and dm_bchxylp.DC_ZL=#{dczl}
|
|
</if>
|
|
<if test=" zzcj!=null and zzcj!=''">
|
|
and dm_bchxylp.zzcj=#{zzcj}
|
|
</if>
|
|
|
|
<if test=" hxfl!=null and hxfl!=''">
|
|
and dm_bchxylp.HXFL=#{hxfl}
|
|
</if>
|
|
|
|
<if test=" tzbh!=null and tzbh!=''">
|
|
and dm_bchxylp.tzbh like'%'+#{tzbh}+'%'
|
|
</if>
|
|
<if test=" wpgg!=null and wpgg!=''">
|
|
and dm_bchxylp.wpgg=#{wpgg}
|
|
</if>
|
|
<if test=" wpxh!=null and wpxh!=''">
|
|
and dm_bchxylp.wpxh=#{wpxh}
|
|
</if>
|
|
order by dc_ch,dc_pl,dc_zl,tzbh
|
|
</select>
|
|
|
|
</mapper>
|