<?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.aps.core.mapper.ApsWeldSeamStandardMapper">
|
|
<resultMap type="com.aps.core.domain.ApsWeldSeamStandard" id="ApsWeldSeamStandardResult">
|
<result property="id" column="id" />
|
<result property="itemCode" column="item_code" />
|
<result property="itemFigure" column="item_figure" />
|
<result property="itemFigureVersion" column="item_figure_version" />
|
<result property="hupQty" column="hup_qty" />
|
<result property="lodQty" column="lod_qty" />
|
<result property="type" column="type" />
|
<result property="delFlag" column="del_flag" />
|
</resultMap>
|
|
<sql id="selectApsWeldSeamStandardVo">
|
select id, item_code, item_figure, item_figure_version, hup_qty, lod_qty, type, del_flag from aps_weld_seam_standard
|
</sql>
|
|
<select id="selectApsWeldSeamStandardList" parameterType="com.aps.core.domain.ApsWeldSeamStandard" resultMap="ApsWeldSeamStandardResult">
|
<include refid="selectApsWeldSeamStandardVo"/>
|
<where>
|
<if test="itemCode != null and itemCode != ''"> and item_code LIKE '%' || #{itemCode} || '%'</if>
|
<if test="itemFigure != null and itemFigure != ''"> and item_figure = #{itemFigure}</if>
|
<if test="itemFigureVersion != null and itemFigureVersion != ''"> and item_figure_version = #{itemFigureVersion}</if>
|
<if test="hupQty != null "> and hup_qty = #{hupQty}</if>
|
<if test="lodQty != null "> and lod_qty = #{lodQty}</if>
|
<if test="type != null and type != ''"> and type = #{type}</if>
|
and del_flag = 0
|
</where>
|
</select>
|
</mapper>
|