08 2023 档案

摘要:需求:从数据库表中查询数据,并且以json的格式输出 由于类中的属性太多了,不想一个一个写了,所以使用反射直接set进去,这样比较方便,也比较实用,并且加深了对反射的理解。 并且使用了jackson 将List转换成了 json格式的字符串 代码如下 public class test { publ 阅读全文 »
posted @ 2023-08-18 13:15 Reisen7 阅读(4) 评论(0) 推荐(0) 编辑
摘要:<?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:sc 阅读全文 »
posted @ 2023-08-18 09:21 Reisen7 阅读(3) 评论(0) 推荐(0) 编辑
摘要:server : port : 8080 ##项目名字配置 #servlet : # context-path : /demo tomcat : uri-encoding : UTF-8 #xx 报错修改的地方 max-connections: 200000 max-http-form-post-s 阅读全文 »
posted @ 2023-08-07 16:19 Reisen7 阅读(6) 评论(0) 推荐(0) 编辑
摘要:package com.example.paipai; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou. 阅读全文 »
posted @ 2023-08-07 16:15 Reisen7 阅读(6) 评论(0) 推荐(0) 编辑
摘要:自用 <?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 阅读全文 »
posted @ 2023-08-07 16:13 Reisen7 阅读(6) 评论(0) 推荐(0) 编辑

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