|
|
@@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="projectId != null "> and project_id = #{projectId}</if>
|
|
|
<if test="versionId != null "> and version_id = #{versionId}</if>
|
|
|
<if test="entityName != null and entityName != ''"> and entity_name like concat('%', #{entityName}, '%')</if>
|
|
|
- <if test="entityCode != null and entityCode != ''"> and entity_code = #{entityCode}</if>
|
|
|
+ <if test="entityCode != null and entityCode != ''"> and entity_code like concat('%', #{entityCode}, '%')</if>
|
|
|
<if test="parentVersionId != null "> and parent_version_id = #{parentVersionId}</if>
|
|
|
</where>
|
|
|
</select>
|