Comments (15)
SELECT
FROM sys_role_info_t
and role_name like #{name}
name==""时,生成的sql 为
select
FROM sys_role_info_t where
哪个版本,具体代码贴一下
from gomybatis.
v6.2.3
from gomybatis.
v6.2.3
用最新版本再试试
from gomybatis.
我用最新版本6.3.2一样存在这个bug
and state=#{state}
and title like #{name}
当所有条件都不满足时,不应该生成一个where
java:
where标签的作用:如果该标签包含的元素中有返回值,就插入一个where;如果where后面的字符串是以and或or开头的,就将它们剔除。
from gomybatis.
我用最新版本6.3.2一样存在这个bug
and state=#{state}
and title like #{name}
当所有条件都不满足时,不应该生成一个where
java:
where标签的作用:如果该标签包含的元素中有返回值,就插入一个where;如果where后面的字符串是以and或or开头的,就将它们剔除。
v6.3.3版本修复了这个问题,当where标签body没有条件满足(也就是包含的sql是空字符串)的时候,where关键字 不写入
from gomybatis.
新bug又来了
error == invalid character 'f' in exponent of numeric literal
兄弟,你要多测试呀,不然我们会进坑的
from gomybatis.
你应该修改到什么地方了,原来的程序都有问题了
error == invalid character 'w' after object key:value pair
from gomybatis.
你应该修改到什么地方了,原来的程序都有问题了
error == invalid character 'w' after object key:value pair
json解码有bug,已经修复修复在了v6.3.5
from gomybatis.
6.3.5 还是存在bug
error == invalid character 'f' in exponent of numeric literal
大兄弟,你测试了么?
from gomybatis.
6.3.5 还是存在bug
error == invalid character 'f' in exponent of numeric literal大兄弟,你测试了么?
测试用例跑完才发布的,你这个错误应该检查一下,你自己的代码
很明显,这个‘f’是你自己写的吧
from gomybatis.
from gomybatis.
你再检查一下程序,这个应该还是版本有bug引起的,我换回旧版本就没这个问题
…
---Original--- From: "zxj"<[email protected]> Date: Mon, Jun 29, 2020 20:58 PM To: "zhuxiujia/GoMybatis"<[email protected]>; Cc: "wzhsh90"<[email protected]>;"Author"<[email protected]>; Subject: Re: [zhuxiujia/GoMybatis] <where> bug (#58) 6.3.5 还是存在bug error == invalid character 'f' in exponent of numeric literal 大兄弟,你测试了么? 测试用例跑完才发布的,你这个错误应该检查一下,代码 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
把报错位置的代码贴上来哈,example包里面的代码目前一切正常
from gomybatis.
from gomybatis.
11:44:54 app | 2020/06/30 11:44:54 [GoMybatis] [90152de2-e746-42d6-9257-78702eec8e7c] Query ==> select count(*)
from notice_t
11:44:54 app | 2020/06/30 11:44:54 [GoMybatis] [90152de2-e746-42d6-9257-78702eec8e7c] Args ==> []
2020/06/30 11:44:54 [GoMybatis] [90152de2-e746-42d6-9257-78702eec8e7c] Close session
2020/06/30 11:44:54 [GoMybatis] [90152de2-e746-42d6-9257-78702eec8e7c] ReturnRows <== 1
2020/06/30 11:44:54 [GoMybatis] [85bdf2ea-1753-4607-8421-de94aec6a2c6] Query ==> select id,title,content,create_time ,state ,show
_seq ,browser_cnt,end_time from notice_t order by create_time desc limit ? , ?
2020/06/30 11:44:54 [GoMybatis] [85bdf2ea-1753-4607-8421-de94aec6a2c6] Args ==> [0,20]
2020/06/30 11:44:54 [GoMybatis] [85bdf2ea-1753-4607-8421-de94aec6a2c6] ReturnRows <== 0
2020/06/30 11:44:54 [GoMybatis] [85bdf2ea-1753-4607-8421-de94aec6a2c6] error == invalid character 'f' in exponent of numeric liter
al
2020/06/30 11:44:54 [GoMybatis] [85bdf2ea-1753-4607-8421-de94aec6a2c6] Close session
from gomybatis.
15215109339 我微信,加微信处理吧
from gomybatis.
Related Issues (20)
- 关于order by的问题 HOT 6
- select sql resultMap 不起作用 HOT 2
- 在使用postgres数据时出现错 HOT 11
- Error 1390: Prepared stat ement contains too many placeholders HOT 4
- 对类似rollback这样的功能怎么通过框架实现呢? HOT 1
- mapper文件中result不支持property设置? HOT 1
- 有一对多映射功能吗? HOT 20
- 多数据源如何使用 HOT 1
- 支持1对n映射了吗
- Insert方法是InsertTemplete还是InsertTemplate?
- Insert方法是InsertTemplete还是InsertTemplate?
- sql中的 #{key}获取不到
- 好久不更新了,有点不敢用啊 HOT 4
- bug
- 作者你好,打扰了 HOT 3
- 你好,数据库中null值如何解决?
- 分页插件 HOT 2
- 请问大神,使用struct传参,xml中的动态表达式能获取匿名继承的属性吗?好像不能取到 HOT 2
- 作者你好,有没有计划加入泛型的使用,mapper 和 service ,就和java的 mybatisplus 通过继承的方式一样 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gomybatis.