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

浙公网安备 33010602011771号