---
title: "jeesite 无“已删除”数据列表"
author: "ctrlc"
date: "2015-06-16T16:07:21Z"
tags: []
categories: ["开源软件"]
slug: "jeesite"
draft: false
lastmod: "2015-06-16T16:07:21Z"
id: 2220095
url: "https://ctrlc.iteye.com/blog/2220095"
---

问题描述：
自己添加了数据库表（包括create_by,create_date....del_flag等字段）， 然后生成代码，发现删除数据后，del_flag的值为1了， 但是在“已删除列表”却没有数据

 
解决方法：
修改src/main/resources/mappings/xxxDao.xml 

找到

```java
<select id="findList" resultType="SerLabels">
```

修改里面的

```java

<where>
			a.del_flag = #{DEL_FLAG_NORMAL}

```

为

```java

<where>
			a.del_flag = #{delFlag}

```