陈裕财 4 years ago
parent
commit
d9671e4a6d
  1. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTestPlanCaseMapper.xml

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

@ -14,7 +14,7 @@
<if test="key != null and key !='' "> </if> <if test="key != null and key !='' "> </if>
</sql> </sql>
<select id="selectListByCaseIdsAndPlanId" parameterType="HashMap">
<select id="selectListByCaseIdsAndPlanId" parameterType="HashMap" resultType="com.xm.core.entity.XmTestPlanCase">
select * from xm_test_plan_case res where res.plan_id=#{planId} and res.case_id in select * from xm_test_plan_case res where res.plan_id=#{planId} and res.case_id in
<foreach collection="caseIds" item="item" index="index" open="(" separator="," close=")" > <foreach collection="caseIds" item="item" index="index" open="(" separator="," close=")" >
#{item} #{item}

Loading…
Cancel
Save