yonge 3 年之前
父節點
當前提交
6a5cb82005
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      mec-biz/src/main/resources/config/mybatis/SysSuggestionMapper.xml

+ 2 - 3
mec-biz/src/main/resources/config/mybatis/SysSuggestionMapper.xml

@@ -21,12 +21,12 @@
 
 
     <!-- 根据主键查询一条记录 -->
     <!-- 根据主键查询一条记录 -->
     <select id="get" resultMap="SysSuggestion">
     <select id="get" resultMap="SysSuggestion">
-		SELECT * FROM sys_suggestion WHERE id_ = #{id} and tenant_id_ = #{tenantId}
+		SELECT * FROM sys_suggestion WHERE id_ = #{id}
 	</select>
 	</select>
 
 
     <!-- 全查询 -->
     <!-- 全查询 -->
     <select id="findAll" resultMap="SysSuggestion">
     <select id="findAll" resultMap="SysSuggestion">
-		SELECT * FROM sys_suggestion where tenant_id_ = #{tenantId} ORDER BY id_
+		SELECT * FROM sys_suggestion ORDER BY id_
 	</select>
 	</select>
 
 
     <!-- 向数据库增加一条记录 -->
     <!-- 向数据库增加一条记录 -->
@@ -72,7 +72,6 @@
 
 
     <sql id="queryCondition">
     <sql id="queryCondition">
         <where>
         <where>
-            ss.tenant_id_ = #{tenantId}
             <if test="type!=null">
             <if test="type!=null">
                 AND ss.type_ = #{type, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
                 AND ss.type_ = #{type, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
             </if>
             </if>