03 2020 档案

摘要:impdp test/password@127.0.0.1/orcl directory=database dumpfile=test_20200327%U.DMP schemas=test logfile=imp.log %U==占位符,对应多个文件的后缀01,02.。。。。 快捷导出导入 exp 阅读全文
posted @ 2020-03-30 11:42 覃上 阅读(5054) 评论(0) 推荐(0)
摘要:mvn install:install-file -Dfile=D:\aa-lemon\git\YT_OA\ytoa-common\src\main\resources\lib\nrrs-sso-client-1.0.0.jar -DgroupId=com.icloudmap -DartifactI 阅读全文
posted @ 2020-03-30 11:40 覃上 阅读(977) 评论(0) 推荐(0)
摘要:后台java (jdk>=1.8): byte[] bytes = byteArrayOutputStream.toByteArray(); String base64Str = java.util.Base64.getEncoder().encodeToString(bytes);前端: func 阅读全文
posted @ 2020-03-27 00:08 覃上 阅读(2230) 评论(0) 推荐(0)
摘要:import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.boot.te 阅读全文
posted @ 2020-03-26 21:42 覃上 阅读(269) 评论(0) 推荐(0)
摘要:登录:sqlplus system/password@127.0.0.1:1521/orcl 重启服务:打开cmd sqlplus sys / as sysdba 输入密码 shutdown immediate startup ORA-01031:insufficientprivileges win 阅读全文
posted @ 2020-03-26 10:01 覃上 阅读(379) 评论(0) 推荐(0)
摘要:database -- 新建 -- oracle 选择对应的表右键 -- scripted extension -- Generated POJOs.groovy -- 选择对应的实体包文件夹,确定即可生成 生成后,修改包名,并指定对应库中的表 import com.baomidou.mybatis 阅读全文
posted @ 2020-03-21 13:14 覃上 阅读(2158) 评论(0) 推荐(0)
摘要:import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; QueryWrapper<WfiOpinion> wrapper = new QueryWrapper<>();wrapper.eq("tenantid",tena 阅读全文
posted @ 2020-03-20 12:24 覃上 阅读(37717) 评论(0) 推荐(0)
摘要:import java.io.*;import java.net.HttpURLConnection;import java.net.URL;import java.net.URLConnection;import java.net.URLEncoder; public static String 阅读全文
posted @ 2020-03-19 23:02 覃上 阅读(1850) 评论(0) 推荐(0)
摘要:public static void main(String[] args) { Map map = new HashMap(); String result = ""; Gson gson = new Gson(); Map map1 = gson.fromJson(result,Map.clas 阅读全文
posted @ 2020-03-19 22:58 覃上 阅读(3468) 评论(0) 推荐(0)
摘要:window.open()只能打开一次,所以下载多个文件只能下载一个function download(name, href) { var a = document.createElement("a"), //创建a标签 e = document.createEvent("MouseEvents") 阅读全文
posted @ 2020-03-12 09:42 覃上 阅读(4478) 评论(0) 推荐(0)
摘要:默认情况下,jQuery传输数据使用Content-Type: x-www-form-urlencodedand和类似于"foo=bar&baz=moe"的序列,然而AngularJS,传输数据使用Content-Type: application/json和{ "foo": "bar", "baz 阅读全文
posted @ 2020-03-11 17:35 覃上 阅读(340) 评论(0) 推荐(0)
摘要:接口:public String get(HttpServletResponse response) throws Exception { response.addHeader("Access-Control-Allow-Origin","*"); return "hello";} 如果是静态文件h 阅读全文
posted @ 2020-03-10 16:26 覃上 阅读(200) 评论(0) 推荐(0)
摘要:启动客户端client:redis-cli.exe -h 127.0.0.1 -p 6379 -a password -n 5 -n 5指定数据5。 启动redis:redis-server.exe redis.windows.conf 查看key类型:type key 其他:get set hmg 阅读全文
posted @ 2020-03-09 11:46 覃上 阅读(78) 评论(0) 推荐(0)