Parameter '__frch_item_0' not found. Available parameters are [list]问题

mapper.xml文件如下:

	<insert id = "insertBatch" parameterType="java.util.List">
		insert into exam_examination_and_examination_paper(
			id,
	        exam_examination_id, examination_paper_id,
	        create_by, create_date, update_by, update_date, remarks, del_flag
		) VALUES 
		<foreach collection="list" item="item" separator=",">
			(
				#{item.id},
				#{item.examExaminationId}, #{item.examExaminationPaperId},  
				#{item.createBy.name}, #{item.createDate}, #{item.updateBy.name}, 
				#{item.updateDate}, #{item.remarks}, #{item.delFlag}
			)
		</foreach>
	</insert>

dao接口文件如下:

public interface ExamExaminationAndExaminationPaperDao extends CrudDao<ExamExaminationAndExaminationPaper> {

	int insertBatch(List<ExamExaminationAndExaminationPaper> list);
}

entity文件如下:

public class ExamExaminationAndExaminationPaper extends DataEntity<ExamExaminationAndExaminationPaper> {

	private static final long serialVersionUID = 1L;
	/**
     * 考试表id
     */
    private String examExaminationId;

    /**
     * 试卷表id
     */
    private String examinationPaperId;
}

item.examExaminationPaperId 这个属性在entity里居然没有,entity里面的属性是examinationPaperId,和xml文件item.examExaminationPaperId属性对应不上,然后就一直出现标题问题

你可能感兴趣的:(Parameter '__frch_item_0' not found. Available parameters are [list]问题)