dcs пре 1 година
родитељ
комит
be205e47cb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      virgo.api/src/main/resources/mapper/ProjectItemMapper.xml

+ 1 - 1
virgo.api/src/main/resources/mapper/ProjectItemMapper.xml

@@ -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)