物资类型管理--修改查询

This commit is contained in:
syruan 2024-10-14 17:20:44 +08:00
parent e5703fa5fc
commit 40cb13324d
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectTypeVo"/> <include refid="selectTypeVo"/>
<where> <where>
<if test="typeName != null and typeName != ''"> and type_name like concat('%', #{typeName}, '%')</if> <if test="typeName != null and typeName != ''"> and type_name like concat('%', #{typeName}, '%')</if>
<if test="parentId != null "> and parent_id = #{parentId}</if> <if test="parentId != null and parentId != '0' "> and parent_id = #{parentId}</if>
<if test="storageNum != null "> and storage_num = #{storageNum}</if> <if test="storageNum != null "> and storage_num = #{storageNum}</if>
<if test="typeCode != null and typeCode != ''"> and type_code = #{typeCode}</if> <if test="typeCode != null and typeCode != ''"> and type_code = #{typeCode}</if>
<if test="modelCode != null and modelCode != ''"> and model_code = #{modelCode}</if> <if test="modelCode != null and modelCode != ''"> and model_code = #{modelCode}</if>