- 博客(17)
- 收藏
- 关注
原创 图片
CREATE TABLE common_file (id int(11) NOT NULL AUTO_INCREMENT,file_type varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT ‘文件类型’,file_size int(11) DEFAULT NULL COMMENT ‘文件大小’,source_file_name varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL
2020-07-27 13:29:56
126
原创 nigux配置参考
server {listen 8080;server_name 127.0.0.1;location ~/api/ {rewrite /api/(.*) /$1 break; proxy_pass http://127.0.0.1:8000; proxy_set_header Invoke-type ajax; proxy_set_header X-Forwarded-For $remote_addr; proxy_s
2020-07-07 18:08:23
516
原创 保存用户和创建时间
public boolean save(T entity) {BladeUser user = AuthUtil.getUser();if (user != null) {entity.setCreateUser(user.getUserId());entity.setCreateDept((Long)Func.toLongList(user.getDeptId()).iterator().next());entity.setUpdateUser(user.getUserId());}
2020-07-06 10:01:03
357
原创 错误状态枚举
//// Source code recreated from a .class file by IntelliJ IDEA// (powered by Fernflower decompiler)//package org.springframework.http;import org.springframework.lang.Nullable;public enum HttpStatus {CONTINUE(100, “Continue”),SWITCHING_PROTOCOLS(101
2020-07-03 14:38:48
1061
1
原创 ResponseError错误提示实体类
//// Source code recreated from a .class file by IntelliJ IDEA// (powered by Fernflower decompiler)//package com.nustant.module.common.api;import java.util.HashMap;import org.springframework.http.HttpStatus;import org.springframework.http.ResponseEn
2020-07-03 13:26:35
3675
原创 定义枚举类
public enum IsNotEnum {IS(1, "是"), NOT(0, "否");private int code;private String name;IsNotEnum(Integer code, String name) { this.code = code; this.name = name;}public int getCode() { return code;}public void setCode(int code) {
2020-07-02 10:19:11
181
原创 建表sql
CREATE TABLE credit_manage_rule (id int(11) NOT NULL AUTO_INCREMENT,name varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT ‘条例名称’,value int(11) DEFAULT NULL COMMENT ‘值’,start_date date DEFAULT NULL COMMENT ‘开始时间’,end_date date DEFAULT NULL C
2020-07-02 10:17:56
197
转载 springBoot文件上传
/*** 上传文件* @param file* @param filePath* @param fileName* @return*/public static boolean upload(byte[] file, String filePath, String fileName) throws Exception{File targetFile = new File(filePath + fileName);if (targetFile != null && !targ
2020-06-12 14:18:41
105
转载 canvas绘制线条
canvas绘图详解笔记之线条及线条属性https://www.cnblogs.com/jr1993/p/4687877.html
2020-05-21 13:37:06
161
转载 Nginx实现tomcat集群进行负载均衡
Nginx实现tomcat集群进行负载均衡https://blog.youkuaiyun.com/u013452335/article/details/94602678
2020-05-11 17:24:01
697
原创 js定时器
componentDidMount(){const {data, length} = this.statelet i = 1//异步动态加入数据let interval = setInterval(() => {if(i<= length){data.push({key: String(i),order: String(i),name: ‘张三’,age: 13,...
2020-04-14 09:53:33
98
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人