changhaoning 1 год назад
Родитель
Сommit
97de3c35ba
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      src/main/java/com/dk/mdm/mapper/common/CommonMapper.xml

+ 9 - 0
src/main/java/com/dk/mdm/mapper/common/CommonMapper.xml

@@ -1553,6 +1553,9 @@
         <if test="menuName != null">
             AND appm.menu_name = #{menuName}
         </if>
+        <if test="appCode != null">
+            AND appm.app_code = #{appCode}
+        </if>
     </select>
 
     <select id="countFuncitonByPage" resultType="Long">
@@ -1563,6 +1566,12 @@
     on pappm.menu_uuid = appm.parent_uuid
     where appm.flg_valid
       and appm.menu_type = 1
+        <if test="menuName != null">
+            AND appm.menu_name = #{menuName}
+        </if>
+        <if test="appCode != null">
+            AND appm.app_code = #{appCode}
+        </if>
     </select>
 
     <!--获取公司-->