Browse Source

字典bug修改

24282 2 years ago
parent
commit
3cf314d49d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      hx-tenant/src/main/resources/mapper/dict/DictTenantTypeMapper.xml

+ 2 - 1
hx-tenant/src/main/resources/mapper/dict/DictTenantTypeMapper.xml

@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.fjhx.tenant.mapper.dict.DictTenantTypeMapper">
+
     <select id="getPage" resultType="com.fjhx.tenant.entity.dict.vo.DictTenantTypeVo">
 
         <choose>
@@ -55,7 +56,7 @@
     </sql>
 
     <sql id="getPageWhere">
-        <if test="dto.status neq null and dto.status neq ''">
+        <if test="dto.status neq null">
             and t.status = #{dto.status}
         </if>
         <if test="dto.keyword neq null and dto.keyword neq ''">