Giter Site home page Giter Site logo

pr文件第三方jar包怎么合并 about poli HOT 3 OPEN

suxg001 avatar suxg001 commented on May 8, 2024
pr文件第三方jar包怎么合并

from poli.

Comments (3)

shzlw avatar shzlw commented on May 8, 2024

谢谢PR,第三方的包如果是源码里要用的,那只能改源码了。

JDBC jar包没有被加到pom里的原因是

  1. jdbc driver有license的问题
  2. 我不知道用户会用什么数据库,不可能把所有的数据库driver都加进来。所以做成driver放在jdbc-drivers下就可以在运行时加载了。用户自己选择。

PR里你还修改了源码中修改了logback的配置,这个其实我也是想让有需求的用户,可以在运行时外部加载自己需要的配置,这样就可以覆盖源码里的了。--logging.config=logback.xml

最后你commit的application.properties里好像暴露数据库的连接信息了。

from poli.

suxg001 avatar suxg001 commented on May 8, 2024

我代码里实现了默认为全部查询 ,(and or) 这些语句用# 来分割sql语句,这样默认就查全部,当and 后的值有内容时候,即可走条件查询。可参考一下,其实咱们这个属于工具类型,可以走产品形态,就是认为使用者只关心业务sql即可,其他我们都帮他们实现

from poli.

suxg001 avatar suxg001 commented on May 8, 2024

日志包我用了阿里巴巴内部未开源的包,实现了多线程ID并行切面日志。jar包在doc 源里有jar文件,后续我把这个打个子工程提交一下。 对了还有一个问题就是 图形报表我看查询条件都是以value的内容来直接查询的,建议改为id查询,因为数据库一般设计为多表关联,直接用pid查询是不是会更方便一些。
当前代码里这种查询在相同值的情况下有多个值会出现,并且查询性能上也无法走索引,请参考,谢谢

from poli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.