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
ec860e9c
Commit
ec860e9c
authored
Feb 17, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_ccs' of
http://172.16.10.76/moa/amos-boot-biz
into develop_ccs
parents
efe91d5c
ba57edfc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
6 deletions
+25
-6
EquipmentSpecificDto.java
.../yeejoin/equipmanage/common/dto/EquipmentSpecificDto.java
+4
-0
StringUtil.java
...java/com/yeejoin/equipmanage/common/utils/StringUtil.java
+9
-0
EquipmentSpecificAlarmServiceImpl.java
...anage/service/impl/EquipmentSpecificAlarmServiceImpl.java
+6
-6
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+6
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/dto/EquipmentSpecificDto.java
View file @
ec860e9c
...
@@ -30,4 +30,7 @@ public class EquipmentSpecificDto extends BaseDTO<EquipmentSpecificDto> {
...
@@ -30,4 +30,7 @@ public class EquipmentSpecificDto extends BaseDTO<EquipmentSpecificDto> {
private
Long
teamId
;
private
Long
teamId
;
private
Long
agencyId
;
private
Long
agencyId
;
private
String
team
;
private
String
carId
;
}
}
\ No newline at end of file
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/utils/StringUtil.java
View file @
ec860e9c
...
@@ -6,6 +6,7 @@ import java.util.regex.Pattern;
...
@@ -6,6 +6,7 @@ import java.util.regex.Pattern;
import
org.springframework.util.Assert
;
import
org.springframework.util.Assert
;
import
com.baomidou.mybatisplus.core.toolkit.ObjectUtils
;
import
com.yeejoin.equipmanage.common.vo.QRCodeRequest
;
import
com.yeejoin.equipmanage.common.vo.QRCodeRequest
;
/**
/**
...
@@ -149,4 +150,12 @@ public class StringUtil {
...
@@ -149,4 +150,12 @@ public class StringUtil {
}
}
return
code
;
return
code
;
}
}
public
static
String
toString
(
Object
s
){
if
(
ObjectUtils
.
isEmpty
(
s
)){
return
""
;
}
return
String
.
valueOf
(
s
);
}
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificAlarmServiceImpl.java
View file @
ec860e9c
...
@@ -241,12 +241,12 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
...
@@ -241,12 +241,12 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
}
catch
(
ParseException
e
)
{
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
dataVO
.
setFireEquipmentSpecificIndexName
(
String
.
valueOf
(
x
.
get
(
"fireEquipmentSpecificIndexName"
)));
dataVO
.
setFireEquipmentSpecificIndexName
(
String
Util
.
toString
(
x
.
get
(
"fireEquipmentSpecificIndexName"
)));
dataVO
.
setFireEquipmentName
(
String
.
valueOf
(
x
.
get
(
"fireEquipmentName"
)));
dataVO
.
setFireEquipmentName
(
String
Util
.
toString
(
x
.
get
(
"fireEquipmentName"
)));
dataVO
.
setWarehouseStructureName
(
String
.
valueOf
(
x
.
get
(
"warehouseStructureName"
)));
dataVO
.
setWarehouseStructureName
(
String
Util
.
toString
(
x
.
get
(
"warehouseStructureName"
)));
dataVO
.
setEquipmentName
(
null
==
x
.
get
(
"equipmentName"
)
?
null
:
String
.
valueOf
(
x
.
get
(
"equipmentName"
)));
dataVO
.
setEquipmentName
(
StringUtil
.
toString
(
x
.
get
(
"equipmentName"
)));
dataVO
.
setHandleStatus
(
String
.
valueOf
(
x
.
get
(
"handleStatus"
)));
dataVO
.
setHandleStatus
(
String
Util
.
toString
(
x
.
get
(
"handleStatus"
)));
dataVO
.
setStatus
(
String
.
valueOf
(
x
.
get
(
"status"
)));
dataVO
.
setStatus
(
String
Util
.
toString
(
x
.
get
(
"status"
)));
Object
type
=
x
.
get
(
"type"
);
Object
type
=
x
.
get
(
"type"
);
if
(
AlarmTypeEnum
.
HZGJ
.
getCode
().
equals
(
type
)
||
AlarmTypeEnum
.
GZGJ
.
getCode
().
equals
(
type
)
if
(
AlarmTypeEnum
.
HZGJ
.
getCode
().
equals
(
type
)
||
AlarmTypeEnum
.
GZGJ
.
getCode
().
equals
(
type
)
||
AlarmTypeEnum
.
PB
.
getCode
().
equals
(
type
))
{
||
AlarmTypeEnum
.
PB
.
getCode
().
equals
(
type
))
{
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
ec860e9c
...
@@ -1023,6 +1023,12 @@
...
@@ -1023,6 +1023,12 @@
<if
test=
"vo.like != null and vo.like !=''"
>
<if
test=
"vo.like != null and vo.like !=''"
>
ed.`name` LIKE CONCAT('%', #{vo.like}, '%')
ed.`name` LIKE CONCAT('%', #{vo.like}, '%')
</if>
</if>
<if
test=
"vo.team != null and vo.carId !=null"
>
and es.team_id = (select team_id from wl_car where id =#{vo.carId})
</if>
<if
test=
"vo.categories != null and vo.categories != ''"
>
<if
test=
"vo.categories != null and vo.categories != ''"
>
AND ec.`code` LIKE '1%' and ec.industry_code='2'
AND ec.`code` LIKE '1%' and ec.industry_code='2'
<!-- AND cast(ec.`code` AS SIGNED INTEGER) BETWEEN 10000000 AND 12999900
<!-- AND cast(ec.`code` AS SIGNED INTEGER) BETWEEN 10000000 AND 12999900
...
...
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