jeesite 无“已删除”数据列表

问题描述:
自己添加了数据库表(包括create_by,create_date....del_flag等字段), 然后生成代码,发现删除数据后,del_flag的值为1了, 但是在“已删除列表”却没有数据


解决方法:
修改src/main/resources/mappings/xxxDao.xml

找到
<select id="findList" resultType="SerLabels">

修改里面的
<where>
			a.del_flag = #{DEL_FLAG_NORMAL}


<where>
			a.del_flag = #{delFlag}

猜你喜欢

转载自ctrlc.iteye.com/blog/2220095