Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anthony.Suerte
iwl-live
Commits
9645af00
Commit
9645af00
authored
Aug 27, 2021
by
borggss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time interval update
parent
1f2d6665
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
136 additions
and
136 deletions
+136
-136
sql.xml
system/lib/sql.xml
+131
-131
model.php
system/logic/account_edit/model.php
+1
-1
model.php
system/logic/exchange_rate/model.php
+2
-2
model.php
system/logic/mst_exchange_fee/model.php
+1
-1
model.php
system/logic/transfer/model.php
+1
-1
No files found.
system/lib/sql.xml
View file @
9645af00
This diff is collapsed.
Click to expand it.
system/logic/account_edit/model.php
View file @
9645af00
...
...
@@ -2475,7 +2475,7 @@ class AccountEditModelClass extends ModelClassEx {
$user2
=
$this
->
userLink
;
foreach
(
$user2
as
$value
){
$insertValues
.=
'((\')'
.
$this
->
detailAccount
.
'(\'), (\')'
.
$value
.
'(\'), NOW() + INTERVAL 1
7
HOUR), '
;
$insertValues
.=
'((\')'
.
$this
->
detailAccount
.
'(\'), (\')'
.
$value
.
'(\'), NOW() + INTERVAL 1
6
HOUR), '
;
}
$rtn
[]
=
rtrim
(
$insertValues
,
', '
);
...
...
system/logic/exchange_rate/model.php
View file @
9645af00
...
...
@@ -114,14 +114,14 @@ class ExchangeRateModelClass extends ModelClassEx {
if
(
$this
->
sFrom
!=
NO_STRING
)
{
$rtn
[]
=
' a.create_time >= (\')'
.
$this
->
sFrom
.
'(\')'
;
}
else
{
$rtn
[]
=
' a.create_time > DATE_ADD(NOW() + INTERVAL 1
7
HOUR, INTERVAL -30 DAY)'
;
$rtn
[]
=
' a.create_time > DATE_ADD(NOW() + INTERVAL 1
6
HOUR, INTERVAL -30 DAY)'
;
}
// 登録時刻(終了)(検索項目)
if
(
$this
->
sTo
!=
NO_STRING
)
{
$rtn
[]
=
' a.create_time < DATE_ADD((\')'
.
$this
->
sTo
.
'(\'), INTERVAL 1 DAY)'
;
}
else
{
$rtn
[]
=
' a.create_time <= NOW() + INTERVAL 1
7
HOUR'
;
$rtn
[]
=
' a.create_time <= NOW() + INTERVAL 1
6
HOUR'
;
}
// ページ数
...
...
system/logic/mst_exchange_fee/model.php
View file @
9645af00
...
...
@@ -317,7 +317,7 @@ class MstExchangeFeeModelClass extends ModelClassEx {
$whole
=
floatval
(
$this
->
getPosParameter
(
'whole'
.
DELIMIT_UNDER_BAR
.
$from
.
DELIMIT_UNDER_BAR
.
$to
));
$markup
=
floatval
(
$this
->
getPosParameter
(
'markup'
.
DELIMIT_UNDER_BAR
.
$from
.
DELIMIT_UNDER_BAR
.
$to
));
$rtn
[]
=
'((\')'
.
$pId
.
'(\'), (\')'
.
$this
->
patternName
.
'(\'), (\')'
.
$from
.
'(\'), (\')'
.
$to
.
'(\'), (\')'
.
$this
->
currencyToInt
(
$whole
,
PERCENT
)
.
'(\'), (\')'
.
$this
->
currencyToInt
(
$markup
,
PERCENT
)
.
'(\'), NOW() + INTERVAL 1
7
HOUR, (\')'
.
$this
->
getAdminUserData
(
PARAM_FIRST_NAME
)
.
' '
.
$this
->
getAdminUserData
(
PARAM_LAST_NAME
)
.
'(\'))'
;
$rtn
[]
=
'((\')'
.
$pId
.
'(\'), (\')'
.
$this
->
patternName
.
'(\'), (\')'
.
$from
.
'(\'), (\')'
.
$to
.
'(\'), (\')'
.
$this
->
currencyToInt
(
$whole
,
PERCENT
)
.
'(\'), (\')'
.
$this
->
currencyToInt
(
$markup
,
PERCENT
)
.
'(\'), NOW() + INTERVAL 1
6
HOUR, (\')'
.
$this
->
getAdminUserData
(
PARAM_FIRST_NAME
)
.
' '
.
$this
->
getAdminUserData
(
PARAM_LAST_NAME
)
.
'(\'))'
;
}
}
...
...
system/logic/transfer/model.php
View file @
9645af00
...
...
@@ -814,7 +814,7 @@ class TransferModelClass extends ModelClassEx {
$rtnParams
[]
=
' transfer.process_status IN ('
.
implode
(
DELIMIT_COMMA
,
$this
->
sProcessType
)
.
') '
;
}
$rtnParams
[]
=
' NOW() + INTERVAL 1
7
HOUR > transfer.create_time'
;
$rtnParams
[]
=
' NOW() + INTERVAL 1
6
HOUR > transfer.create_time'
;
// 検索条件の結合
if
(
count
(
$rtnParams
)
>
NO_COUNT
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment