|
@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="contactPhone != null and contactPhone != ''"> and contact_phone = #{contactPhone}</if>
|
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
<if test="createUserId != null "> and create_user_id = #{createUserId}</if>
|
|
|
- <if test="forestType != null "> and forest_type = #{forestType}</if>
|
|
|
+ <if test="forestType != null and forestType != ''"> and forest_type = #{forestType}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|