3.5K Unstar Star 9.8K Fork 4.1K

卓源软件 / JeeSite 4.2

请教一下,mybatis的mapper.xml里怎么定义全局变量,或者可以读取application.yml的变量

Open
hugo_K  Opened this issue

该问题是怎么引起的?

重现步骤

报错信息

6732 thinkgem 1578914432 total 2 participants

Comments (1)

6732 thinkgem 1578914432
卓源软件 2020-10-18 23:30 owner

这样写可以:${global.getConfig(key)}

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.2

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542