zouxuan 5 年之前
父節點
當前提交
975a83528f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/SubjectMapper.xml

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

@@ -149,10 +149,10 @@
     <sql id="querySubPageSql">
         <where>
             <if test="parentId != null">
-                parent_subject_id_ = #{parentId}
+                AND parent_subject_id_ = #{parentId}
             </if>
             <if test="tenantId != null">
-                tenant_id_ = #{tenantId}
+                AND tenant_id_ = #{tenantId}
             </if>
             <if test="delFlag != null">
                 AND del_flag_ = #{delFlag,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}