1什么是ORM问题解决缺点ORM对象关系映射关系映射关系分析步骤首先它围绕着这MySQL做的问题1 表内是有字段类型的问题2,如果多一点的类型怎么办?问题3.假设100张表就需要写100个__init__问题4:每张表的字段名与字段数量不同,导致没法直接继承Models父类问题4 字典的取/存值方式 ...
分类:
其他好文 时间:
2019-10-01 09:28:33
阅读次数:
114
一、使用限定注解;二、自定义限定注解;三、自定义bean的生命周期; ...
分类:
编程语言 时间:
2019-09-29 23:49:11
阅读次数:
118
Flask路由系统细分 从这个简单的代码入口,来剖析一下路由 route():就是一个加在index()上的装饰器 python def route(self, rule, options): rule:匹配规则,options参数字典 def decorator(f): endpoint = op ...
分类:
其他好文 时间:
2019-09-28 20:00:27
阅读次数:
107
ajax使用jsonp实现跨域 控制层的处理: 工具类: ...
分类:
Web程序 时间:
2019-09-27 21:08:39
阅读次数:
88
一.ssm+jsp 使用el表达式要先加 <%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %> db.properites文件 二.spring.xml (applicationCo ...
分类:
其他好文 时间:
2019-09-27 15:06:13
阅读次数:
86
前台代码部分 //导出按钮<a class="btn btn-app" onclick="exportExcel(${applyParticipants.get(0).cid})"><i class="fa fa-edit"></i>导出Excel</a> //js代码部分(就仅仅做了一个跳转)<s ...
分类:
其他好文 时间:
2019-09-26 14:39:21
阅读次数:
80
1.建立索引PUT /index_trans_detail 2.建立mappingPOST /index_trans_detail/type_trans_detail/_mapping{ "type_trans_detail": { "properties": { "id": { "type": " ...
分类:
移动开发 时间:
2019-09-26 10:09:32
阅读次数:
489
"文章导航 readme" 一、配置Spring Boot热部署 技术的发展总是因为人们想偷懒的心理,如果我们不想每次修改了代码,都必须重启一下服务器,并重新运行代码。那么可以配置一下热部署。有了它之后,修改了代码只需要重新build一下,就可以看到效 ...
分类:
编程语言 时间:
2019-09-26 09:59:46
阅读次数:
78
0.查看集群是否健康GET /_cluster/health 1.查询所有索引GET /_cat/indices?v 2.查询单个索引的映射GET /index_trans_detail/_mapping 3.删除indexDELETE /index_trans_detail,index_two 4 ...
分类:
其他好文 时间:
2019-09-26 09:15:35
阅读次数:
101
java.lang.IllegalArgumentException: mapping source must be pairs of fieldnames and properties definition. 从es官网找到的 ...
分类:
移动开发 时间:
2019-09-25 16:17:44
阅读次数:
555