会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小小书童9527
博客园
首页
新随笔
联系
订阅
管理
2023年7月28日
若依(微服务版)导入导出关联动态字典值
摘要: 前言 需求背景: 业务系统需要做EXCEL的导入和导出功能,某些字段是系统字典值,改造之前只能应用@Excel注解的combo属性来做下拉限制,用readConverterExp属性来做表达式实际值和显示值的转换。 每当运维人员在系统增加一个字典值的时候,都要来修改代码,太麻烦了。 期望效果: 能够
阅读全文
posted @ 2023-07-28 10:41 小小书童9527
阅读(2618)
评论(0)
推荐(0)
2023年6月30日
zip解压和压缩
摘要: zip解压和压缩 引言 介绍zip文件的概念 涉及到的Java类和包:java.util.zip https://blog.csdn.net/u012998680/article/details/126060855 压缩文件 准备压缩的源文件和目标zip文件的路径 创建FileOutputStrea
阅读全文
posted @ 2023-06-30 15:08 小小书童9527
阅读(154)
评论(0)
推荐(0)
2023年1月21日
int和Integer使用==比较
摘要: package com.cpt.first; /** * @PackageName: com.cpt.first * @ClassName: Test02 * @Author: cpt * @Date: 2023/1/211:36 * @Description: **/ public class T
阅读全文
posted @ 2023-01-21 02:20 小小书童9527
阅读(50)
评论(0)
推荐(0)
2021年5月2日
6.web.xml
摘要: <?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc
阅读全文
posted @ 2021-05-02 20:02 小小书童9527
阅读(68)
评论(0)
推荐(0)
5.application.xml
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2021-05-02 18:05 小小书童9527
阅读(79)
评论(0)
推荐(0)
4、db.properties和logback.xml
摘要: 1.db.properties jdbc.driver=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/ssm?useSSL=true&useUnicode=true&characterEncoding=utf8jdbc.usern
阅读全文
posted @ 2021-05-02 17:56 小小书童9527
阅读(243)
评论(0)
推荐(0)
3.springmvc-servlet.xml
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2021-05-02 17:52 小小书童9527
阅读(250)
评论(0)
推荐(0)
2.mybatils-config.xml
摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dt
阅读全文
posted @ 2021-05-02 17:46 小小书童9527
阅读(36)
评论(0)
推荐(0)
1.pom文件
摘要: <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schem
阅读全文
posted @ 2021-05-02 17:42 小小书童9527
阅读(188)
评论(0)
推荐(0)
2020年12月16日
Junit单元测试\反射\注解
摘要: 1. Junit单元测试 2. 反射 3. 注解 Junit单元测试: * 测试分类: 1. 黑盒测试:不需要写代码,给输入值,看程序是否能够输出期望的值。 2. 白盒测试:需要写代码的。关注程序具体的执行流程。 * Junit使用:白盒测试 * 步骤: 1. 定义一个测试类(测试用例) * 建议:
阅读全文
posted @ 2020-12-16 15:14 小小书童9527
阅读(43)
评论(0)
推荐(0)
公告