HeavenTang

导航

上一页 1 2 3 4 5 6 ··· 9 下一页

2023年12月18日

数据库启动

摘要: 1、 登录oracle su - root 2、查看监听状态 lsnrctl status 监听启动: lsnrctl start 监听停止:lsnrctl stop 3、如果监听启动了,无实例 需要启动实例 先 su - oracle 再 sqlplus / as sysdba 再 startup 阅读全文

posted @ 2023-12-18 15:34 HeavenTang 阅读(4) 评论(0) 推荐(0) 编辑

2023年11月3日

加密方式

摘要: https://blog.csdn.net/qq243920161/article/details/127865091 阅读全文

posted @ 2023-11-03 16:11 HeavenTang 阅读(3) 评论(0) 推荐(0) 编辑

2023年10月30日

java 生成二维码

摘要: // 二维码 String codeInfo = JSON.toJSONString(vo); codeInfo = AESUtil.aesEncrypt(codeInfo, CodeConstants.AES_TOKEN); Image image = Image.getInstance( QRC 阅读全文

posted @ 2023-10-30 14:38 HeavenTang 阅读(274) 评论(0) 推荐(0) 编辑

2023年10月23日

上传文件到服务器

摘要: 上传附件至linux服务器: controller层: 点击查看代码 @Override public Result<?> uploadFile(MultipartHttpServletRequest request, @RequestParam(value = "businessTable") S 阅读全文

posted @ 2023-10-23 20:18 HeavenTang 阅读(7) 评论(0) 推荐(0) 编辑

2023年10月19日

占位符导入模板excel, 再导出xlsx

摘要: 1、引入包 `<dependency> <groupId>org.apache.poi</groupId> <artifactId>ooxml-schemas</artifactId> <version>1.1</version> </dependency> <dependency> <groupI 阅读全文

posted @ 2023-10-19 19:55 HeavenTang 阅读(42) 评论(0) 推荐(0) 编辑

2023年10月17日

java处理显示clob字段内容

摘要: 可以直接通过clob的提供的方法进行处理,非常的方便,但是一定要注意判空,通过下面的这种方式处理,即使有换行、空格等特殊字符出现的时候,都能够原模原样的保存到新的字段当中 比如判空处理 dataMap.get("clobcloumn") == null ? "" : StringUtils.subs 阅读全文

posted @ 2023-10-17 19:39 HeavenTang 阅读(90) 评论(0) 推荐(0) 编辑

2023年10月16日

java导出占位符word模板

摘要: 实际项目中,便于维护模板,采用直接 word里面制作占位符 来导出更为直观,而不是 将word做成tpl模板。 使用XWPFDocument (这种解析xlsx或者docx)和 HWPFDocument(这种解析xls或者doc)。 代码如下: 写磁盘代码: 点击查看代码 // 创建Word模板文件 阅读全文

posted @ 2023-10-16 13:26 HeavenTang 阅读(423) 评论(0) 推荐(0) 编辑

2023年8月9日

docker 容器日志

摘要: 1. 查找需要看日志的容器 ![image](https://img2023.cnblogs.com/blog/1212244/202308/1212244-20230809092302582-1877600972.png) 2. 查找容器日志存放位置 docker inspect --format 阅读全文

posted @ 2023-08-09 09:35 HeavenTang 阅读(15) 评论(0) 推荐(0) 编辑

2023年6月14日

mybatis 处理in 1000以上sql

摘要: 展开查看 点击查看代码 ``` update T_XSGL_XSXX_XJXX xjxx set xjxx.XWZSBH = null, xjxx.ZHXGR = #{userId}, xjxx.ZHXGSJ = sysdate where exists(select 1 from T_BYGL_X 阅读全文

posted @ 2023-06-14 18:48 HeavenTang 阅读(27) 评论(0) 推荐(0) 编辑

2023年6月9日

oracle 之存储过程 begin ...... ; ...... end

摘要: 点击查看代码 ``` begin merge into ly_yjs_hxsj.T_XSGL_XSXX_CZRZ rz using ( select a.XS_ID xsid, xh, xm, '02' as bglx,'修改学生:'||xm||':学位操作撤销学位证书号,原学位证书号:'|| BJ 阅读全文

posted @ 2023-06-09 11:08 HeavenTang 阅读(224) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 9 下一页