Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
hujun
tl_estate
Commits
dd57eb26
Commit
dd57eb26
authored
Sep 27, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纬度为空
parent
5452a605
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
2 deletions
+15
-2
LocationService.php
application/api_broker/service/LocationService.php
+5
-0
OfficePayLog.php
application/index/controller/OfficePayLog.php
+1
-1
PayLog.php
application/index/controller/PayLog.php
+1
-1
OPayLogModel.php
application/model/OPayLogModel.php
+4
-0
OfficeOPayLogModel.php
application/model/OfficeOPayLogModel.php
+4
-0
No files found.
application/api_broker/service/LocationService.php
View file @
dd57eb26
...
@@ -32,6 +32,11 @@ class LocationService
...
@@ -32,6 +32,11 @@ class LocationService
return
$result
;
return
$result
;
}
}
if
(
$longitude
==
'(null)'
||
$latitude
==
'(null)'
)
{
$result
[
'msg'
]
=
'经纬度为空'
;
return
$result
;
}
$m_location
=
new
ALocationListModel
();
$m_location
=
new
ALocationListModel
();
$position_service
=
new
PositionService
();
$position_service
=
new
PositionService
();
$s_redis
=
new
RedisCacheService
();
$s_redis
=
new
RedisCacheService
();
...
...
application/index/controller/OfficePayLog.php
View file @
dd57eb26
...
@@ -2630,7 +2630,7 @@ class OfficePayLog extends Basic
...
@@ -2630,7 +2630,7 @@ class OfficePayLog extends Basic
if
(
!
empty
(
$this
->
params
[
'order_id'
]))
{
if
(
!
empty
(
$this
->
params
[
'order_id'
]))
{
$where
[
'a.order_id'
]
=
$this
->
params
[
'order_id'
];
$where
[
'a.order_id'
]
=
$this
->
params
[
'order_id'
];
}
}
$where
[]
=
[
'EXP'
,
'g.id IS NULL OR f.id IS NULL'
];
try
{
try
{
$order
=
new
OfficeOPayLogModel
();
$order
=
new
OfficeOPayLogModel
();
$field
=
'a.create_time,a.id,a.order_id,a.bargain_id,a.income_time,c.name,a.real_money'
;
$field
=
'a.create_time,a.id,a.order_id,a.bargain_id,a.income_time,c.name,a.real_money'
;
...
...
application/index/controller/PayLog.php
View file @
dd57eb26
...
@@ -83,7 +83,7 @@ class PayLog extends Basic
...
@@ -83,7 +83,7 @@ class PayLog extends Basic
if
(
!
empty
(
$this
->
params
[
'order_id'
]))
{
if
(
!
empty
(
$this
->
params
[
'order_id'
]))
{
$where
[
'a.order_id'
]
=
$this
->
params
[
'order_id'
];
$where
[
'a.order_id'
]
=
$this
->
params
[
'order_id'
];
}
}
$where
[]
=
[
'EXP'
,
'g.id IS NULL OR f.id IS NULL'
];
try
{
try
{
$order
=
new
OPayLogModel
();
$order
=
new
OPayLogModel
();
$field
=
'a.create_time,a.id,a.order_id,a.bargain_id,a.income_time,e.name,a.real_money'
;
$field
=
'a.create_time,a.id,a.order_id,a.bargain_id,a.income_time,e.name,a.real_money'
;
...
...
application/model/OPayLogModel.php
View file @
dd57eb26
...
@@ -759,6 +759,8 @@ class OPayLogModel extends Model
...
@@ -759,6 +759,8 @@ class OPayLogModel extends Model
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
'a_agents e'
,
'a.agent_id=e.id'
,
'left'
)
->
join
(
'a_agents e'
,
'a.agent_id=e.id'
,
'left'
)
->
join
(
'o_refund f'
,
'a.id=f.pay_log_id'
,
'left'
)
->
join
(
'o_paylog_adjustment g'
,
'a.id=g.paylog_id'
,
'left'
)
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
page
(
$pageNo
)
->
order
(
$order_
)
->
order
(
$order_
)
...
@@ -778,6 +780,8 @@ class OPayLogModel extends Model
...
@@ -778,6 +780,8 @@ class OPayLogModel extends Model
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
'a_agents e'
,
'a.agent_id=e.id'
,
'left'
)
->
join
(
'a_agents e'
,
'a.agent_id=e.id'
,
'left'
)
->
join
(
'o_refund f'
,
'a.id=f.pay_log_id'
,
'left'
)
->
join
(
'o_paylog_adjustment g'
,
'a.id=g.paylog_id'
,
'left'
)
->
where
(
$params
)
->
where
(
$params
)
->
count
(
$field
);
->
count
(
$field
);
}
}
...
...
application/model/OfficeOPayLogModel.php
View file @
dd57eb26
...
@@ -720,6 +720,8 @@ class OfficeOPayLogModel extends Model
...
@@ -720,6 +720,8 @@ class OfficeOPayLogModel extends Model
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
'a_agents c'
,
'a.agent_id=c.id'
,
'left'
)
->
join
(
'a_agents c'
,
'a.agent_id=c.id'
,
'left'
)
->
join
(
'o_refund f'
,
'a.id=f.pay_log_id'
,
'left'
)
->
join
(
'o_paylog_adjustment g'
,
'a.id=g.paylog_id'
,
'left'
)
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
page
(
$pageNo
)
->
order
(
$order_
)
->
order
(
$order_
)
...
@@ -739,6 +741,8 @@ class OfficeOPayLogModel extends Model
...
@@ -739,6 +741,8 @@ class OfficeOPayLogModel extends Model
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
"o_order b"
,
"a.order_id = b.id"
,
"left"
)
->
join
(
'a_agents c'
,
'a.agent_id=c.id'
,
'left'
)
->
join
(
'a_agents c'
,
'a.agent_id=c.id'
,
'left'
)
->
join
(
'o_refund f'
,
'a.id=f.pay_log_id'
,
'left'
)
->
join
(
'o_paylog_adjustment g'
,
'a.id=g.paylog_id'
,
'left'
)
->
where
(
$params
)
->
where
(
$params
)
->
count
(
$field
);
->
count
(
$field
);
}
}
...
...
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