Commit f9b381f8 authored by chenzhao's avatar chenzhao

修改bug

parent 8cb6bcfa
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
AND d.update_date BETWEEN '${startTime}' AND '${endTime}' AND d.update_date BETWEEN '${startTime}' AND '${endTime}'
</if> </if>
<if test="buildId!=null"> <if test="buildId!=null">
AND d.buildId in #{buildId} AND d.buildId in (#{buildId})
<!-- <foreach item="item" index="index" collection="buildId" open="(" separator="," close=")"> <!-- <foreach item="item" index="index" collection="buildId" open="(" separator="," close=")">
#{item} #{item}
</foreach>--> </foreach>-->
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
AND d.create_date BETWEEN '${startTime}' AND '${endTime}' AND d.create_date BETWEEN '${startTime}' AND '${endTime}'
</if> </if>
<if test="buildId!=null"> <if test="buildId!=null">
AND d.buildId in #{buildId} AND d.buildId in (#{buildId})
<!-- AND d.buildId in <!-- AND d.buildId in
<foreach item="item" index="index" collection="buildId" open="(" separator="," close=")"> <foreach item="item" index="index" collection="buildId" open="(" separator="," close=")">
#{item} #{item}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment