- 博客(107)
- 资源 (8)
- 收藏
- 关注
原创 js 渲染上传图片
function previewImage(fileList,imgStyle,preview) { for (var i = 0; i < fileList.length; i++) { var file = fileList[i]; var imageType = new RegExp("^image\/"); if (!imageType.test(file.type)) continue;
2022-05-10 11:38:47
870
原创 idea 日志打印sql
#启用本地 mybatis-log 插件,打印sql日志mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
2022-05-04 10:20:40
1548
原创 windows bat 脚本 启动
@echo offSET PRO_HOME=E:\platform-dev cd %PRO_HOME%\wxt-vocall mvn clean install -Dmaven.test.skip=truecd %PRO_HOME%\wxt-usercall mvn clean install -Dmaven.test.skip=truecd %PRO_HOME%\wxt-product\wxt-product-biz call mvn clean install -Dmaven
2022-03-29 15:37:57
1424
1
原创 简单下载哈
@GetMapping("/downFile") public ResponseEntity<byte[]> downFile(HttpServletRequest request, @RequestParam(required = false, defaultValue = "") String value) throws IOException { ClassPathResource classPathResource = new ClassPathResou...
2022-02-15 18:02:06
140
原创 jinkens 远程shell脚本
start.sh 脚本port=8080pid=$(netstat -nlp | grep :$port | awk '{print $7}' | awk -F"/" '{print $1}');if [ -n "$pid" ]; then kill -9 $pid;fi#一定要加这一句,否则会报 nohup: failed to run command `java': No such file or directory错误source /etc/profile;nohup ja
2022-01-13 14:44:00
195
原创 spring data jpa基本查询
PageRequest pageRequest = PageRequest.of(0, 5); String name = null; List<Integer> saleList = new ArrayList<>();// saleList.add(10);// saleList.add(6); List<Long> categoryList = new ArrayList<>(); categoryList.add(12l)..
2021-12-14 21:59:19
252
原创 SQL和 Bean 互转通用工具类
package com.fresh.utils;import org.apache.commons.lang3.StringUtils;import java.io.File;import java.lang.reflect.Field;import java.util.*;public class BeanSQLUtils { static Map<String, String> columnMap = null; static Map<String,
2021-11-16 11:56:35
1778
原创 solr 相关操作
@ApiOperation(value = "搜索") @GetMapping("search") @ForceOpenApi public JsonResultModel<Object> search( @RequestParam(required = false) String goodsId, @RequestParam(required = false) String goodsName, .
2021-11-12 16:13:16
289
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人