|
@@ -37,7 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectMaterielList" parameterType="com.zkqy.business.domain.Materiel" resultMap="MaterielResult">
|
|
|
<include refid="selectMaterielVo"/>
|
|
|
- <where>
|
|
|
+ where del_flag = '0'
|
|
|
<if test="materielCode != null and materielCode != ''"> and materiel_code = #{materielCode}</if>
|
|
|
<if test="materielName != null and materielName != ''"> and materiel_name like concat('%', #{materielName}, '%')</if>
|
|
|
<if test="materielAsname != null and materielAsname != ''"> and materiel_asname like concat('%', #{materielAsname}, '%')</if>
|
|
@@ -54,7 +54,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="taskNodeKey != null and taskNodeKey != ''"> and task_node_key = #{taskNodeKey}</if>
|
|
|
<if test="materieEncoding != null and materieEncoding != ''"> and materie_encoding = #{materieEncoding}</if>
|
|
|
<if test="materieColorNumber != null and materieColorNumber != ''"> and materie_color_number = #{materieColorNumber}</if>
|
|
|
- </where>
|
|
|
</select>
|
|
|
|
|
|
<select id="selectMaterielById" parameterType="Long" resultMap="MaterielResult">
|