修改导入模板文件名称.
This commit is contained in:
@@ -25,5 +25,7 @@ public interface SysMenuDao extends CrudDao<SysMenu>{
|
||||
Integer getServiceId(@Param("functionId")Integer functionId, @Param("action")Integer action);
|
||||
|
||||
List<SysMenu> findAllCfgList(@Param("policiesMenuId")String policiesMenuId);
|
||||
|
||||
String getMenuCodeByFunctionId(@Param("functionId")Integer functionId, @Param("parentId")String id);
|
||||
|
||||
}
|
||||
@@ -218,4 +218,13 @@
|
||||
WHERE
|
||||
s.function_id = #{functionId} AND s.action = #{action} AND s.is_valid = 1
|
||||
</select>
|
||||
|
||||
<select id="getMenuCodeByFunctionId" resultType="java.lang.String">
|
||||
SELECT
|
||||
m.code
|
||||
FROM
|
||||
sys_menu m
|
||||
WHERE
|
||||
m.function_id = #{functionId} AND m.parent_ids LIKE concat(concat('%',#{parentId,jdbcType=VARCHAR}),'%') AND del_flag = 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user