摘要: 作用: 1、可以把依赖打入jar包,然后直接使用这个jar包,从而不用担心依赖问题 2、通过设置MainClass,创建一个可以执行的jar包 3、Java工程经常会遇到第三方 Jar 包冲突,使用 maven shade plugin 可以解决 jar 或类的多版本冲突。 maven-shade- 阅读全文
posted @ 2018-01-30 19:00 脚本小娃子 阅读(2675) 评论(0) 推荐(0) 编辑
摘要: #按用户名摸糊查询trans_details.query.join(Uses).filter(Users.username.like('%xx%'))#select xxx from trans_details inner join trans_details on users.id=trans_d 阅读全文
posted @ 2018-01-30 17:02 脚本小娃子 阅读(14442) 评论(0) 推荐(2) 编辑
摘要: SQLAlchemy打开SQL语句方法如下,echo=true将开启该功能: engine = create_engine("<db_rul>", echo=True) Flask-SQLAlchemy打开SQL方法如下: app.config["SQLALCHEMY_ECHO"] = True 阅读全文
posted @ 2018-01-30 16:43 脚本小娃子 阅读(6292) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/35164211 http://www.importnew.com/16173.html http://blog.csdn.net/justloveyou_/article/details/71189093 https://blog.cs 阅读全文
posted @ 2018-01-30 11:53 脚本小娃子 阅读(154) 评论(0) 推荐(0) 编辑