08 2020 档案

摘要:前端传递了Base64编码的文件后,将文件保存进本地或者服务器,并将文件的名称进行重新命名的工具类 package com.xz.util; import org.springframework.web.multipart.MultipartFile; import sun.misc.BASE64D 阅读全文
posted @ 2020-08-15 17:12 zagwk 阅读(1006) 评论(0) 推荐(0)
摘要:<insert id="add" parameterType="EStudent" useGeneratedKeys="true" keyProperty="id"> insert into TStudent(name, age) values(#{name}, #{age}) </insert> 阅读全文
posted @ 2020-08-07 10:15 zagwk 阅读(215) 评论(0) 推荐(0)
摘要:在实体类中的Date接收数据库中的时间的 字段 上添加注解 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 阅读全文
posted @ 2020-08-04 15:45 zagwk 阅读(534) 评论(0) 推荐(0)