|
@@ -42,11 +42,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectEntityClassRelationList" parameterType="EntityClassRelation" resultMap="EntityClassRelationResult">
|
|
|
<include refid="selectEntityClassRelationVo"/>
|
|
|
<where>
|
|
|
- <if test="name != null and name != ''"> and `name` like concat('%', #{name}, '%')</if>
|
|
|
- <if test="desc != null and desc != ''"> and `desc` = #{desc}</if>
|
|
|
- <if test="backGroundColor != null and backGroundColor != ''"> and back_ground_color = #{backGroundColor}</if>
|
|
|
- <if test="startId != null "> and start_id = #{startId}</if>
|
|
|
- <if test="endId != null "> and end_id = #{endId}</if>
|
|
|
+ <if test="name != null and name != ''"> and ecr.`name` like concat('%', #{name}, '%')</if>
|
|
|
+ <if test="desc != null and desc != ''"> and ecr.`desc` = #{desc}</if>
|
|
|
+ <if test="backGroundColor != null and backGroundColor != ''"> and ecr.back_ground_color = #{backGroundColor}</if>
|
|
|
+ <if test="startId != null "> and ecr.start_id = #{startId}</if>
|
|
|
+ <if test="endId != null "> and ecr.end_id = #{endId}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|