- 博客(4)
- 收藏
- 关注
原创 sql 嵌套使用select
INSERT INTO tb_user_enable_status(user_id,create_time,total) (SELECT user_id,date_format(#{createTime}(这个是在表tb_book_operation中没有的字段),'%Y-%m-%d') AS create_time,count(book_id) AS total FROM ...
2020-04-12 20:16:17
331
原创 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。
给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。1,用一个数组来做确认是否子字符串中已经存在这一字符2,设置左右指针l,f,l-f之间的字符即为子字符串。3,判断是否存在此字符4,操作class Solution { public int lengthOfLongestSubstring(String s) { int temp[]=new int[2...
2019-12-17 01:00:59
1007
原创 imageio.IIOException: Can't read input file!问题解决
imageio.IIOException: Can’t read input file!问题解决public static void main(String[] args) throws IOException { String basePath=Thread.currentThread().getContextClassLoader().getResource("").getPath();...
2019-11-02 20:53:11
2233
原创 No enclosing instance of type HashMapTest is accessible. Must qualify the allocation with an enclosi
No enclosing instance of type HashMapTest is accessible. Must qualify the allocation with an enclosing instance of type HashMapTest (e.g. x.new A() where x is an instance of HashMapTest).代码如下:public...
2019-10-14 23:13:53
198
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人