12 2021 档案
摘要:端口被占用,杀掉端口: wind+R输入cmd回撤,打开黑窗口: netstat -aon|findstr “8081” (查找指定端口)或者 netstat -ano (查找所有端口) 找到对应的数字 taskkill /pid 19312 -f (杀掉该进程)
阅读全文
摘要:--oracle 日期转化怎么把时分 秒去掉了 to_char(日期, 'yyyy-mm-dd')
阅读全文
摘要:left join select * from table t1 left join table2 t2 on t1.id=t2.id 如果t1有5条数据,t2没有数据,请问查出()条数据 inner join select * from table t1 inner join table2 t2
阅读全文
摘要:1.on 后面添加关联条件 where 添加的是添加查询 这个是一个左查询 使用的是 select a和b表的关联条件查出来的结果再去where 条件查询select * from event a LEFT JOIN event_time b on a.event_id=b.event_id whe
阅读全文
摘要:
阅读全文
摘要:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'deptController': Unsatisfied dependency expressed thr
阅读全文
摘要:dao层编译后只有class文件,没有mapper.xml,因为maven工程在默认情况下src/main/java目录下的所有资源文件是不发布到target目录下的 我的mapper.xml不在resource下面 1.pom.xml:在依赖下面添加 <build> <resources> <re
阅读全文
摘要:遍历JSONArrayString str; JSONArray json = JSONArray.fromObject(str ); // 首先把字符串转成 JSONArray 对象 if(json.size()>0){ for(int i=0;i<json.size();i++){ JSONOb
阅读全文