摘要: html样例 <template> <div class="personalReport_time"> <input type="date" :max="this.endTime" value="" v-model="startTime"/> <div></div> <input type="dat 阅读全文
posted @ 2022-05-12 09:35 小小菜包子 阅读(1839) 评论(0) 推荐(0)
摘要: package Util; import java.security.GeneralSecurityException; import java.security.MessageDigest; /** * @ClassName MD5Util * @Description TODO * @Autho 阅读全文
posted @ 2022-04-21 16:48 小小菜包子 阅读(115) 评论(0) 推荐(0)
摘要: 在创建过程中可能会遇见: [HY000][1418] This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *m 阅读全文
posted @ 2022-04-18 14:12 小小菜包子 阅读(699) 评论(0) 推荐(0)
摘要: public class StringTools { /** * 校验是不是email */ public static boolean checkIsEmail(String userId){ if(userId == null){ return false; }else{ String form 阅读全文
posted @ 2022-04-15 15:22 小小菜包子 阅读(30) 评论(0) 推荐(0)
摘要: 大概代码贴一下,自己连接,仅执行语句返回内容 /** * 查询sql * * @param: sql * @return: JSONArray */ public static JSONArray querySql(PostgreSQLConfig staticPostgreSQLConfig, S 阅读全文
posted @ 2022-04-08 08:56 小小菜包子 阅读(152) 评论(1) 推荐(0)
摘要: span直接一行 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> span{ background-color: red; } </style> </head 阅读全文
posted @ 2022-04-07 17:35 小小菜包子 阅读(32) 评论(0) 推荐(0)
摘要: /** * 根据数据库方言,生成特定的分页sql * * @param sql * @param sql,map,dialect * @return */ private String generatePageSql(String sql, Map map, String dialect) { if 阅读全文
posted @ 2022-04-07 14:12 小小菜包子 阅读(54) 评论(0) 推荐(0)
摘要: oracle:rownummysql对应: (SELECT (@rowNum:=@rowNum+1) from (select (@rowNum:=0))b ) 阅读全文
posted @ 2022-04-01 15:11 小小菜包子 阅读(699) 评论(0) 推荐(0)
摘要: 在链接地址?connectionCollation=utf8mb4_general_ci指定下 或者下面方式 出现这种问题就是关联表的字符集不匹配 1.查看数据库的字符集 show variables where Variable_name like 'collation%';结果: 2.查看关联表 阅读全文
posted @ 2022-04-01 15:09 小小菜包子 阅读(930) 评论(0) 推荐(0)
摘要: 第一种就是自己分批写入:建立新list大小为500,然后循环你的数据 List<OrderVO> list=mapper.getList(); //从数据库查询出来的list,也就是需要进行批量插入的总list //一次插入的条数,也就是分批的list大小 int pointsDataLimit = 阅读全文
posted @ 2022-03-28 10:15 小小菜包子 阅读(455) 评论(0) 推荐(0)