Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
fcd2e988
Commit
fcd2e988
authored
Dec 22, 2023
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车辆过滤
parent
04aadfd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
CarController.java
...ava/com/yeejoin/equipmanage/controller/CarController.java
+8
-8
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/CarController.java
View file @
fcd2e988
...
@@ -1435,7 +1435,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1435,7 +1435,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getCarCategoryInfo
();
return
iCarService
.
getCarCategoryInfo
(
orgCode
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -1449,7 +1449,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1449,7 +1449,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getCarEquipStateInfo
(
keyWord
);
return
iCarService
.
getCarEquipStateInfo
(
keyWord
,
orgCode
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -1464,7 +1464,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1464,7 +1464,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getCarEquipAlarmInfoDto
(
keyWord
);
return
iCarService
.
getCarEquipAlarmInfoDto
(
keyWord
,
orgCode
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -1493,7 +1493,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1493,7 +1493,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getCarMileageInfoByMoth
(
date
,
current
,
size
,
keyWord
);
return
iCarService
.
getCarMileageInfoByMoth
(
date
,
current
,
size
,
keyWord
,
orgCode
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -1508,7 +1508,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1508,7 +1508,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
List
<
CarExportDto
>
list
=
this
.
iCarService
.
exportCarMileageInfoByMoth
(
date
,
keyWord
);
List
<
CarExportDto
>
list
=
this
.
iCarService
.
exportCarMileageInfoByMoth
(
date
,
keyWord
,
orgCode
);
if
(
org
.
springframework
.
util
.
StringUtils
.
isEmpty
(
date
))
{
if
(
org
.
springframework
.
util
.
StringUtils
.
isEmpty
(
date
))
{
date
=
DateUtil
.
format
(
new
Date
(),
"yyyy-MM"
);
date
=
DateUtil
.
format
(
new
Date
(),
"yyyy-MM"
);
}
}
...
@@ -1535,7 +1535,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1535,7 +1535,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getCarExcepitonTrack
(
type
,
keyWord
);
return
iCarService
.
getCarExcepitonTrack
(
type
,
keyWord
,
orgCode
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -1550,7 +1550,7 @@ public class CarController extends AbstractBaseController {
...
@@ -1550,7 +1550,7 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getCarWarningRecord
(
keyWord
,
current
,
size
);
return
iCarService
.
getCarWarningRecord
(
keyWord
,
current
,
size
,
orgCode
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
...
@@ -1564,6 +1564,6 @@ public class CarController extends AbstractBaseController {
...
@@ -1564,6 +1564,6 @@ public class CarController extends AbstractBaseController {
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
if
(
reginParams
!=
null
&&
reginParams
.
getCompany
()!=
null
&&!
ObjectUtils
.
isEmpty
(
reginParams
.
getCompany
().
getOrgCode
()))
{
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
orgCode
=
reginParams
.
getCompany
().
getOrgCode
();
}
}
return
iCarService
.
getBizOrgName
();
return
iCarService
.
getBizOrgName
(
orgCode
);
}
}
}
}
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