|
@@ -64,7 +64,7 @@
|
|
|
<select id="getLimit" resultMap="projectItemResult">
|
|
|
SELECT * FROM project_item
|
|
|
<where>
|
|
|
- <if test="p.projectId !=0">and id=#{p.projectId}</if>
|
|
|
+ <if test="p.projectId !=0">and projectId=#{p.projectId}</if>
|
|
|
<if test="p.tagIds != null">and
|
|
|
<foreach item="tagId" collection="p.tagIds.split(',')" open="(" separator=" and " close=")">
|
|
|
FIND_IN_SET (#{tagId}, tagIds)
|