- 博客(104)
- 资源 (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
855
原创 idea 日志打印sql
#启用本地 mybatis-log 插件,打印sql日志mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
2022-05-04 10:20:40
1534
原创 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
1412
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
136
原创 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
190
原创 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
242
原创 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
1764
原创 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
280
转载 2021-10-28
windows 下安装 hadoophttps://blog.youkuaiyun.com/qinlan1994/article/details/90413243?ops_request_misc=&request_id=&biz_id=102&utm_term=windows%20%E4%B8%8B%E5%AE%89%E8%A3%85hadoop&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduwe
2021-10-28 17:07:48
145
原创 selenium 爬取数据案例
依赖 <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-chrome-driver</artifactId> <version>3.141.59</version> </dependency>
2021-10-13 14:43:39
207
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人