|
|
@ -30,9 +30,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<select id="selectEquCheckItemList" parameterType="EquCheckItem" resultMap="EquCheckItemResult">
|
|
|
|
<select id="selectEquCheckItemList" parameterType="EquCheckItem" resultMap="EquCheckItemResult">
|
|
|
|
<include refid="selectEquCheckItemVo"/>
|
|
|
|
<include refid="selectEquCheckItemVo"/>
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="itemCode != null and itemCode != ''"> and item_code = #{itemCode}</if>
|
|
|
|
<if test="itemCode != null and itemCode != ''"> and item_code like concat('%', #{itemCode}, '%')</if>
|
|
|
|
<if test="itemName != null and itemName != ''"> and item_name like concat('%', #{itemName}, '%')</if>
|
|
|
|
<if test="itemName != null and itemName != ''"> and item_name like concat('%', #{itemName}, '%')</if>
|
|
|
|
<if test="itemMethod != null and itemMethod != ''"> and item_method = #{itemMethod}</if>
|
|
|
|
<if test="itemMethod != null and itemMethod != ''"> and item_method like concat('%', #{itemMethod}, '%')</if>
|
|
|
|
<if test="itemType != null and itemType != ''"> and item_type = #{itemType}</if>
|
|
|
|
<if test="itemType != null and itemType != ''"> and item_type = #{itemType}</if>
|
|
|
|
<if test="itemTypeName != null and itemTypeName != ''"> and item_type_name like concat('%', #{itemTypeName}, '%')</if>
|
|
|
|
<if test="itemTypeName != null and itemTypeName != ''"> and item_type_name like concat('%', #{itemTypeName}, '%')</if>
|
|
|
|
<if test="itemRemark != null and itemRemark != ''"> and item_remark = #{itemRemark}</if>
|
|
|
|
<if test="itemRemark != null and itemRemark != ''"> and item_remark = #{itemRemark}</if>
|
|
|
@ -41,10 +41,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
|
<if test="delFlag != null and delFlag != ''"> and del_flag = #{delFlag}</if>
|
|
|
|
<if test="delFlag != null and delFlag != ''"> and del_flag = #{delFlag}</if>
|
|
|
|
<if test="createdTime != null "> and created_time = #{createdTime}</if>
|
|
|
|
<if test="createTimeStart != null "> and CONVERT(date,created_time) >= #{createTimeStart}</if>
|
|
|
|
<if test="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
|
|
|
|
<if test="createTimeEnd != null "> and #{createTimeEnd} >= CONVERT(date,created_time)</if>
|
|
|
|
<if test="updatedTime != null "> and updated_time = #{updatedTime}</if>
|
|
|
|
<if test="createdBy != null and createdBy != ''"> and created_by like concat('%', #{createdBy}, '%')</if>
|
|
|
|
<if test="updatedBy != null and updatedBy != ''"> and updated_by = #{updatedBy}</if>
|
|
|
|
<if test="updateTimeStart != null "> and CONVERT(date,updated_time) >= #{updateTimeStart}</if>
|
|
|
|
|
|
|
|
<if test="updateTimeEnd != null "> and #{updateTimeEnd} >= CONVERT(date,updated_time)</if>
|
|
|
|
|
|
|
|
<if test="updatedBy != null and updatedBy != ''"> and updated_by like concat('%', #{updatedBy}, '%')</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|