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
c90e6808
Commit
c90e6808
authored
Sep 30, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车辆数量查询API修改 (预警生成)
parent
2c0c73d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CarController.java
...ava/com/yeejoin/equipmanage/controller/CarController.java
+3
-1
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 @
c90e6808
...
@@ -2,6 +2,7 @@ package com.yeejoin.equipmanage.controller;
...
@@ -2,6 +2,7 @@ package com.yeejoin.equipmanage.controller;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
...
@@ -1625,8 +1626,9 @@ public class CarController extends AbstractBaseController {
...
@@ -1625,8 +1626,9 @@ public class CarController extends AbstractBaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"消防车辆信息查询 - 根据biz_org_code查询"
,
notes
=
"消防车辆信息查询 - 根据biz_org_code查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"消防车辆信息查询 - 根据biz_org_code查询"
,
notes
=
"消防车辆信息查询 - 根据biz_org_code查询"
)
public
Integer
getCarListByCode
(
@RequestParam
String
bizOrgCode
)
{
public
Integer
getCarListByCode
(
@RequestParam
String
bizOrgCode
)
{
bizOrgCode
=
bizOrgCode
.
substring
(
0
,
18
);
LambdaQueryWrapper
<
Car
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
Car
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
Car:
:
getBizOrgCode
,
bizOrgCode
);
wrapper
.
likeRight
(
Car:
:
getBizOrgCode
,
bizOrgCode
);
List
<
Car
>
list
=
iCarService
.
list
(
wrapper
);
List
<
Car
>
list
=
iCarService
.
list
(
wrapper
);
if
(
CollUtil
.
isEmpty
(
list
))
{
if
(
CollUtil
.
isEmpty
(
list
))
{
return
0
;
return
0
;
...
...
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