Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
php_frq_api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
51bce884
authored
Mar 26, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
73ff9ad8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Model/QuoteModel.php
app/Model/QuoteModel.php
View file @
51bce884
...
...
@@ -724,9 +724,9 @@ class QuoteModel extends Model
$info
=
$QuoteModel
->
select
(
"inquiry_items_id"
)
->
where
(
"id"
,
$quote_id
)
->
first
()
->
toArray
();
$inquiry_items_id
=
$info
[
"inquiry_items_id"
];
#更新询价明细表状态
$InquiryItemsModel
->
where
(
"id"
,
$inquiry_items_id
)
->
update
([
"status"
=>
1
,
'update_time'
=>
time
()]);
#更新报价待报价
$InquiryItemsModel
->
where
(
"id"
,
$inquiry_items_id
)
->
update
([
"status"
=>
2
,
'update_time'
=>
time
()]);
#更新报价待报价
#更新
$QuoteModel
->
where
(
"inquiry_items_id"
,
$inquiry_items_id
)
->
update
([
"status"
=>
2
,
'update_time'
=>
time
()]);
#重启其他所有状态为 已报价
$QuoteModel
->
where
(
"inquiry_items_id"
,
$inquiry_items_id
)
->
update
([
"status"
=>
1
,
'update_time'
=>
time
()]);
#重启其他所有状态为 已报价
$data
=
[];
$data
[
'types'
]
=
1
;
...
...
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