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
8bc2d7c9
Commit
8bc2d7c9
authored
Apr 13, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
3819bab8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
AppointmentTime.php
application/api/controller/AppointmentTime.php
+1
-0
ConvertOrder.php
application/api/controller/ConvertOrder.php
+2
-2
AppChat.php
application/chat/controller/AppChat.php
+1
-1
Remarks.php
application/model/Remarks.php
+2
-2
No files found.
application/api/controller/AppointmentTime.php
View file @
8bc2d7c9
...
...
@@ -123,6 +123,7 @@ class AppointmentTime extends Basic
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$result
=
[];
if
(
$params
[
"status"
]
==
1
)
{
$result
=
$this
->
getWaitList
(
$pageNo
,
$pageSize
,
$params
);
}
elseif
(
$params
[
"status"
]
==
2
)
{
...
...
application/api/controller/ConvertOrder.php
View file @
8bc2d7c9
...
...
@@ -115,7 +115,7 @@ class ConvertOrder extends Basic
$field
=
"a.type,a.moneytype,a.money,a.trademark,a.remarks,a.created,a.modified,d.id as agent_id,b.id as report_id,c.id as order_id,c.order_no"
;
$collectingBillList
=
$this
->
journalaccountsModel
->
getJournalAccountsListByStatus
(
1
,
2000
,
$field
);
dump
(
$collectingBillList
);
$collectingBillArr
=
[];
$collectingBillArr
=
[];
foreach
(
$collectingBillList
as
$key
=>
$item
)
{
$collectingBillParams
=
$this
->
collectingBillBin
(
0
,
$item
[
"moneytype"
],
$item
[
"type"
],
$item
[
"money"
],
$item
[
"agent_id"
],
$item
[
"report_id"
],
$item
[
"order_id"
],
$item
[
"order_no"
],
"---"
,
$item
[
"trademark"
],
...
...
@@ -340,7 +340,7 @@ class ConvertOrder extends Basic
$params
[
"order_id"
]
=
$order_id
;
//关联order表id
$params
[
"order_no"
]
=
$order_no
;
//订单no
$params
[
"march_in_remark"
]
=
$march_in_remark
;
//进场备注
$params
[
"march_in_img"
]
=
"old_img/march_in/
"
.
$march_in_img
;
//备注图片
$params
[
"march_in_img"
]
=
empty
(
$march_in_img
)
?
""
:
"old_img / march_in /
"
.
$march_in_img
;
//备注图片
$params
[
"march_in_area"
]
=
$march_in_area
;
//进场地址
$params
[
"create_time"
]
=
$create_time
;
//进场地址
$params
[
"update_time"
]
=
$update_time
;
//进场地址
...
...
application/chat/controller/AppChat.php
View file @
8bc2d7c9
...
...
@@ -217,7 +217,7 @@ class AppChat extends Basic
$data
=
[];
if
(
$file
)
{
$path
=
ROOT_PATH
.
'public'
.
DS
.
'static'
.
DS
.
'chat_image'
;
$info
=
$file
->
validate
([
'size'
=>
512000
,
'ext'
=>
'jpg,png'
])
//限制500KB
$info
=
$file
->
validate
([
'size'
=>
512000
0
,
'ext'
=>
'jpg,png'
])
//限制500KB
->
move
(
$path
);
if
(
$info
)
{
$img_path
=
$info
->
getSaveName
();
//生成的图片路径
...
...
application/model/Remarks.php
View file @
8bc2d7c9
...
...
@@ -132,8 +132,8 @@ class Remarks extends Model
return
Db
::
table
(
$this
->
table
)
->
field
(
$field
)
->
alias
(
"a"
)
->
join
(
'o_report b'
,
'a.apply_id = b.id'
,
'
LEFT
'
)
->
join
(
'o_order c'
,
'b.id = c.f_id'
,
'
LEFT
'
)
->
join
(
'o_report b'
,
'a.apply_id = b.id'
,
'
right
'
)
->
join
(
'o_order c'
,
'b.id = c.f_id'
,
'
right
'
)
->
join
(
'remarksimgs d'
,
'a.id = d.remarks_id'
,
'LEFT'
)
->
where
(
$where_
)
->
limit
(
$pageSize
)
...
...
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