dcs 1 năm trước cách đây
mục cha
commit
be205e47cb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)