Metrics
0
Watch 2.6k Star 5k Fork 2.5k

ThinkGem / JeeSite 4.xJavaAGPL-3.0

查询条件输入下划线,模糊查询"_",怎么做呀

Open
Up  Created at

条件只输入"_"。
sql是着这样的:

and u.realName like
CONCAT('%', #{realName}, '%')

2339039_bei3ke total 2 participants

Comments (1)

2339039_bei3ke
bei3ke 2019-02-18 09:44

类似%写不行吗?

Sign in and comment

Assignee
Labels
Not set
Project
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search