306 Star 866 Fork 262

闲.大赋 / beetl2.0

词法错误 token_error

Backlog
18017881747  Opened this issue

碰到一个词法错误 看不出来为啥
默认的占位符没动过
SQL Script Error:>>03:05:31:词法错误(TOKEN_ERROR):#j 位于0行 资源:
sql如下:
select fulfill_sub_order_id,fulfill_order_id from xxx_table where 1=1
@if(!isEmpty(fulfill_sub_order_id)) {
and fulfill_sub_order_id in (#join(fulfill_sub_order_id)#)
@}
@if(!isEmpty(fulfill_order_id)) {
and fulfill_order_id = #fulfill_order_id#
@}
@if(!isEmpty(latest_arrive_time)) {
and latest_arrive_time > #latest_arrive_time#
@}

看样子好像是第3行的问题,在线求解答

29 xiandafu 1578913709 total 2 participants

Comments (1)

29 xiandafu 1578913709
闲.大赋 2020-09-14 11:21 owner

你这个在线没有用,我天天看,但gitee会有延迟,所以我现在才看到

应该还有具体错误栈异常,能贴出来么?

还有,你用的beetlsql版本更新一下看看呢,我本地并没有重现这个错误?

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/xiandafu/beetl2.0.git
git@gitee.com:xiandafu/beetl2.0.git
xiandafu
beetl2.0
beetl2.0

Search