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
53c81d6a
authored
Apr 02, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
b2811806
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Model/InquiryItemsModel.php
app/Model/InquiryItemsModel.php
View file @
53c81d6a
...
...
@@ -342,8 +342,8 @@ class InquiryItemsModel extends Model
$assignInfo
=
(
new
InquiryItemsAssignModel
())
->
select
(
"assign_uid"
)
->
where
(
"inquiry_items_id"
,
$inquiry_items_id
)
->
get
();
if
(
$assignInfo
){
$assignInfoArr
=
$assignInfo
->
toArray
();
$msg
=
$b
[
"user_name"
]
.
'已修改询价,询价单号:'
.
$mainArr
[
"inquiry_sn"
]
.
'
内容改动后:型号:'
.
$updateArr
[
"goods_name"
]
.
'品牌:'
.
$updateArr
[
"brand_name"
]
.
',批次要求:'
.
$updateArr
[
"batch"
]
.
',交货日期:'
.
(
$updateArr
[
"delivery_time"
]
>
6
?
(
$updateArr
[
"delivery_time"
]
/
7
)
.
"周"
:
$updateArr
[
"delivery_time"
]
.
"天"
)
.
',询价数量:'
.
$updateArr
[
"inquiry_number"
];
$msg
=
$b
[
"user_name"
]
.
'已修改询价,询价单号:'
.
$mainArr
[
"inquiry_sn"
]
.
'
,
内容改动后:型号:'
.
$updateArr
[
"goods_name"
]
.
'
,
品牌:'
.
$updateArr
[
"brand_name"
]
.
',批次要求:'
.
$updateArr
[
"batch"
]
.
',交货日期:'
.
(
$updateArr
[
"delivery_time"
]
>
6
?
(
$updateArr
[
"delivery_time"
]
/
7
)
.
"周"
:
$updateArr
[
"delivery_time"
]
.
"天"
)
.
',询价数量:'
.
$updateArr
[
"inquiry_number"
];
foreach
(
$assignInfoArr
as
$k
=>
$v
){
$CommonModel
->
send_msg
(
$v
[
"assign_uid"
],
$msg
);
}
...
...
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