原创 PL/SQL登錄 解決監聽問題
Isnrctl start set ORACLE_SID=orclsqlplus /nologconn/as sysdbastartupshutdown immediatestartupselect * from user_tables
原创 Gradle將項目lib下的jar聯合項目達成新的jar
在gradle配置文件dependencies中間中添加 compile file("lib/aaa.jar");
原创 Gradle打jar,將所依賴的第三方jar同時打入新的jar中
jar{ baseName = 'power-license-kit' //jar名稱 manifest{ attributes 'Manifest-Version' : 1.0 //jar版本 attributes ‘Main-Clas
原创 Gradle將本地項目打成jar上傳到maven倉庫
uploadArchives{ repositories{ mavenDeployer{ repository(url: "http://1.1.1.1:1111/nexus/content/repositories/snapshots/
原创 前後端分離,如何解決跨域問題
跨域 1、Jsonp,只能使用get提交,傳輸數據量有限 2、CORS(Corss-origin resource sharing)跨域資源共享,支持post提交 CORS原理,只需要在響應頭header中注入Access-Con
原创 mybatis配置多數據源模型
#定義輸出格式 ConversionPattern=%d %-5p [%t] %c - %m%n log4j.rootLogger=DEBUG,Console log4j.logger.com.cnblogs.lzrabbit=DEBU
原创 通過layui獲取表單中的數據
layer.open({ type: 2, title: '編輯音樂', shadeClose: false, shade: 0.8, btnAlign: 'c',
原创 mybatis-通過databaseProvider指定訪問的數據庫種類
MyBatis 可以根據不同的數據庫廠商執行不同的語句,這種多廠商的支持是基於映射語句中的 databaseId 屬性。 MyBatis 會加載不帶 databaseId 屬性和帶有匹配當前數據庫 databaseId 屬性的所有語句。
原创 java-自定義註解
@Documented @Target(ElementType.METHOD) @Inherited @Retention(RetentionPolicy.RUNTIME) public @interface MethodInfo{ S
原创 layui 表格的屬性的顯示轉換
layui.render({ url:'/xxxxx' ,cols:[[ {field:'status',title:'狀態'} ]],done:function(res, curr, count){
原创 POI讀取合併單元格中的excel數據
import java.io.File; import java.io.IOException; import org.apache.poi.openxml4j.exceptions.InvalidFormatExcep