上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页

2022年9月2日

oracle 分组 聚合数据 单字段聚合问题

摘要: SELECT -- max 加这个只是为了让字段不在分组里写 max(id) id, max(stockorg_name) stockorg_name, max(vbillcode) vbillcode, max(source_no) source_no, -- newvbillcode 这个字段做 阅读全文

posted @ 2022-09-02 17:09 何苦-> 阅读(148) 评论(0) 推荐(0)

2022年8月26日

Parameter 'MP_OPTLOCK_VERSION_ORIGINAL' not found. Available parameters are [param1, et]

摘要: 我用的是3.0.5的mybatis-plus版本 但是我用3.4.0的OptimisticLockerInterceptor 会显示已过时但是还能用 按照乐观锁的步骤 模型上加属性 // @TableField(fill = FieldFill.INSERT) @Version private in 阅读全文

posted @ 2022-08-26 15:44 何苦-> 阅读(2412) 评论(0) 推荐(0)

2022年8月24日

微擎 密码找回工具

该文被密码保护。 阅读全文

posted @ 2022-08-24 16:00 何苦-> 阅读(0) 评论(0) 推荐(0)

mysql php js 经纬度 转换 查询

摘要: 坐标系介绍 地球坐标 (WGS84) WGS-84:是国际标准,GPS坐标(Google Earth使用、或者GPS模块) 国际标准,从专业GPS 设备中取出的数据的坐标系 国际地图提供商使用的坐标系 火星坐标 (GCJ-02)也叫国测局坐标系 GCJ-02:中国坐标偏移标准,Google Map、 阅读全文

posted @ 2022-08-24 15:54 何苦-> 阅读(193) 评论(0) 推荐(0)

2022年8月23日

HV000030: No validator could be found for constraint 'javax.validation.constraints.Size' validating

摘要: 原因就是NotEmpty 和NotNull的区别 使用hibernate validator出现上面的错误, 需要 注意 @NotNull 和 @NotEmpty 和@NotBlank 区别 @NotEmpty 用在集合类上面 @NotBlank 用在String上面 @NotNull 用在基本类型 阅读全文

posted @ 2022-08-23 16:59 何苦-> 阅读(934) 评论(0) 推荐(0)

2022年8月22日

java将list转为逗号隔开字符串

摘要: 1.只要不为空,就在后面添加逗号,最后再用subString()函数截取,去掉最后一位的逗号 List<String> test = new ArrayList<>(); String testStrings = ""; test.add("test1"); test.add("test2"); t 阅读全文

posted @ 2022-08-22 14:53 何苦-> 阅读(16191) 评论(0) 推荐(0)

@FeignClient服务之间调用

摘要: 需要使用 feign 自己的 httpclient 发送协议,引入如下依赖,即可实现get请求方式传递对象 <!-- openfeign --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring- 阅读全文

posted @ 2022-08-22 14:20 何苦-> 阅读(5842) 评论(0) 推荐(0)

Java中FeignClient发送请求时参数的传递

摘要: 首先说说FeignClient发送请求时如何传递header中的值 创建配置类在使用RequestTemplate对象之前对header里面的内容进行赋值,也就是需要传递的请求头内容,具体如下: package com.dimp.mobile.report.feign.config; import 阅读全文

posted @ 2022-08-22 14:10 何苦-> 阅读(718) 评论(0) 推荐(0)

2022年8月11日

ThinkPHP 5.0 安装vendor 失败原因

摘要: 当前环境 出错信息 In RootPackageLoader.php line 152: [RuntimeException] Root package 'topthink/think' cannot require itself in its composer.json Did you accid 阅读全文

posted @ 2022-08-11 18:47 何苦-> 阅读(546) 评论(0) 推荐(0)

php (nginx,apache) 常用配置

摘要: 前台html服务器,测试的时候不加缓存 server { listen 82; root D:/phpStudy/WWW/xxx; index index.html index.htm; location ~ .*\.(css|js|swf|htm|html)$ { add_header Cache 阅读全文

posted @ 2022-08-11 13:47 何苦-> 阅读(108) 评论(0) 推荐(0)

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 41 下一页

导航