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
d172f01a
authored
Mar 25, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加trim
parent
989b614a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
app/Model/QuoteModel.php
app/Model/QuoteModel.php
View file @
d172f01a
...
@@ -93,10 +93,10 @@ class QuoteModel extends Model
...
@@ -93,10 +93,10 @@ class QuoteModel extends Model
$limit
=
$input
[
'limit'
];
$limit
=
$input
[
'limit'
];
$type
=
$input
[
'type'
];
// 1-我的报价,2-所有报价
$type
=
$input
[
'type'
];
// 1-我的报价,2-所有报价
$map
[
'inquiry_sn'
]
=
isset
(
$input
[
'inquiry_sn'
])
?
$input
[
'inquiry_sn'
]
:
''
;
// 询价单号
$map
[
'inquiry_sn'
]
=
isset
(
$input
[
'inquiry_sn'
])
?
trim
(
$input
[
'inquiry_sn'
])
:
''
;
// 询价单号
$map
[
'goods_name'
]
=
isset
(
$input
[
'goods_name'
])
?
$input
[
'goods_name'
]
:
''
;
// 型号
$map
[
'goods_name'
]
=
isset
(
$input
[
'goods_name'
])
?
trim
(
$input
[
'goods_name'
])
:
''
;
// 型号
$map
[
'brand_name'
]
=
isset
(
$input
[
'brand_name'
])
?
$input
[
'brand_name'
]
:
''
;
// 品牌
$map
[
'brand_name'
]
=
isset
(
$input
[
'brand_name'
])
?
trim
(
$input
[
'brand_name'
])
:
''
;
// 品牌
$map
[
'quote_sn'
]
=
isset
(
$input
[
'quote_sn'
])
?
$input
[
'quote_sn'
]
:
''
;
// 报价单号
$map
[
'quote_sn'
]
=
isset
(
$input
[
'quote_sn'
])
?
trim
(
$input
[
'quote_sn'
])
:
''
;
// 报价单号
$map
[
'status'
]
=
isset
(
$input
[
'status'
])
?
$input
[
'status'
]
:
''
;
// 报价状态
$map
[
'status'
]
=
isset
(
$input
[
'status'
])
?
$input
[
'status'
]
:
''
;
// 报价状态
$map
[
'create_uid'
]
=
isset
(
$input
[
'create_uid'
])
?
$input
[
'create_uid'
]
:
''
;
// 报价制单人
$map
[
'create_uid'
]
=
isset
(
$input
[
'create_uid'
])
?
$input
[
'create_uid'
]
:
''
;
// 报价制单人
$map
[
'start_time'
]
=
!
empty
(
$input
[
'start_time'
])
?
strtotime
(
$input
[
'start_time'
])
:
''
;
$map
[
'start_time'
]
=
!
empty
(
$input
[
'start_time'
])
?
strtotime
(
$input
[
'start_time'
])
:
''
;
...
...
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