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
52f8966d
Commit
52f8966d
authored
Sep 30, 2021
by
Antonio.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KYC Search Issue Fix
parent
03c256ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
model.php
system/logic/kyc/model.php
+3
-9
No files found.
system/logic/kyc/model.php
View file @
52f8966d
<?php
<?php
class
KYCModelClass
extends
ModelClassEx
{
/*-------------------------------------------------------------------------
...
...
@@ -271,19 +271,13 @@ class KYCModelClass extends ModelClassEx {
if
(
$this
->
openFlg
!=
NO_STRING
)
{
// 開始日(口座開設日)
if
(
$this
->
sFrom
!=
NO_STRING
)
{
$having
.=
' AND
users
.create_time >= (\')'
.
str_replace
(
DELIMIT_SLASH
,
DELIMIT_HYPHEN
,
$this
->
sFrom
)
.
'(\')'
;
$having
.=
' AND
kyc
.create_time >= (\')'
.
str_replace
(
DELIMIT_SLASH
,
DELIMIT_HYPHEN
,
$this
->
sFrom
)
.
'(\')'
;
}
// 終了日(口座開設日)
if
(
$this
->
sTo
!=
NO_STRING
)
{
$having
.=
' AND
users
.create_time < DATE_ADD((\')'
.
str_replace
(
DELIMIT_SLASH
,
DELIMIT_HYPHEN
,
$this
->
sTo
)
.
'(\'), INTERVAL 1 DAY)'
;
$having
.=
' AND
kyc
.create_time < DATE_ADD((\')'
.
str_replace
(
DELIMIT_SLASH
,
DELIMIT_HYPHEN
,
$this
->
sTo
)
.
'(\'), INTERVAL 1 DAY)'
;
}
}
else
{
$dateTo
=
strtotime
(
"-2 month"
,
time
());
$dateTo
=
date
(
"Y-m-d"
,
$dateTo
);
$dateFrom
=
date
(
"Y-m-d"
);
$having
.=
' AND users.create_time >= (\')'
.
$dateTo
.
'(\')'
;
$having
.=
' AND users.create_time < DATE_ADD((\')'
.
$dateFrom
.
'(\'), INTERVAL 1 DAY)'
;
}
// 検索のフラグがある場合
...
...
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