Invalid bound statement (not found): cn.jeefast.xiangmu.dao.AchDao.selectByI 解决

问题原因:实体类没有设置主键
解决办法

  /**
     * 成绩id
     */
	@TableId(value="aid", type= IdType.AUTO)//规定主键
	private Integer aid;


@Override//返回主键值
	protected Serializable pkVal() {
		return this.aid;
	}
发布了48 篇原创文章 · 获赞 1 · 访问量 3828

猜你喜欢

转载自blog.csdn.net/qq_43840143/article/details/103273304
今日推荐