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
阅读全文
摘要: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
阅读全文
摘要:后台java (jdk>=1.8): byte[] bytes = byteArrayOutputStream.toByteArray(); String base64Str = java.util.Base64.getEncoder().encodeToString(bytes);前端: func
阅读全文
摘要:import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.boot.te
阅读全文
摘要:登录:sqlplus system/password@127.0.0.1:1521/orcl 重启服务:打开cmd sqlplus sys / as sysdba 输入密码 shutdown immediate startup ORA-01031:insufficientprivileges win
阅读全文
摘要:database -- 新建 -- oracle 选择对应的表右键 -- scripted extension -- Generated POJOs.groovy -- 选择对应的实体包文件夹,确定即可生成 生成后,修改包名,并指定对应库中的表 import com.baomidou.mybatis
阅读全文
摘要:import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; QueryWrapper<WfiOpinion> wrapper = new QueryWrapper<>();wrapper.eq("tenantid",tena
阅读全文
摘要:import java.io.*;import java.net.HttpURLConnection;import java.net.URL;import java.net.URLConnection;import java.net.URLEncoder; public static String
阅读全文
摘要:public static void main(String[] args) { Map map = new HashMap(); String result = ""; Gson gson = new Gson(); Map map1 = gson.fromJson(result,Map.clas
阅读全文
摘要:window.open()只能打开一次,所以下载多个文件只能下载一个function download(name, href) { var a = document.createElement("a"), //创建a标签 e = document.createEvent("MouseEvents")
阅读全文
摘要:默认情况下,jQuery传输数据使用Content-Type: x-www-form-urlencodedand和类似于"foo=bar&baz=moe"的序列,然而AngularJS,传输数据使用Content-Type: application/json和{ "foo": "bar", "baz
阅读全文
摘要:接口:public String get(HttpServletResponse response) throws Exception { response.addHeader("Access-Control-Allow-Origin","*"); return "hello";} 如果是静态文件h
阅读全文
摘要:启动客户端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
阅读全文