bluesky8318 / commondao Goto Github PK
View Code? Open in Web Editor NEWCommonDao
License: Apache License 2.0
CommonDao
License: Apache License 2.0
mysql 分页查询,第一页没有第一条数据,第三页条数翻倍
不支持不添加ORMColumn方式的orm查询
这个功能还是加上比较方便
commonDao目前不支持分页查询多字段而且如果用分页查询必须指定排序字段。
修改建议:
分页查询可以不指定排序字段,分页查询可以多字段排序
发现排序字段内容相同的话,limit的计算方式有点搞不懂
修改意见:
支持多字段排序(现在只能支持单字段排序,或者多字段排序,最后一个可设置升降序)
defaultCommonDao的623行,需要判断成功状态,当前,MySQL的-2表示成功,而不是1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.