使用React简短代码动态生成栅格布局 作为 TerminalMACS 的一个子进程模块 React Web管理端,使用Ant Design Pro作为框架。 本文应用到的知识 1.样式文件less中方法的使用 2.for循环创建按钮和栅格布局(flex布局) 1. 最终效果及源码链接 作为前端新手 ...
分类:
其他好文 时间:
2020-05-24 09:15:45
阅读次数:
52
package com.xxx.bean.entity; import com.xxx.base.common.exception.BaseException; import org.springframework.cglib.beans.BeanGenerator; import org.spri ...
分类:
编程语言 时间:
2020-05-22 17:35:13
阅读次数:
66
当使用layui的验证规则,比如 手机, 此时,该输入框可为空, 表单就提交不了。 可自定义验证规则, 即为空时,不校验, 不为空时, 要校验。 自定义的规则如下: 使用方法: ...
分类:
其他好文 时间:
2020-05-21 22:31:06
阅读次数:
81
下载按钮:<buttonclass="layui-btnlayui-btn-sm"data-type="downTemplate">模板下载</button>对应方法:downTemplate:function(){window.open(ctx+"/download/template/customer");},java控制层:importorg.apache.common
分类:
编程语言 时间:
2020-05-20 09:21:18
阅读次数:
54
org.hibernate.AnnotationException: No identifier specified for entity: com.along.entity.emp 你是否也像我一样,因为注释的包错误,而找了近两个小时的程序问题呢 原因: 没有给实体类ID 解决方案: 加入@Id注 ...
分类:
Web程序 时间:
2020-05-19 20:47:44
阅读次数:
59
System.Web.Mvc.ViewPage<dynamic>//这句不清楚到底有没有用,反正我没用到 public ActionResult Index() { IDictionary<string, object> entity = new Dictionary<string, object> ...
分类:
Web程序 时间:
2020-05-19 15:07:06
阅读次数:
78
Optimally Configuring Entity Framework Core Lets talk about configuring your Entity Framework Core DbContext for a moment. There are several options y ...
分类:
其他好文 时间:
2020-05-19 12:52:31
阅读次数:
104
添加命名空间System.Runtime.Serialization; /* * 系统名称 :工业自动化系统 * 子系统名称:工业相机识码子系统 * 功能模块名:Entity模板 * 类名 :Emodel * 概要 :Entity标准模板 * * 改版履历 * Ver 日期 单位?姓名 概要 * 1 ...
分类:
其他好文 时间:
2020-05-19 01:11:16
阅读次数:
51
<!-- 自动生成代码配置根据数据表自动生成dao,mapper,entity层 1.配置依赖的jar包 mybatis-generator-core 2.配置文件 3.配置插件,在pom中 4.执行插件生成代码,在右边栏maven中-->1.在pom文件中配置需要的jar包 <!--mybatis ...
分类:
其他好文 时间:
2020-05-19 00:47:55
阅读次数:
63
一、简介 1.1 MyBatis Generator介绍 MyBatis Generator 是MyBatis 官方出品的一款,用来自动生成MyBatis的 mapper、dao、entity 的框架,让我们省去规律性最强的一部分最基础的代码编写。 1.2 MyBatis Generator使用 M ...
分类:
编程语言 时间:
2020-05-18 22:23:23
阅读次数:
53