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)