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
b97b4450
Commit
b97b4450
authored
Jul 13, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://39.98.45.134:8090/moa/amos-boot-biz
into developer
parents
0121b61d
8b5c2b3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
BuildingVideoListVO.java
...oin/equipmanage/common/entity/vo/BuildingVideoListVO.java
+8
-0
VideoMapper.xml
...ot-system-equip/src/main/resources/mapper/VideoMapper.xml
+26
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/entity/vo/BuildingVideoListVO.java
View file @
b97b4450
package
com
.
yeejoin
.
equipmanage
.
common
.
entity
.
vo
;
package
com
.
yeejoin
.
equipmanage
.
common
.
entity
.
vo
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -65,4 +66,11 @@ public class BuildingVideoListVO {
...
@@ -65,4 +66,11 @@ public class BuildingVideoListVO {
@ApiModelProperty
(
"机构编码"
)
@ApiModelProperty
(
"机构编码"
)
private
String
bizOrgCode
;
private
String
bizOrgCode
;
private
String
type
;
private
String
ip
;
}
}
amos-boot-system-equip/src/main/resources/mapper/VideoMapper.xml
View file @
b97b4450
...
@@ -50,6 +50,13 @@
...
@@ -50,6 +50,13 @@
<if
test=
"video!=null and video.bizOrgCode!=null and video.bizOrgCode!=''"
>
<if
test=
"video!=null and video.bizOrgCode!=null and video.bizOrgCode!=''"
>
and wlv.biz_org_code LIKE CONCAT(#{video.bizOrgCode}, '%')
and wlv.biz_org_code LIKE CONCAT(#{video.bizOrgCode}, '%')
</if>
</if>
<if
test=
"video!=null and video.ip!=null and video.ip!=''"
>
and wlv.ip like concat('%',#{video.ip},'%')
</if>
<if
test=
"video!=null and video.type!=null and video.type!=''"
>
and wlv.type=#{video.type}
</if>
group by wlv.id
group by wlv.id
order by wlv.create_date desc
order by wlv.create_date desc
</select>
</select>
...
@@ -108,6 +115,15 @@
...
@@ -108,6 +115,15 @@
<if
test=
"dto.code!=null and dto.code!=''"
>
<if
test=
"dto.code!=null and dto.code!=''"
>
and v.code like concat('%',#{dto.code},'%')
and v.code like concat('%',#{dto.code},'%')
</if>
</if>
<if
test=
" dto.ip!=null and dto.ip!=''"
>
and v.ip like concat('%',#{dto.ip},'%')
</if>
<if
test=
"dto.type!=null and dto.type!=''"
>
and v.type = #{dto.type}
</if>
GROUP BY id
GROUP BY id
order by v.create_date
order by v.create_date
</when>
</when>
...
@@ -122,6 +138,16 @@
...
@@ -122,6 +138,16 @@
<if
test=
"dto.equipmentName!=null and dto.equipmentName!=''"
>
<if
test=
"dto.equipmentName!=null and dto.equipmentName!=''"
>
and v.name like concat('%',#{dto.equipmentName},'%')
and v.name like concat('%',#{dto.equipmentName},'%')
</if>
</if>
<if
test=
" dto.ip!=null and dto.ip!=''"
>
and v.ip like concat('%',#{dto.ip},'%')
</if>
<if
test=
"dto.type!=null and dto.type!=''"
>
and v.type =#{dto.type}
</if>
</where>
</where>
GROUP BY id
GROUP BY id
order by v.create_date
order by v.create_date
...
...
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