查: filter 支持很多的过滤条件,我们来看下: contains 包含,相当于sql的like条件 1 Entry.objects.get(headline__contains='Lennon') SQL equivalent: 1 SELECT ... WHERE headline LIKE ...
分类:
数据库 时间:
2020-03-26 17:54:57
阅读次数:
114
一、Java中的hashCode和equals 1、关于hashCode hashCode的存在主要是用于查找的快捷性,如Hashtable,HashMap等,hashCode是用来在散列存储结构中确定对象的存储地址的 如果两个对象相同,就是适用于equals(java.lang.Object) 方 ...
分类:
编程语言 时间:
2020-03-26 01:41:32
阅读次数:
89
1 // Map key值不能相同,value值可以相同 2 // HashMap中的Entry对象是无序排列的 3 4 // 实例化1 5 Map<String, String> maps = new HashMap<>(); 6 // 实例化2 7 Map<String, String> ent ...
分类:
编程语言 时间:
2020-03-26 01:09:37
阅读次数:
78
Windows 10 加入網域後連線到 WSUS 碰到的錯誤 0x8024401f 跟 0x8024401c 在 CMD (管理员权限): net stop wuauservreg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windo ...
分类:
其他好文 时间:
2020-03-24 14:32:25
阅读次数:
129
bpmn-js-properties-panel 的执行人和候选人与候选组输入框生成的代码生成文件 node_modules/bpmn-js-properties-panel/lib/factory/TextInputEntryFactory.js 在图示后面添加针对执行人,候选人与候选组可以通过 ...
分类:
Web程序 时间:
2020-03-24 12:47:34
阅读次数:
698
smartforms中的行间距是在style中的段落格式(paragraph format)设置的,下图中的line space就是行间距。 然后在smartform中指定相关的段落格式即可。 以上。 ...
分类:
其他好文 时间:
2020-03-23 22:21:14
阅读次数:
143
在smartforms中模板(template)中可以设置行高度,如下: 但是在表(table)中却看不到这个高度设定, 表的行高度是通过样式(style)中的段落空格设置的,如下: 找到段落格式,*号表示用的是默认的段落格式,默认在段落格式在样式的header data中, 段落格式中的行间距(l ...
分类:
其他好文 时间:
2020-03-23 22:08:52
阅读次数:
125
// 2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "windows.h" #include "iostream.h" #include "stdlib.h" ...
分类:
其他好文 时间:
2020-03-23 09:59:35
阅读次数:
66
// dll.cpp : Defines the entry point for the DLL application. // #include "stdafx.h" #include "iostream.h" _declspec(dllexport) int add(int a,int b) { ...
分类:
其他好文 时间:
2020-03-23 09:51:35
阅读次数:
105
Windows 提供了GetVersionEx 函数来返回当前操作系统的版本信息 #include "stdafx.h" #include "windows.h" #include "iostream.h" int main(int argc, char* argv[]) { OSVERSIONIN ...
分类:
其他好文 时间:
2020-03-23 09:36:19
阅读次数:
65