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
ddfd9d7f
authored
May 14, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新已报价
parent
03c57b98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app/Model/QuoteModel.php
app/Model/QuoteModel.php
View file @
ddfd9d7f
...
@@ -545,9 +545,9 @@ class QuoteModel extends Model
...
@@ -545,9 +545,9 @@ class QuoteModel extends Model
}
}
}
}
//
if ($inquiry_items_status == 1) { // 询价明细为待报价时,更新为已报价
if
(
$inquiry_items_status
==
1
)
{
// 询价明细为待报价时,更新为已报价
//
InquiryItemsModel::where('id', $inquiry_items_id)->update(['status' => 2]);
InquiryItemsModel
::
where
(
'id'
,
$inquiry_items_id
)
->
update
([
'status'
=>
2
]);
//
}
}
// 通知询价人,放入redis
// 通知询价人,放入redis
RedisDB
::
sadd
(
'frq_quote_urge'
,
$inquiry_items_id
);
RedisDB
::
sadd
(
'frq_quote_urge'
,
$inquiry_items_id
);
...
...
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