Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
dd238ef7
Commit
dd238ef7
authored
Nov 05, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
d7470227
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
AppVehicleController.java
.../com/xxfc/platform/vehicle/rest/AppVehicleController.java
+9
-3
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/AppVehicleController.java
View file @
dd238ef7
...
...
@@ -69,10 +69,16 @@ public class AppVehicleController extends BaseController<VehicleBiz> {
}
@GetMapping
(
"app/unauth/countByCompamyId
/{id}
"
)
@ApiModelProperty
(
"商品
详情
"
)
@GetMapping
(
"app/unauth/countByCompamyId"
)
@ApiModelProperty
(
"商品
数量
"
)
@IgnoreUserToken
public
ObjectRestResponse
countByCompamyId
(
@PathVariable
(
"id"
)
Integer
id
)
{
public
ObjectRestResponse
countByCompamyId
(
@RequestParam
(
value
=
"id"
,
defaultValue
=
"0"
)
Integer
id
)
{
if
(
id
==
null
||
id
==
0
){
List
<
Integer
>
companyIds
=
getBusinessUserCompanyIds
();
if
(
companyIds
!=
null
&&
companyIds
.
size
()
>
0
){
id
=
companyIds
.
get
(
0
);
}
}
return
ObjectRestResponse
.
succ
(
baseBiz
.
countByCompanyId
(
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