随笔分类 -  Java

组件和一些笔记
摘要:@Controller public class DelayTaskUtil { private static final ExecutorService pl = Executors.newSingleThreadExecutor();; private static final DelayQue 阅读全文
posted @ 2024-12-02 11:44 Li_ll 阅读(4) 评论(0) 推荐(0) 编辑
摘要:xml <insert id="addMain" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.hopedove.coreserver.vo.vpm.ForeignTradeOutboundOrd 阅读全文
posted @ 2024-09-04 18:03 Li_ll 阅读(106) 评论(0) 推荐(0) 编辑
摘要:问题 : 主数据库 为oracle , 配置数据库 SqlServer , 有个子页面查询SqlServer数据库视图 , 需要二十多秒才给响应 处理方案 : 把查询分页数据的SQL 和 查询分页计数的SQL 异步处理 原代码: page=iMpckService.getsympzkcSqlserv 阅读全文
posted @ 2023-06-14 09:27 Li_ll 阅读(27) 评论(0) 推荐(0) 编辑
摘要:正确写法: <if test=" xxx==1 "> 或者 <if test=" xxx=='1'.toString() "> 或者 <if test=' xxx=="1" '> 错误写法 <if test=" xxx=='1' "> 如果判断条件是数字,则不能加单引号,否则将会不生效! 拓展: m 阅读全文
posted @ 2023-06-08 16:31 Li_ll 阅读(2368) 评论(0) 推荐(0) 编辑
摘要:前端组件 <hd-flex> <el-dialog v-model="isUploadDialog" width="50%" lock-scroll=false> <el-upload class="upload-demo" drag :action="url" :on-success="succe 阅读全文
posted @ 2023-06-02 17:41 Li_ll 阅读(147) 评论(0) 推荐(0) 编辑
摘要:Controller层 @ApiOperation(value = "毛坯反馈参数(越南)导出") @ApiImplicitParams({ @ApiImplicitParam(name = "ZzcsVO",value = "查询条件",required = false,dataType = "Z 阅读全文
posted @ 2023-03-23 14:09 Li_ll 阅读(92) 评论(0) 推荐(0) 编辑
摘要:public static Boolean is18Card(String idCard18) { //证件省份 HashMap<String, String> aCity = new HashMap<>(); aCity.put("11","北京"); aCity.put("12","天津"); 阅读全文
posted @ 2023-02-22 16:20 Li_ll 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Map<String,Object> pbclwhMainMap = (Map<String,Object>)param.get("pbclwhMain"); PbclwhVo pbclwhVo=new PbclwhVo(); BeanUtil.fillBeanWithMap(pbclwhMainM 阅读全文
posted @ 2022-07-05 15:20 Li_ll 阅读(982) 评论(0) 推荐(0) 编辑
摘要:package com.hopedove.processserver.util; /** * 字符串格式化 * * @author ruoyi */ public class StrFormatter { public static final String EMPTY_JSON = "{}"; p 阅读全文
posted @ 2022-06-13 09:51 Li_ll 阅读(98) 评论(0) 推荐(0) 编辑
摘要:package com.hopedove.processserver.util; import java.util.*; /** * 字符串工具类 * * @author ruoyi */ public class StringUtils extends org.apache.commons.lan 阅读全文
posted @ 2022-06-13 09:50 Li_ll 阅读(17) 评论(0) 推荐(0) 编辑
摘要:package com.hopedove.processserver.util; import org.apache.commons.lang3.time.DateFormatUtils; import java.lang.management.ManagementFactory; import j 阅读全文
posted @ 2022-06-13 09:49 Li_ll 阅读(77) 评论(0) 推荐(0) 编辑
摘要:package com.hopedove.commons.utils; import javax.servlet.http.HttpServletRequest; import java.io.BufferedReader; import java.io.IOException; import ja 阅读全文
posted @ 2022-06-13 09:41 Li_ll 阅读(97) 评论(0) 推荐(0) 编辑
摘要:http请求 package com.hopedove.commons.utils; import org.apache.http.*; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http 阅读全文
posted @ 2022-06-13 09:40 Li_ll 阅读(247) 评论(0) 推荐(0) 编辑
摘要:util package com.hopedove.commons.utils; import com.hopedove.commons.exception.BusinException; import com.hopedove.commons.exception.ErrorCode; import 阅读全文
posted @ 2022-06-13 09:23 Li_ll 阅读(398) 评论(0) 推荐(0) 编辑
摘要:package com.hopedove.processserver.util; import java.util.HashMap; /** * 操作消息提醒 * * @author ruoyi */ public class AjaxResult extends HashMap<String, O 阅读全文
posted @ 2022-06-13 09:08 Li_ll 阅读(145) 评论(0) 推荐(0) 编辑
摘要:public static List<ContractModel> objToList(Object obj){ List<ContractModel> result = new ArrayList<ContractModel>(); try { ObjectMapper objectMapper 阅读全文
posted @ 2022-05-27 14:36 Li_ll 阅读(324) 评论(0) 推荐(0) 编辑
摘要:// service 代码public RestResponse<JSONObject> getDormTreeByWorkshop( @RequestParam("workshopId") String workshopId,@RequestParam("sex") String sex) { L 阅读全文
posted @ 2022-01-10 19:24 Li_ll 阅读(51) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_42223653/article/details/90486584 阅读全文
posted @ 2021-09-26 17:45 Li_ll 阅读(10) 评论(0) 推荐(0) 编辑
摘要:使用Springboot创建项目,所有服务注入到注册中心,相互调用使用feign,这样就能搭建一个简单的微服务架构 Feign(用来完成微服务之间的远程调用):在客户端完成工作 步骤:超时设置:根据业务时间设置,默认为1s超时在rml配置文件中设置ribbon超时时间: ribbon: Conner 阅读全文
posted @ 2021-05-24 15:18 Li_ll 阅读(45) 评论(0) 推荐(0) 编辑
摘要:zookeeper注册中心,dubbo远程注入 组件的作用 什么是微服务?答:将大一统的项目拆分成每个耦合性强可以独立测试的独立模块,比如用户管理服务,用户鉴权服务等,拆分后每一个都对应自己的数据库. Springcloud将一系列框架整合到一起,形成了一个一系列框架的有序集合,用Springboo 阅读全文
posted @ 2021-05-24 15:17 Li_ll 阅读(36) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示