摘要: 1 @Data 2 public class ResultData implements Serializable { 3 4 /** 5 * 状态码 6 */ 7 private String code; 8 9 /** 10 * 提示信息 11 */ 12 private String msg; 阅读全文
posted @ 2022-08-15 21:08 静沐丶暖阳 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 1 public ResultData backupDatabase(Integer type) { 2 // 构建备份sql的文件名 3 String sqlFileName = "test" + new SimpleDateFormat("yyyyMMddHHmmss").format(new 阅读全文
posted @ 2022-08-15 16:22 静沐丶暖阳 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 1 import common.util.StringUtil; 2 import org.springframework.web.bind.annotation.ModelAttribute; 3 4 import javax.servlet.http.HttpServletRequest; 5 阅读全文
posted @ 2022-08-15 15:59 静沐丶暖阳 阅读(952) 评论(0) 推荐(0) 编辑