Browse Source

投标直通车

master
陈裕财 3 years ago
parent
commit
fa89352e4c
  1. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmFuncMapper.xml
  2. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml
  3. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCasedbMapper.xml
  4. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml
  5. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanMapper.xml

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmFuncMapper.xml

@ -11,7 +11,7 @@
( #{item}) ( #{item})
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if>
<if test="key != null and key !='' "> and c.name like concat('%',#{key},'%') </if>
</sql> </sql>

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCaseMapper.xml

@ -28,7 +28,7 @@
<if test="iterationId != null and iterationId !=''" >and m.iteration_id=#{iterationId} </if> <if test="iterationId != null and iterationId !=''" >and m.iteration_id=#{iterationId} </if>
) )
</if> </if>
<if test="key != null and key !='' "> and res.case_name like #{key} </if>
<if test="key != null and key !='' "> and res.case_name like concat('%',#{key},'%') </if>
<if test="notJoinPlanId != null and notJoinPlanId !='' "> and not exists(select 1 from xm_test_plan_case c where c.plan_id=#{notJoinPlanId} and c.case_id=res.id) </if> <if test="notJoinPlanId != null and notJoinPlanId !='' "> and not exists(select 1 from xm_test_plan_case c where c.plan_id=#{notJoinPlanId} and c.case_id=res.id) </if>
<if test="funcPidPathsLike!=null and funcPidPathsLike!=''"> <if test="funcPidPathsLike!=null and funcPidPathsLike!=''">

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestCasedbMapper.xml

@ -11,7 +11,7 @@
( #{item}) ( #{item})
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if>
<if test="key != null and key !='' "> and res.name like concat('%',#{key},'%') </if>
</sql> </sql>

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml

@ -11,7 +11,7 @@
( #{item.caseId}, #{item.planId}) ( #{item.caseId}, #{item.planId})
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if>
<if test="key != null and key !='' "> and c.case_name like concat('%',#{key},'%') </if>
</sql> </sql>
<select id="selectListByCaseIdsAndPlanId" parameterType="HashMap" resultType="com.xm.core.entity.XmTestPlanCase"> <select id="selectListByCaseIdsAndPlanId" parameterType="HashMap" resultType="com.xm.core.entity.XmTestPlanCase">

2
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanMapper.xml

@ -11,7 +11,7 @@
( #{item}) ( #{item})
</foreach> </foreach>
</if> </if>
<if test="key != null and key !='' "> </if>
<if test="key != null and key !='' "> and res.name like concat('%',#{key},'%') </if>
</sql> </sql>

Loading…
Cancel
Save