摘要: 视图 SELECT DISTINCT Proson.emp_id, Proson.emp_fname, Proson.depart_id, B_1.Holiday, CASE WHEN LEFT(CONVERT(VARCHAR(100), C.sign_time, 23), 10) IS NULL 阅读全文
posted @ 2025-03-11 01:02 liuyao_commit 阅读(17) 评论(0) 推荐(0)
摘要: 盛最多水的容器 https://leetcode.cn/problems/container-with-most-water/ 两种方案: 暴力暴击 public int maxArea1(int[] height) { int maxValue = 0; for (int i = 0; i < h 阅读全文
posted @ 2025-03-11 01:02 liuyao_commit 阅读(8) 评论(0) 推荐(0)
摘要: 1. 配置依赖pom.xml 2. 配置文件application.xml 3. Mybatis mapper文件 仅是参考的mapper模型,有些像foreach复杂的处理情况都没有, mapper类(是个接口) @Mapper @Component public interface UserMa 阅读全文
posted @ 2019-12-12 14:48 liuyao_commit 阅读(939) 评论(0) 推荐(0)
摘要: 连接mysql失败_Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. 时区错误,MySQL默认的时区是UTC时区,比北京时间晚8个小时。 在mysql的命 阅读全文
posted @ 2019-12-11 18:25 liuyao_commit 阅读(506) 评论(0) 推荐(0)
摘要: 搬运自 java知音,感兴趣的可以去看看 阅读全文
posted @ 2019-12-10 11:16 liuyao_commit 阅读(133) 评论(0) 推荐(0)
摘要: 1 首先在控制面板里面的程序卸载找到MySQL,右键点击卸载。这是卸载程序必须的一步。 2删除注册表内容,win+R键打开运行框,输入regedit打开注册表编辑器 删除四项内容: a.HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\MySQL b. 阅读全文
posted @ 2019-04-19 12:04 liuyao_commit 阅读(545) 评论(0) 推荐(0)