1.引入jar包 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.10</version> </dependency> <dependency> <groupId> ...
分类:
其他好文 时间:
2020-07-21 22:48:36
阅读次数:
83
admin是django强大功能之一,它能共从数据库中读取数据,呈现在页面中,进行管理。默认情况下,它的功能已经非常强大,如果你不需要复杂的功能,它已经够用,但是有时候,一些特殊的功能还需要定制,比如搜索功能,下面这一系列文章就逐步深入介绍如何定制适合自己的admin应用。 执行语句中增加:pyth ...
分类:
编程语言 时间:
2020-07-21 10:04:05
阅读次数:
83
bootstrap table字段太长,显示省略号,鼠标停留显示文字 {field: 'content_two', title: __('content_two') , formatter : function(value, row, index, field){ return "<span sty ...
分类:
其他好文 时间:
2020-07-20 15:45:03
阅读次数:
142
使用了关联查询,两张表有相同的字段,所以说取值含糊不清; 使用别名.列名解决; 如 a.description ...
分类:
数据库 时间:
2020-07-20 15:20:07
阅读次数:
85
空间一记录结构主要为以下几个字段: .矢量记录参数字段VRID(Vector Record Identifier field) .矢量一记录属性字段ATTV(Vector Record Attribute field) .矢量记录指针控制字段VRPC ( Vector Record Pointer ...
分类:
其他好文 时间:
2020-07-20 10:18:42
阅读次数:
66
本篇参考: https://salesforcediaries.com/2020/02/24/how-to-override-lightning-input-field-label-in-lightning-web-component/ https://developer.salesforce.co ...
分类:
其他好文 时间:
2020-07-18 22:41:51
阅读次数:
75
反射操作注解获得注解信息 练习:ORM 代码练习 import java.lang.annotation.*; import java.lang.reflect.Field; //练习反射操作注解 public class Test12 { public static void main(Strin ...
分类:
其他好文 时间:
2020-07-18 00:40:31
阅读次数:
78
BootStrap有两种容器,.container和.container-fluid,一般情况下,如果内容比较多占据满屏直接用.container-fluid,不需要解决居中问题; .container根据不同屏幕大小宽度不同,内容居中显示,如果内容能占据整个.container的宽度也不需要解决居 ...
分类:
其他好文 时间:
2020-07-17 13:56:40
阅读次数:
61
json转换成的实体类加注解@JsonIgnoreProperties(ignoreUnknown = true),注意这是类级别的注解。 @JsonIgnore注解用来忽略某些字段,可以用在Field或者Getter方法上,用在Setter方法时,和Filed效果一样。这个注解只能用在POJO存在 ...
分类:
Web程序 时间:
2020-07-17 09:23:38
阅读次数:
102
List<int> lstHashCode = (from d in dtEquipInfo.AsEnumerable() select d.Field<int>("hashcode")).Distinct().ToList(); 其中dtEquipInfo是一个带有hashcode列的DataTa ...
分类:
其他好文 时间:
2020-07-16 22:00:28
阅读次数:
114