摘要: DB的主键追加 第一种先把表重命名alter table 旧表名 rename to “新表名”alter table “新表名” drop constraint 主键 创建旧表名的表 create table public.表名( 列名 character varying(10) not null 阅读全文
posted @ 2022-09-12 09:28 咸鱼翻身-U 阅读(284) 评论(0) 推荐(0)
摘要: #基础知识 String s = "abcdefg"; //ch 的值是 "a" char ch = s.charAt(0) ; //num 的值是?(5?) int num = s.indexOf("e",0); //链表 ListNode 例子: //下面逆向存储链表相加后的结果为:1,3,5, 阅读全文
posted @ 2022-08-28 22:02 咸鱼翻身-U 阅读(16) 评论(0) 推荐(0)
摘要: 工作02 SQL 如果前台跟后台都没有用到的项目要记得删除。 只在前台编辑跟保存的数据,并不需要在bean中设定存贮空间。 前台new一个list的时候[]设定,在后台可以用isEmpty来判定是否为空。 在书写很多一样的逻辑时,要记得把方法共用化,方便以后的维护和测试。 阅读全文
posted @ 2022-08-09 07:14 咸鱼翻身-U 阅读(16) 评论(0) 推荐(0)
摘要: 工作01 err01 java.lang.illegalStateExpention:Failed to load Application Context 原因 test- context.xml 是配置文件加载了过于多的包,把不用的包注释掉,然后在进行测试 err02 java.sql.SQL E 阅读全文
posted @ 2022-08-09 07:08 咸鱼翻身-U 阅读(54) 评论(0) 推荐(0)
摘要: day01 Markdown 标题 ~~hello world~~ hello world hello world hello world A B A B |姓名|住址|生年月日| |--|--|--| |张三|川崎|2004.1.1| 超链接 阅读全文
posted @ 2022-08-08 20:47 咸鱼翻身-U 阅读(9) 评论(0) 推荐(0)