Merge pull request #4573 from dataease/dev

merge dev
This commit is contained in:
fit2cloudrd 2023-02-20 14:12:32 +08:00 committed by GitHub
commit bcc71b4f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 21 deletions

View File

@ -359,8 +359,8 @@ public class ExcelXlsxReader extends DefaultHandler {
formatIndex = style.getDataFormat();
formatString = style.getDataFormatString();
short format = this.formatIndex;
if ((14 <= format && format <= 17) || format == 0 || format == 20 || format == 22 || format == 31 || format == 35 || (45 <= format && format <= 49) || format == 46 || format == 47 || (57 <= format && format <= 59)
|| (59 < format && format <= 76) || (175 < format && format <= 196) || (210 <= format && format <= 213) || (208 == format)) { // 日期
if ((14 <= format && format <= 17) || format == 20 || format == 22 || format == 31 || format == 35 || format == 45 || format == 46 || format == 47 || (57 <= format && format <= 59)
|| (175 < format && format < 178) || (182 <= format && format <= 196) || (210 <= format && format <= 213) || (208 == format)) { // 日期
isDateFormat = true;
}

View File

@ -916,6 +916,9 @@ public class OracleQueryProvider extends QueryProvider {
continue;
}
String originField = String.format(OracleConstants.KEYWORD_FIX, tableObj.getTableAlias(), x.getOriginName());
if(datasetTableField.getType().equals("DATE")){
originField = String.format(OracleConstants.TO_CHAR, originField, OracleConstants.DEFAULT_DATE_FORMAT);
}
String fieldAlias = String.format(OracleConstants.KEYWORD_TABLE, x.getOriginName());
xFields.add(getXFields(x, originField, fieldAlias));
}

View File

@ -273,23 +273,13 @@
<cache
name="sys_token_store"
eternal="true"
maxElementsInMemory="100"
maxElementsOnDisk="3000"
maxElementsInMemory="1"
maxElementsOnDisk="0"
overflowToDisk="true"
diskPersistent="false"
diskPersistent="true"
/>
<cache
name="sys_token_store_delay"
eternal="false"
maxElementsInMemory="100"
maxElementsOnDisk="3000"
overflowToDisk="true"
diskPersistent="false"
timeToIdleSeconds="3"
timeToLiveSeconds="5"
memoryStoreEvictionPolicy="LRU"
/>
</ehcache>

View File

@ -1,5 +1,5 @@
{
"app.name": "Hello uni-app",
"app.name": "DataEase",
"navigate.menuHome": "首页",
"navigate.menuDir": "目录",

View File

@ -1,5 +1,5 @@
{
"app.name": "Hello uni-app",
"app.name": "DataEase",
"navigate.menuHome": "首頁",
"navigate.menuDir": "目錄",
"navigate.menuMe": "我的",

View File

@ -4,7 +4,7 @@
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "%navigate.login%",
"navigationBarTitleText": "%app.name%",
"app-plus": {
"titleNView": false
}

View File

@ -69,7 +69,7 @@
title: this.$t('commons.loading')
});
this.loadUiInfo()
this.loadPublicKey()
this.loadPublicKey()
if (!this.autoLogin() && getToken() && getUserInfo()) {
this.toMain()
}
@ -154,8 +154,15 @@
const url = window.location.href
const param = getUrlParams(url)
if (param?.detoken) {
if(param.detoken.endsWith('#/'))
param.detoken = param.detoken.substr(0, param.detoken.length - 2)
setToken(param.detoken)
this.toMain()
getInfo().then(res => {
setUserInfo(res.data)
const redirect = window.location.href.split('?')[0]
window.location.href = redirect
})
return true
}
return false