Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
refined-platform
Commits
04c193d0
Commit
04c193d0
authored
Apr 16, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加识别计划类
parent
30d25155
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
793 additions
and
565 deletions
+793
-565
refined-manager/src/main/java/com/mortals/xhx/busiz/req/event/Params.java
...src/main/java/com/mortals/xhx/busiz/req/event/Params.java
+0
-11
refined-manager/src/main/java/com/mortals/xhx/busiz/web/HikCallbackController.java
...java/com/mortals/xhx/busiz/web/HikCallbackController.java
+14
-6
refined-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/SubEventStartedService.java
...xhx/daemon/applicationservice/SubEventStartedService.java
+1
-2
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/EventData.java
...ls/xhx/module/hik/event/model/req/callback/EventData.java
+1
-1
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/EventRecognBlackReq.java
...ule/hik/event/model/req/callback/EventRecognBlackReq.java
+9
-0
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/EventsItem.java
...s/xhx/module/hik/event/model/req/callback/EventsItem.java
+22
-0
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/FaceMatchItem.java
...hx/module/hik/event/model/req/callback/FaceMatchItem.java
+2
-2
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/FaceRecognitionResult.java
...e/hik/event/model/req/callback/FaceRecognitionResult.java
+1
-1
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/Params.java
...rtals/xhx/module/hik/event/model/req/callback/Params.java
+17
-0
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/ResInfoItem.java
.../xhx/module/hik/event/model/req/callback/ResInfoItem.java
+1
-1
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/Snap.java
...mortals/xhx/module/hik/event/model/req/callback/Snap.java
+4
-2
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/sub/EventSubReq.java
...rtals/xhx/module/hik/event/model/req/sub/EventSubReq.java
+1
-1
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/service/IHikEventService.java
...ortals/xhx/module/hik/event/service/IHikEventService.java
+11
-3
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/service/impl/HikEventServiceImpl.java
...hx/module/hik/event/service/impl/HikEventServiceImpl.java
+9
-2
refined-manager/src/main/java/com/mortals/xhx/module/notice/model/NoticeEntity.java
...ava/com/mortals/xhx/module/notice/model/NoticeEntity.java
+73
-73
refined-manager/src/main/java/com/mortals/xhx/module/notice/model/NoticeQuery.java
...java/com/mortals/xhx/module/notice/model/NoticeQuery.java
+571
-460
refined-manager/src/test/java/com/mortals/httpclient/EventCallbackController.http
.../java/com/mortals/httpclient/EventCallbackController.http
+56
-0
No files found.
refined-manager/src/main/java/com/mortals/xhx/busiz/req/event/Params.java
deleted
100644 → 0
View file @
30d25155
package
com.mortals.xhx.busiz.req.event
;
import
java.util.List
;
import
lombok.Data
;
@Data
public
class
Params
{
private
String
ability
;
private
List
<
EventsItem
>
events
;
private
String
sendTime
;
}
\ No newline at end of file
refined-manager/src/main/java/com/mortals/xhx/busiz/web/HikCallbackController.java
View file @
04c193d0
package
com.mortals.xhx.busiz.web
;
package
com.mortals.xhx.busiz.web
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.mortals.framework.annotation.UnAuth
;
import
com.mortals.framework.annotation.UnAuth
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.xhx.
busiz.req.event.EventRecognBlackInfo
;
import
com.mortals.xhx.
module.hik.event.model.req.callback.EventRecognBlackReq
;
import
com.mortals.xhx.
common.code.ApiRespCodeEnum
;
import
com.mortals.xhx.
module.hik.event.service.IHikEventService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -16,18 +16,26 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -16,18 +16,26 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j
@Slf4j
@RequestMapping
(
"hik"
)
@RequestMapping
(
"hik"
)
public
class
HikCallbackController
{
public
class
HikCallbackController
{
@Autowired
private
IHikEventService
hikEventService
;
@PostMapping
(
"eventRcv"
)
@PostMapping
(
"eventRcv"
)
@UnAuth
@UnAuth
public
Rest
<
String
>
refreshMessage
(
@RequestBody
EventRecognBlack
Info
req
)
{
public
Rest
<
String
>
refreshMessage
(
@RequestBody
EventRecognBlack
Req
req
)
{
log
.
info
(
"【接收事件数据】【请求体】--> "
+
JSONObject
.
toJSONString
(
req
));
log
.
info
(
"【接收事件数据】【请求体】--> "
+
JSONObject
.
toJSONString
(
req
));
try
{
try
{
if
(
"OnEventNotify"
.
equals
(
req
.
getMethod
()))
{
Rest
<
String
>
rest
=
hikEventService
.
handleEvent
(
req
);
return
rest
;
}
return
Rest
.
ok
(
"接收成功"
);
//todo
//todo
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"接收数据失败"
,
e
);
log
.
error
(
"接收数据失败"
,
e
);
return
Rest
.
fail
();
return
Rest
.
fail
();
}
}
return
Rest
.
ok
();
}
}
}
}
refined-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/SubEventStartedService.java
View file @
04c193d0
...
@@ -6,7 +6,6 @@ import com.mortals.framework.ap.GlobalSysInfo;
...
@@ -6,7 +6,6 @@ import com.mortals.framework.ap.GlobalSysInfo;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.springcloud.service.IApplicationStartedService
;
import
com.mortals.framework.springcloud.service.IApplicationStartedService
;
import
com.mortals.framework.util.ThreadPool
;
import
com.mortals.framework.util.ThreadPool
;
import
com.mortals.xhx.common.code.RecognitionPlanTypeEnum
;
import
com.mortals.xhx.common.code.RecognitionResourceEnum
;
import
com.mortals.xhx.common.code.RecognitionResourceEnum
;
import
com.mortals.xhx.common.code.YesNoEnum
;
import
com.mortals.xhx.common.code.YesNoEnum
;
import
com.mortals.xhx.common.key.Constant
;
import
com.mortals.xhx.common.key.Constant
;
...
@@ -20,7 +19,7 @@ import com.mortals.xhx.module.face.model.FacePlanEntity;
...
@@ -20,7 +19,7 @@ import com.mortals.xhx.module.face.model.FacePlanEntity;
import
com.mortals.xhx.module.face.model.FacePlanQuery
;
import
com.mortals.xhx.module.face.model.FacePlanQuery
;
import
com.mortals.xhx.module.face.service.FaceGroupService
;
import
com.mortals.xhx.module.face.service.FaceGroupService
;
import
com.mortals.xhx.module.face.service.FacePlanService
;
import
com.mortals.xhx.module.face.service.FacePlanService
;
import
com.mortals.xhx.module.hik.event.model.req.EventSubReq
;
import
com.mortals.xhx.module.hik.event.model.req.
sub.
EventSubReq
;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.event.service.IHikEventService
;
import
com.mortals.xhx.module.hik.event.service.IHikEventService
;
import
com.mortals.xhx.module.hik.face.model.req.group.FaceGroupReq
;
import
com.mortals.xhx.module.hik.face.model.req.group.FaceGroupReq
;
...
...
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event
/EventData.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback
/EventData.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
java.util.List
;
import
java.util.List
;
import
lombok.Data
;
import
lombok.Data
;
...
...
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event/EventRecognBlackInfo
.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback/EventRecognBlackReq
.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
lombok.Data
;
import
lombok.Data
;
@Data
@Data
public
class
EventRecognBlack
Info
{
public
class
EventRecognBlack
Req
{
private
String
method
;
private
String
method
;
private
Params
params
;
private
Params
params
;
}
}
\ No newline at end of file
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event
/EventsItem.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback
/EventsItem.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
@Data
@Data
public
class
EventsItem
{
public
class
EventsItem
{
private
String
eventId
;
private
String
eventId
;
...
@@ -11,6 +15,8 @@ public class EventsItem {
...
@@ -11,6 +15,8 @@ public class EventsItem {
private
String
ability
;
private
String
ability
;
private
String
srcType
;
private
String
srcType
;
private
int
timeout
;
private
int
timeout
;
private
String
happenTime
;
@JSONField
(
format
=
"yyyy-MM-dd'T'HH:mm:ssXXX"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
)
private
Date
happenTime
;
private
int
status
;
private
int
status
;
}
}
\ No newline at end of file
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event
/FaceMatchItem.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback
/FaceMatchItem.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -6,7 +6,7 @@ import lombok.Data;
...
@@ -6,7 +6,7 @@ import lombok.Data;
public
class
FaceMatchItem
{
public
class
FaceMatchItem
{
private
String
faceGroupName
;
private
String
faceGroupName
;
private
String
faceInfoSex
;
private
String
faceInfoSex
;
private
d
ouble
similarity
;
private
D
ouble
similarity
;
private
String
facePicUrl
;
private
String
facePicUrl
;
private
String
certificate
;
private
String
certificate
;
private
String
faceGroupCode
;
private
String
faceGroupCode
;
...
...
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event
/FaceRecognitionResult.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback
/FaceRecognitionResult.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
java.util.List
;
import
java.util.List
;
import
lombok.Data
;
import
lombok.Data
;
...
...
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/callback/Params.java
0 → 100644
View file @
04c193d0
package
com.mortals.xhx.module.hik.event.model.req.callback
;
import
java.util.Date
;
import
java.util.List
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
@Data
public
class
Params
{
private
String
ability
;
private
List
<
EventsItem
>
events
;
@JSONField
(
format
=
"yyyy-MM-dd'T'HH:mm:ssXXX"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
)
private
Date
sendTime
;
}
\ No newline at end of file
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event
/ResInfoItem.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback
/ResInfoItem.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
lombok.Data
;
import
lombok.Data
;
...
...
refined-manager/src/main/java/com/mortals/xhx/
busiz/req/event
/Snap.java
→
refined-manager/src/main/java/com/mortals/xhx/
module/hik/event/model/req/callback
/Snap.java
View file @
04c193d0
package
com.mortals.xhx.
busiz.req.event
;
package
com.mortals.xhx.
module.hik.event.model.req.callback
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
@Data
@Data
public
class
Snap
{
public
class
Snap
{
private
String
faceUrl
;
private
String
faceUrl
;
private
String
faceTime
;
private
Date
faceTime
;
private
String
glass
;
private
String
glass
;
private
String
gender
;
private
String
gender
;
private
String
ageGroup
;
private
String
ageGroup
;
...
...
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/EventSubReq.java
→
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/model/req/
sub/
EventSubReq.java
View file @
04c193d0
package
com.mortals.xhx.module.hik.event.model.req
;
package
com.mortals.xhx.module.hik.event.model.req
.sub
;
import
java.util.List
;
import
java.util.List
;
import
lombok.Data
;
import
lombok.Data
;
...
...
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/service/IHikEventService.java
View file @
04c193d0
...
@@ -2,10 +2,9 @@ package com.mortals.xhx.module.hik.event.service;
...
@@ -2,10 +2,9 @@ package com.mortals.xhx.module.hik.event.service;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.xhx.module.hik.event.model.req.EventSubReq
;
import
com.mortals.xhx.module.hik.event.model.req.callback.EventRecognBlackReq
;
import
com.mortals.xhx.module.hik.event.model.req.sub.EventSubReq
;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.person.model.req.person.PersonReq
;
import
com.mortals.xhx.module.hik.person.model.rsp.person.PersonDataInfo
;
import
java.util.List
;
import
java.util.List
;
...
@@ -39,4 +38,13 @@ public interface IHikEventService {
...
@@ -39,4 +38,13 @@ public interface IHikEventService {
*/
*/
Rest
<
String
>
cancelEvent
(
EventSubReq
eventSubReq
);
Rest
<
String
>
cancelEvent
(
EventSubReq
eventSubReq
);
/**
* 处理回调事件
*
* @param eventRecognBlackReq
* @return
*/
Rest
<
String
>
handleEvent
(
EventRecognBlackReq
eventRecognBlackReq
);
}
}
refined-manager/src/main/java/com/mortals/xhx/module/hik/event/service/impl/HikEventServiceImpl.java
View file @
04c193d0
...
@@ -7,10 +7,10 @@ import com.hikvision.artemis.sdk.config.ArtemisConfig;
...
@@ -7,10 +7,10 @@ import com.hikvision.artemis.sdk.config.ArtemisConfig;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.xhx.module.hik.AbstractHikService
;
import
com.mortals.xhx.module.hik.AbstractHikService
;
import
com.mortals.xhx.module.hik.HikApiRest
;
import
com.mortals.xhx.module.hik.HikApiRest
;
import
com.mortals.xhx.module.hik.event.model.req.EventSubReq
;
import
com.mortals.xhx.module.hik.event.model.req.callback.EventRecognBlackReq
;
import
com.mortals.xhx.module.hik.event.model.req.sub.EventSubReq
;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.event.model.rsp.EventInfo
;
import
com.mortals.xhx.module.hik.event.service.IHikEventService
;
import
com.mortals.xhx.module.hik.event.service.IHikEventService
;
import
com.mortals.xhx.module.hik.face.model.rsp.plan.PlanRecognBlackInfo
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -90,4 +90,11 @@ public class HikEventServiceImpl extends AbstractHikService implements IHikEvent
...
@@ -90,4 +90,11 @@ public class HikEventServiceImpl extends AbstractHikService implements IHikEvent
return
Rest
.
fail
(
e
.
getMessage
());
return
Rest
.
fail
(
e
.
getMessage
());
}
}
}
}
@Override
public
Rest
<
String
>
handleEvent
(
EventRecognBlackReq
eventRecognBlackReq
)
{
//处理识别业务 todo
return
Rest
.
ok
(
"处理成功!"
);
}
}
}
refined-manager/src/main/java/com/mortals/xhx/module/notice/model/NoticeEntity.java
View file @
04c193d0
...
@@ -8,46 +8,46 @@ import com.mortals.framework.annotation.Excel;
...
@@ -8,46 +8,46 @@ import com.mortals.framework.annotation.Excel;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.notice.model.vo.NoticeVo
;
import
com.mortals.xhx.module.notice.model.vo.NoticeVo
;
/**
/**
* 用户消息实体对象
* 用户消息实体对象
*
*
* @author zxfei
* @author zxfei
* @date 2023-04-15
* @date 2023-04-16
*/
*/
public
class
NoticeEntity
extends
NoticeVo
{
public
class
NoticeEntity
extends
NoticeVo
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
/**
/**
* 接收消息的用户的唯一标识符
* 接收消息的用户的唯一标识符
*/
*/
private
Long
userId
;
private
Long
userId
;
/**
/**
* 消息的标题
* 消息的标题
*/
*/
@Excel
(
name
=
"消息的标题"
)
@Excel
(
name
=
"消息的标题"
)
private
String
title
;
private
String
title
;
/**
/**
* 消息的内容
* 消息的内容
*/
*/
@Excel
(
name
=
"消息的内容"
)
@Excel
(
name
=
"消息的内容"
)
private
String
content
;
private
String
content
;
/**
/**
* 是否已读 (0.否,1.是)
* 是否已读 (0.否,1.是)
*/
*/
@Excel
(
name
=
"是否已读 "
,
readConverterExp
=
"0=否,1.是"
)
@Excel
(
name
=
"是否已读 "
,
readConverterExp
=
"0=否,1.是"
)
private
Date
read
;
private
Integer
read
;
/**
/**
* 消息的优先级,越高表示越紧急,不为空
* 消息的优先级,越高表示越紧急,不为空
*/
*/
@Excel
(
name
=
"消息的优先级,越高表示越紧急,不为空"
)
@Excel
(
name
=
"消息的优先级,越高表示越紧急,不为空"
)
private
Integer
priority
;
private
Integer
priority
;
/**
/**
* 消息的过期时间,超过此时间则自动标记为已读
* 消息的过期时间,超过此时间则自动标记为已读
*/
*/
private
Date
expireTime
;
private
Date
expireTime
;
/**
/**
* 消息的来源类型,例如“系统”、“好友”等,可以为空
* 消息的来源类型,例如“系统”、“好友”等,可以为空
*/
*/
@Excel
(
name
=
"消息的来源类型,例如“系统”、“好友”等,可以为空"
)
@Excel
(
name
=
"消息的来源类型,例如“系统”、“好友”等,可以为空"
)
private
String
sourceType
;
private
String
sourceType
;
...
@@ -55,100 +55,100 @@ public class NoticeEntity extends NoticeVo {
...
@@ -55,100 +55,100 @@ public class NoticeEntity extends NoticeVo {
public
NoticeEntity
(){}
public
NoticeEntity
(){}
/**
/**
* 获取 接收消息的用户的唯一标识符
* 获取 接收消息的用户的唯一标识符
* @return Long
* @return Long
*/
*/
public
Long
getUserId
(){
public
Long
getUserId
(){
return
userId
;
return
userId
;
}
}
/**
/**
* 设置 接收消息的用户的唯一标识符
* 设置 接收消息的用户的唯一标识符
* @param userId
* @param userId
*/
*/
public
void
setUserId
(
Long
userId
){
public
void
setUserId
(
Long
userId
){
this
.
userId
=
userId
;
this
.
userId
=
userId
;
}
}
/**
/**
* 获取 消息的标题
* 获取 消息的标题
* @return String
* @return String
*/
*/
public
String
getTitle
(){
public
String
getTitle
(){
return
title
;
return
title
;
}
}
/**
/**
* 设置 消息的标题
* 设置 消息的标题
* @param title
* @param title
*/
*/
public
void
setTitle
(
String
title
){
public
void
setTitle
(
String
title
){
this
.
title
=
title
;
this
.
title
=
title
;
}
}
/**
/**
* 获取 消息的内容
* 获取 消息的内容
* @return String
* @return String
*/
*/
public
String
getContent
(){
public
String
getContent
(){
return
content
;
return
content
;
}
}
/**
/**
* 设置 消息的内容
* 设置 消息的内容
* @param content
* @param content
*/
*/
public
void
setContent
(
String
content
){
public
void
setContent
(
String
content
){
this
.
content
=
content
;
this
.
content
=
content
;
}
}
/**
/**
* 获取 是否已读 (0.否,1.是)
* 获取 是否已读 (0.否,1.是)
* @return Date
* @return Integer
*/
*/
public
Date
getRead
(){
public
Integer
getRead
(){
return
read
;
return
read
;
}
}
/**
/**
* 设置 是否已读 (0.否,1.是)
* 设置 是否已读 (0.否,1.是)
* @param read
* @param read
*/
*/
public
void
setRead
(
Date
read
){
public
void
setRead
(
Integer
read
){
this
.
read
=
read
;
this
.
read
=
read
;
}
}
/**
/**
* 获取 消息的优先级,越高表示越紧急,不为空
* 获取 消息的优先级,越高表示越紧急,不为空
* @return Integer
* @return Integer
*/
*/
public
Integer
getPriority
(){
public
Integer
getPriority
(){
return
priority
;
return
priority
;
}
}
/**
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* 设置 消息的优先级,越高表示越紧急,不为空
* @param priority
* @param priority
*/
*/
public
void
setPriority
(
Integer
priority
){
public
void
setPriority
(
Integer
priority
){
this
.
priority
=
priority
;
this
.
priority
=
priority
;
}
}
/**
/**
* 获取 消息的过期时间,超过此时间则自动标记为已读
* 获取 消息的过期时间,超过此时间则自动标记为已读
* @return Date
* @return Date
*/
*/
public
Date
getExpireTime
(){
public
Date
getExpireTime
(){
return
expireTime
;
return
expireTime
;
}
}
/**
/**
* 设置 消息的过期时间,超过此时间则自动标记为已读
* 设置 消息的过期时间,超过此时间则自动标记为已读
* @param expireTime
* @param expireTime
*/
*/
public
void
setExpireTime
(
Date
expireTime
){
public
void
setExpireTime
(
Date
expireTime
){
this
.
expireTime
=
expireTime
;
this
.
expireTime
=
expireTime
;
}
}
/**
/**
* 获取 消息的来源类型,例如“系统”、“好友”等,可以为空
* 获取 消息的来源类型,例如“系统”、“好友”等,可以为空
* @return String
* @return String
*/
*/
public
String
getSourceType
(){
public
String
getSourceType
(){
return
sourceType
;
return
sourceType
;
}
}
/**
/**
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* @param sourceType
* @param sourceType
*/
*/
public
void
setSourceType
(
String
sourceType
){
public
void
setSourceType
(
String
sourceType
){
this
.
sourceType
=
sourceType
;
this
.
sourceType
=
sourceType
;
}
}
...
@@ -158,7 +158,7 @@ public class NoticeEntity extends NoticeVo {
...
@@ -158,7 +158,7 @@ public class NoticeEntity extends NoticeVo {
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
return
this
.
getId
().
hashCode
();
}
}
@Override
@Override
public
boolean
equals
(
Object
obj
)
{
public
boolean
equals
(
Object
obj
)
{
...
@@ -166,7 +166,7 @@ public class NoticeEntity extends NoticeVo {
...
@@ -166,7 +166,7 @@ public class NoticeEntity extends NoticeVo {
if
(
obj
instanceof
NoticeEntity
)
{
if
(
obj
instanceof
NoticeEntity
)
{
NoticeEntity
tmp
=
(
NoticeEntity
)
obj
;
NoticeEntity
tmp
=
(
NoticeEntity
)
obj
;
if
(
this
.
getId
()
==
tmp
.
getId
())
{
if
(
this
.
getId
()
==
tmp
.
getId
())
{
return
true
;
return
true
;
}
}
}
}
return
false
;
return
false
;
...
@@ -186,18 +186,18 @@ public class NoticeEntity extends NoticeVo {
...
@@ -186,18 +186,18 @@ public class NoticeEntity extends NoticeVo {
public
void
initAttrValue
(){
public
void
initAttrValue
(){
this
.
userId
=
null
;
this
.
userId
=
null
;
this
.
title
=
""
;
this
.
title
=
""
;
this
.
content
=
""
;
this
.
content
=
""
;
this
.
read
=
null
;
this
.
read
=
0
;
this
.
priority
=
0
;
this
.
priority
=
0
;
this
.
expireTime
=
null
;
this
.
expireTime
=
null
;
this
.
sourceType
=
""
;
this
.
sourceType
=
""
;
}
}
}
}
\ No newline at end of file
refined-manager/src/main/java/com/mortals/xhx/module/notice/model/NoticeQuery.java
View file @
04c193d0
...
@@ -4,11 +4,11 @@ import java.util.Date;
...
@@ -4,11 +4,11 @@ import java.util.Date;
import
java.util.List
;
import
java.util.List
;
import
com.mortals.xhx.module.notice.model.NoticeEntity
;
import
com.mortals.xhx.module.notice.model.NoticeEntity
;
/**
/**
* 用户消息查询对象
* 用户消息查询对象
*
*
* @author zxfei
* @author zxfei
* @date 2023-04-15
* @date 2023-04-16
*/
*/
public
class
NoticeQuery
extends
NoticeEntity
{
public
class
NoticeQuery
extends
NoticeEntity
{
/** 开始 主键ID */
/** 开始 主键ID */
private
Long
idStart
;
private
Long
idStart
;
...
@@ -51,10 +51,19 @@ public class NoticeQuery extends NoticeEntity {
...
@@ -51,10 +51,19 @@ public class NoticeQuery extends NoticeEntity {
/** 消息的内容排除列表 */
/** 消息的内容排除列表 */
private
List
<
String
>
contentNotList
;
private
List
<
String
>
contentNotList
;
/** 开始 是否已读 (0.否,1.是) */
/** 开始 是否已读 (0.否,1.是) */
private
String
readStart
;
private
Integer
readStart
;
/** 结束 是否已读 (0.否,1.是) */
/** 结束 是否已读 (0.否,1.是) */
private
String
readEnd
;
private
Integer
readEnd
;
/** 增加 是否已读 (0.否,1.是) */
private
Integer
readIncrement
;
/** 是否已读 (0.否,1.是)列表 */
private
List
<
Integer
>
readList
;
/** 是否已读 (0.否,1.是)排除列表 */
private
List
<
Integer
>
readNotList
;
/** 开始 消息的优先级,越高表示越紧急,不为空 */
/** 开始 消息的优先级,越高表示越紧急,不为空 */
private
Integer
priorityStart
;
private
Integer
priorityStart
;
...
@@ -133,993 +142,1095 @@ public class NoticeQuery extends NoticeEntity {
...
@@ -133,993 +142,1095 @@ public class NoticeQuery extends NoticeEntity {
public
NoticeQuery
(){}
public
NoticeQuery
(){}
/**
/**
* 获取 开始 主键ID
* 获取 开始 主键ID
* @return idStart
* @return idStart
*/
*/
public
Long
getIdStart
(){
public
Long
getIdStart
(){
return
this
.
idStart
;
return
this
.
idStart
;
}
}
/**
/**
* 设置 开始 主键ID
* 设置 开始 主键ID
* @param idStart
* @param idStart
*/
*/
public
void
setIdStart
(
Long
idStart
){
public
void
setIdStart
(
Long
idStart
){
this
.
idStart
=
idStart
;
this
.
idStart
=
idStart
;
}
}
/**
/**
* 获取 结束 主键ID
* 获取 结束 主键ID
* @return $idEnd
* @return $idEnd
*/
*/
public
Long
getIdEnd
(){
public
Long
getIdEnd
(){
return
this
.
idEnd
;
return
this
.
idEnd
;
}
}
/**
/**
* 设置 结束 主键ID
* 设置 结束 主键ID
* @param idEnd
* @param idEnd
*/
*/
public
void
setIdEnd
(
Long
idEnd
){
public
void
setIdEnd
(
Long
idEnd
){
this
.
idEnd
=
idEnd
;
this
.
idEnd
=
idEnd
;
}
}
/**
/**
* 获取 增加 主键ID
* 获取 增加 主键ID
* @return idIncrement
* @return idIncrement
*/
*/
public
Long
getIdIncrement
(){
public
Long
getIdIncrement
(){
return
this
.
idIncrement
;
return
this
.
idIncrement
;
}
}
/**
/**
* 设置 增加 主键ID
* 设置 增加 主键ID
* @param idIncrement
* @param idIncrement
*/
*/
public
void
setIdIncrement
(
Long
idIncrement
){
public
void
setIdIncrement
(
Long
idIncrement
){
this
.
idIncrement
=
idIncrement
;
this
.
idIncrement
=
idIncrement
;
}
}
/**
/**
* 获取 主键ID
* 获取 主键ID
* @return idList
* @return idList
*/
*/
public
List
<
Long
>
getIdList
(){
public
List
<
Long
>
getIdList
(){
return
this
.
idList
;
return
this
.
idList
;
}
}
/**
/**
* 设置 主键ID
* 设置 主键ID
* @param idList
* @param idList
*/
*/
public
void
setIdList
(
List
<
Long
>
idList
){
public
void
setIdList
(
List
<
Long
>
idList
){
this
.
idList
=
idList
;
this
.
idList
=
idList
;
}
}
/**
/**
* 获取 主键ID
* 获取 主键ID
* @return idNotList
* @return idNotList
*/
*/
public
List
<
Long
>
getIdNotList
(){
public
List
<
Long
>
getIdNotList
(){
return
this
.
idNotList
;
return
this
.
idNotList
;
}
}
/**
/**
* 设置 主键ID
* 设置 主键ID
* @param idNotList
* @param idNotList
*/
*/
public
void
setIdNotList
(
List
<
Long
>
idNotList
){
public
void
setIdNotList
(
List
<
Long
>
idNotList
){
this
.
idNotList
=
idNotList
;
this
.
idNotList
=
idNotList
;
}
}
/**
/**
* 获取 开始 接收消息的用户的唯一标识符
* 获取 开始 接收消息的用户的唯一标识符
* @return userIdStart
* @return userIdStart
*/
*/
public
Long
getUserIdStart
(){
public
Long
getUserIdStart
(){
return
this
.
userIdStart
;
return
this
.
userIdStart
;
}
}
/**
/**
* 设置 开始 接收消息的用户的唯一标识符
* 设置 开始 接收消息的用户的唯一标识符
* @param userIdStart
* @param userIdStart
*/
*/
public
void
setUserIdStart
(
Long
userIdStart
){
public
void
setUserIdStart
(
Long
userIdStart
){
this
.
userIdStart
=
userIdStart
;
this
.
userIdStart
=
userIdStart
;
}
}
/**
/**
* 获取 结束 接收消息的用户的唯一标识符
* 获取 结束 接收消息的用户的唯一标识符
* @return $userIdEnd
* @return $userIdEnd
*/
*/
public
Long
getUserIdEnd
(){
public
Long
getUserIdEnd
(){
return
this
.
userIdEnd
;
return
this
.
userIdEnd
;
}
}
/**
/**
* 设置 结束 接收消息的用户的唯一标识符
* 设置 结束 接收消息的用户的唯一标识符
* @param userIdEnd
* @param userIdEnd
*/
*/
public
void
setUserIdEnd
(
Long
userIdEnd
){
public
void
setUserIdEnd
(
Long
userIdEnd
){
this
.
userIdEnd
=
userIdEnd
;
this
.
userIdEnd
=
userIdEnd
;
}
}
/**
/**
* 获取 增加 接收消息的用户的唯一标识符
* 获取 增加 接收消息的用户的唯一标识符
* @return userIdIncrement
* @return userIdIncrement
*/
*/
public
Long
getUserIdIncrement
(){
public
Long
getUserIdIncrement
(){
return
this
.
userIdIncrement
;
return
this
.
userIdIncrement
;
}
}
/**
/**
* 设置 增加 接收消息的用户的唯一标识符
* 设置 增加 接收消息的用户的唯一标识符
* @param userIdIncrement
* @param userIdIncrement
*/
*/
public
void
setUserIdIncrement
(
Long
userIdIncrement
){
public
void
setUserIdIncrement
(
Long
userIdIncrement
){
this
.
userIdIncrement
=
userIdIncrement
;
this
.
userIdIncrement
=
userIdIncrement
;
}
}
/**
/**
* 获取 接收消息的用户的唯一标识符
* 获取 接收消息的用户的唯一标识符
* @return userIdList
* @return userIdList
*/
*/
public
List
<
Long
>
getUserIdList
(){
public
List
<
Long
>
getUserIdList
(){
return
this
.
userIdList
;
return
this
.
userIdList
;
}
}
/**
/**
* 设置 接收消息的用户的唯一标识符
* 设置 接收消息的用户的唯一标识符
* @param userIdList
* @param userIdList
*/
*/
public
void
setUserIdList
(
List
<
Long
>
userIdList
){
public
void
setUserIdList
(
List
<
Long
>
userIdList
){
this
.
userIdList
=
userIdList
;
this
.
userIdList
=
userIdList
;
}
}
/**
/**
* 获取 接收消息的用户的唯一标识符
* 获取 接收消息的用户的唯一标识符
* @return userIdNotList
* @return userIdNotList
*/
*/
public
List
<
Long
>
getUserIdNotList
(){
public
List
<
Long
>
getUserIdNotList
(){
return
this
.
userIdNotList
;
return
this
.
userIdNotList
;
}
}
/**
/**
* 设置 接收消息的用户的唯一标识符
* 设置 接收消息的用户的唯一标识符
* @param userIdNotList
* @param userIdNotList
*/
*/
public
void
setUserIdNotList
(
List
<
Long
>
userIdNotList
){
public
void
setUserIdNotList
(
List
<
Long
>
userIdNotList
){
this
.
userIdNotList
=
userIdNotList
;
this
.
userIdNotList
=
userIdNotList
;
}
}
/**
/**
* 获取 消息的标题
* 获取 消息的标题
* @return titleList
* @return titleList
*/
*/
public
List
<
String
>
getTitleList
(){
public
List
<
String
>
getTitleList
(){
return
this
.
titleList
;
return
this
.
titleList
;
}
}
/**
/**
* 设置 消息的标题
* 设置 消息的标题
* @param titleList
* @param titleList
*/
*/
public
void
setTitleList
(
List
<
String
>
titleList
){
public
void
setTitleList
(
List
<
String
>
titleList
){
this
.
titleList
=
titleList
;
this
.
titleList
=
titleList
;
}
}
/**
/**
* 获取 消息的标题
* 获取 消息的标题
* @return titleNotList
* @return titleNotList
*/
*/
public
List
<
String
>
getTitleNotList
(){
public
List
<
String
>
getTitleNotList
(){
return
this
.
titleNotList
;
return
this
.
titleNotList
;
}
}
/**
/**
* 设置 消息的标题
* 设置 消息的标题
* @param titleNotList
* @param titleNotList
*/
*/
public
void
setTitleNotList
(
List
<
String
>
titleNotList
){
public
void
setTitleNotList
(
List
<
String
>
titleNotList
){
this
.
titleNotList
=
titleNotList
;
this
.
titleNotList
=
titleNotList
;
}
}
/**
/**
* 获取 消息的内容
* 获取 消息的内容
* @return contentList
* @return contentList
*/
*/
public
List
<
String
>
getContentList
(){
public
List
<
String
>
getContentList
(){
return
this
.
contentList
;
return
this
.
contentList
;
}
}
/**
/**
* 设置 消息的内容
* 设置 消息的内容
* @param contentList
* @param contentList
*/
*/
public
void
setContentList
(
List
<
String
>
contentList
){
public
void
setContentList
(
List
<
String
>
contentList
){
this
.
contentList
=
contentList
;
this
.
contentList
=
contentList
;
}
}
/**
/**
* 获取 消息的内容
* 获取 消息的内容
* @return contentNotList
* @return contentNotList
*/
*/
public
List
<
String
>
getContentNotList
(){
public
List
<
String
>
getContentNotList
(){
return
this
.
contentNotList
;
return
this
.
contentNotList
;
}
}
/**
/**
* 设置 消息的内容
* 设置 消息的内容
* @param contentNotList
* @param contentNotList
*/
*/
public
void
setContentNotList
(
List
<
String
>
contentNotList
){
public
void
setContentNotList
(
List
<
String
>
contentNotList
){
this
.
contentNotList
=
contentNotList
;
this
.
contentNotList
=
contentNotList
;
}
}
/**
/**
* 获取 开始 是否已读 (0.否,1.是)
* 获取 开始 是否已读 (0.否,1.是)
* @return readStart
* @return readStart
*/
*/
public
String
getReadStart
(){
public
Integer
getReadStart
(){
return
this
.
readStart
;
return
this
.
readStart
;
}
}
/**
/**
* 设置 开始 是否已读 (0.否,1.是)
* 设置 开始 是否已读 (0.否,1.是)
* @param readStart
* @param readStart
*/
*/
public
void
setReadStart
(
String
readStart
){
public
void
setReadStart
(
Integer
readStart
){
this
.
readStart
=
readStart
;
this
.
readStart
=
readStart
;
}
}
/**
/**
* 获取 结束 是否已读 (0.否,1.是)
* 获取 结束 是否已读 (0.否,1.是)
* @return
readEnd
* @return $
readEnd
*/
*/
public
String
getReadEnd
(){
public
Integer
getReadEnd
(){
return
this
.
readEnd
;
return
this
.
readEnd
;
}
}
/**
/**
* 设置 结束 是否已读 (0.否,1.是)
* 设置 结束 是否已读 (0.否,1.是)
* @param readEnd
* @param readEnd
*/
*/
public
void
setReadEnd
(
String
readEnd
){
public
void
setReadEnd
(
Integer
readEnd
){
this
.
readEnd
=
readEnd
;
this
.
readEnd
=
readEnd
;
}
}
/**
/**
* 获取 开始 消息的优先级,越高表示越紧急,不为空
* 获取 增加 是否已读 (0.否,1.是)
* @return priorityStart
* @return readIncrement
*/
*/
public
Integer
getReadIncrement
(){
return
this
.
readIncrement
;
}
/**
* 设置 增加 是否已读 (0.否,1.是)
* @param readIncrement
*/
public
void
setReadIncrement
(
Integer
readIncrement
){
this
.
readIncrement
=
readIncrement
;
}
/**
* 获取 是否已读 (0.否,1.是)
* @return readList
*/
public
List
<
Integer
>
getReadList
(){
return
this
.
readList
;
}
/**
* 设置 是否已读 (0.否,1.是)
* @param readList
*/
public
void
setReadList
(
List
<
Integer
>
readList
){
this
.
readList
=
readList
;
}
/**
* 获取 是否已读 (0.否,1.是)
* @return readNotList
*/
public
List
<
Integer
>
getReadNotList
(){
return
this
.
readNotList
;
}
/**
* 设置 是否已读 (0.否,1.是)
* @param readNotList
*/
public
void
setReadNotList
(
List
<
Integer
>
readNotList
){
this
.
readNotList
=
readNotList
;
}
/**
* 获取 开始 消息的优先级,越高表示越紧急,不为空
* @return priorityStart
*/
public
Integer
getPriorityStart
(){
public
Integer
getPriorityStart
(){
return
this
.
priorityStart
;
return
this
.
priorityStart
;
}
}
/**
/**
* 设置 开始 消息的优先级,越高表示越紧急,不为空
* 设置 开始 消息的优先级,越高表示越紧急,不为空
* @param priorityStart
* @param priorityStart
*/
*/
public
void
setPriorityStart
(
Integer
priorityStart
){
public
void
setPriorityStart
(
Integer
priorityStart
){
this
.
priorityStart
=
priorityStart
;
this
.
priorityStart
=
priorityStart
;
}
}
/**
/**
* 获取 结束 消息的优先级,越高表示越紧急,不为空
* 获取 结束 消息的优先级,越高表示越紧急,不为空
* @return $priorityEnd
* @return $priorityEnd
*/
*/
public
Integer
getPriorityEnd
(){
public
Integer
getPriorityEnd
(){
return
this
.
priorityEnd
;
return
this
.
priorityEnd
;
}
}
/**
/**
* 设置 结束 消息的优先级,越高表示越紧急,不为空
* 设置 结束 消息的优先级,越高表示越紧急,不为空
* @param priorityEnd
* @param priorityEnd
*/
*/
public
void
setPriorityEnd
(
Integer
priorityEnd
){
public
void
setPriorityEnd
(
Integer
priorityEnd
){
this
.
priorityEnd
=
priorityEnd
;
this
.
priorityEnd
=
priorityEnd
;
}
}
/**
/**
* 获取 增加 消息的优先级,越高表示越紧急,不为空
* 获取 增加 消息的优先级,越高表示越紧急,不为空
* @return priorityIncrement
* @return priorityIncrement
*/
*/
public
Integer
getPriorityIncrement
(){
public
Integer
getPriorityIncrement
(){
return
this
.
priorityIncrement
;
return
this
.
priorityIncrement
;
}
}
/**
/**
* 设置 增加 消息的优先级,越高表示越紧急,不为空
* 设置 增加 消息的优先级,越高表示越紧急,不为空
* @param priorityIncrement
* @param priorityIncrement
*/
*/
public
void
setPriorityIncrement
(
Integer
priorityIncrement
){
public
void
setPriorityIncrement
(
Integer
priorityIncrement
){
this
.
priorityIncrement
=
priorityIncrement
;
this
.
priorityIncrement
=
priorityIncrement
;
}
}
/**
/**
* 获取 消息的优先级,越高表示越紧急,不为空
* 获取 消息的优先级,越高表示越紧急,不为空
* @return priorityList
* @return priorityList
*/
*/
public
List
<
Integer
>
getPriorityList
(){
public
List
<
Integer
>
getPriorityList
(){
return
this
.
priorityList
;
return
this
.
priorityList
;
}
}
/**
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* 设置 消息的优先级,越高表示越紧急,不为空
* @param priorityList
* @param priorityList
*/
*/
public
void
setPriorityList
(
List
<
Integer
>
priorityList
){
public
void
setPriorityList
(
List
<
Integer
>
priorityList
){
this
.
priorityList
=
priorityList
;
this
.
priorityList
=
priorityList
;
}
}
/**
/**
* 获取 消息的优先级,越高表示越紧急,不为空
* 获取 消息的优先级,越高表示越紧急,不为空
* @return priorityNotList
* @return priorityNotList
*/
*/
public
List
<
Integer
>
getPriorityNotList
(){
public
List
<
Integer
>
getPriorityNotList
(){
return
this
.
priorityNotList
;
return
this
.
priorityNotList
;
}
}
/**
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* 设置 消息的优先级,越高表示越紧急,不为空
* @param priorityNotList
* @param priorityNotList
*/
*/
public
void
setPriorityNotList
(
List
<
Integer
>
priorityNotList
){
public
void
setPriorityNotList
(
List
<
Integer
>
priorityNotList
){
this
.
priorityNotList
=
priorityNotList
;
this
.
priorityNotList
=
priorityNotList
;
}
}
/**
/**
* 获取 开始 消息的过期时间,超过此时间则自动标记为已读
* 获取 开始 消息的过期时间,超过此时间则自动标记为已读
* @return expireTimeStart
* @return expireTimeStart
*/
*/
public
String
getExpireTimeStart
(){
public
String
getExpireTimeStart
(){
return
this
.
expireTimeStart
;
return
this
.
expireTimeStart
;
}
}
/**
/**
* 设置 开始 消息的过期时间,超过此时间则自动标记为已读
* 设置 开始 消息的过期时间,超过此时间则自动标记为已读
* @param expireTimeStart
* @param expireTimeStart
*/
*/
public
void
setExpireTimeStart
(
String
expireTimeStart
){
public
void
setExpireTimeStart
(
String
expireTimeStart
){
this
.
expireTimeStart
=
expireTimeStart
;
this
.
expireTimeStart
=
expireTimeStart
;
}
}
/**
/**
* 获取 结束 消息的过期时间,超过此时间则自动标记为已读
* 获取 结束 消息的过期时间,超过此时间则自动标记为已读
* @return expireTimeEnd
* @return expireTimeEnd
*/
*/
public
String
getExpireTimeEnd
(){
public
String
getExpireTimeEnd
(){
return
this
.
expireTimeEnd
;
return
this
.
expireTimeEnd
;
}
}
/**
/**
* 设置 结束 消息的过期时间,超过此时间则自动标记为已读
* 设置 结束 消息的过期时间,超过此时间则自动标记为已读
* @param expireTimeEnd
* @param expireTimeEnd
*/
*/
public
void
setExpireTimeEnd
(
String
expireTimeEnd
){
public
void
setExpireTimeEnd
(
String
expireTimeEnd
){
this
.
expireTimeEnd
=
expireTimeEnd
;
this
.
expireTimeEnd
=
expireTimeEnd
;
}
}
/**
/**
* 获取 消息的来源类型,例如“系统”、“好友”等,可以为空
* 获取 消息的来源类型,例如“系统”、“好友”等,可以为空
* @return sourceTypeList
* @return sourceTypeList
*/
*/
public
List
<
String
>
getSourceTypeList
(){
public
List
<
String
>
getSourceTypeList
(){
return
this
.
sourceTypeList
;
return
this
.
sourceTypeList
;
}
}
/**
/**
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* @param sourceTypeList
* @param sourceTypeList
*/
*/
public
void
setSourceTypeList
(
List
<
String
>
sourceTypeList
){
public
void
setSourceTypeList
(
List
<
String
>
sourceTypeList
){
this
.
sourceTypeList
=
sourceTypeList
;
this
.
sourceTypeList
=
sourceTypeList
;
}
}
/**
/**
* 获取 消息的来源类型,例如“系统”、“好友”等,可以为空
* 获取 消息的来源类型,例如“系统”、“好友”等,可以为空
* @return sourceTypeNotList
* @return sourceTypeNotList
*/
*/
public
List
<
String
>
getSourceTypeNotList
(){
public
List
<
String
>
getSourceTypeNotList
(){
return
this
.
sourceTypeNotList
;
return
this
.
sourceTypeNotList
;
}
}
/**
/**
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* @param sourceTypeNotList
* @param sourceTypeNotList
*/
*/
public
void
setSourceTypeNotList
(
List
<
String
>
sourceTypeNotList
){
public
void
setSourceTypeNotList
(
List
<
String
>
sourceTypeNotList
){
this
.
sourceTypeNotList
=
sourceTypeNotList
;
this
.
sourceTypeNotList
=
sourceTypeNotList
;
}
}
/**
/**
* 获取 开始 创建时间
* 获取 开始 创建时间
* @return createTimeStart
* @return createTimeStart
*/
*/
public
String
getCreateTimeStart
(){
public
String
getCreateTimeStart
(){
return
this
.
createTimeStart
;
return
this
.
createTimeStart
;
}
}
/**
/**
* 设置 开始 创建时间
* 设置 开始 创建时间
* @param createTimeStart
* @param createTimeStart
*/
*/
public
void
setCreateTimeStart
(
String
createTimeStart
){
public
void
setCreateTimeStart
(
String
createTimeStart
){
this
.
createTimeStart
=
createTimeStart
;
this
.
createTimeStart
=
createTimeStart
;
}
}
/**
/**
* 获取 结束 创建时间
* 获取 结束 创建时间
* @return createTimeEnd
* @return createTimeEnd
*/
*/
public
String
getCreateTimeEnd
(){
public
String
getCreateTimeEnd
(){
return
this
.
createTimeEnd
;
return
this
.
createTimeEnd
;
}
}
/**
/**
* 设置 结束 创建时间
* 设置 结束 创建时间
* @param createTimeEnd
* @param createTimeEnd
*/
*/
public
void
setCreateTimeEnd
(
String
createTimeEnd
){
public
void
setCreateTimeEnd
(
String
createTimeEnd
){
this
.
createTimeEnd
=
createTimeEnd
;
this
.
createTimeEnd
=
createTimeEnd
;
}
}
/**
/**
* 获取 开始 创建人ID
* 获取 开始 创建人ID
* @return createUserIdStart
* @return createUserIdStart
*/
*/
public
Long
getCreateUserIdStart
(){
public
Long
getCreateUserIdStart
(){
return
this
.
createUserIdStart
;
return
this
.
createUserIdStart
;
}
}
/**
/**
* 设置 开始 创建人ID
* 设置 开始 创建人ID
* @param createUserIdStart
* @param createUserIdStart
*/
*/
public
void
setCreateUserIdStart
(
Long
createUserIdStart
){
public
void
setCreateUserIdStart
(
Long
createUserIdStart
){
this
.
createUserIdStart
=
createUserIdStart
;
this
.
createUserIdStart
=
createUserIdStart
;
}
}
/**
/**
* 获取 结束 创建人ID
* 获取 结束 创建人ID
* @return $createUserIdEnd
* @return $createUserIdEnd
*/
*/
public
Long
getCreateUserIdEnd
(){
public
Long
getCreateUserIdEnd
(){
return
this
.
createUserIdEnd
;
return
this
.
createUserIdEnd
;
}
}
/**
/**
* 设置 结束 创建人ID
* 设置 结束 创建人ID
* @param createUserIdEnd
* @param createUserIdEnd
*/
*/
public
void
setCreateUserIdEnd
(
Long
createUserIdEnd
){
public
void
setCreateUserIdEnd
(
Long
createUserIdEnd
){
this
.
createUserIdEnd
=
createUserIdEnd
;
this
.
createUserIdEnd
=
createUserIdEnd
;
}
}
/**
/**
* 获取 增加 创建人ID
* 获取 增加 创建人ID
* @return createUserIdIncrement
* @return createUserIdIncrement
*/
*/
public
Long
getCreateUserIdIncrement
(){
public
Long
getCreateUserIdIncrement
(){
return
this
.
createUserIdIncrement
;
return
this
.
createUserIdIncrement
;
}
}
/**
/**
* 设置 增加 创建人ID
* 设置 增加 创建人ID
* @param createUserIdIncrement
* @param createUserIdIncrement
*/
*/
public
void
setCreateUserIdIncrement
(
Long
createUserIdIncrement
){
public
void
setCreateUserIdIncrement
(
Long
createUserIdIncrement
){
this
.
createUserIdIncrement
=
createUserIdIncrement
;
this
.
createUserIdIncrement
=
createUserIdIncrement
;
}
}
/**
/**
* 获取 创建人ID
* 获取 创建人ID
* @return createUserIdList
* @return createUserIdList
*/
*/
public
List
<
Long
>
getCreateUserIdList
(){
public
List
<
Long
>
getCreateUserIdList
(){
return
this
.
createUserIdList
;
return
this
.
createUserIdList
;
}
}
/**
/**
* 设置 创建人ID
* 设置 创建人ID
* @param createUserIdList
* @param createUserIdList
*/
*/
public
void
setCreateUserIdList
(
List
<
Long
>
createUserIdList
){
public
void
setCreateUserIdList
(
List
<
Long
>
createUserIdList
){
this
.
createUserIdList
=
createUserIdList
;
this
.
createUserIdList
=
createUserIdList
;
}
}
/**
/**
* 获取 创建人ID
* 获取 创建人ID
* @return createUserIdNotList
* @return createUserIdNotList
*/
*/
public
List
<
Long
>
getCreateUserIdNotList
(){
public
List
<
Long
>
getCreateUserIdNotList
(){
return
this
.
createUserIdNotList
;
return
this
.
createUserIdNotList
;
}
}
/**
/**
* 设置 创建人ID
* 设置 创建人ID
* @param createUserIdNotList
* @param createUserIdNotList
*/
*/
public
void
setCreateUserIdNotList
(
List
<
Long
>
createUserIdNotList
){
public
void
setCreateUserIdNotList
(
List
<
Long
>
createUserIdNotList
){
this
.
createUserIdNotList
=
createUserIdNotList
;
this
.
createUserIdNotList
=
createUserIdNotList
;
}
}
/**
/**
* 获取 开始 更新时间
* 获取 开始 更新时间
* @return updateTimeStart
* @return updateTimeStart
*/
*/
public
String
getUpdateTimeStart
(){
public
String
getUpdateTimeStart
(){
return
this
.
updateTimeStart
;
return
this
.
updateTimeStart
;
}
}
/**
/**
* 设置 开始 更新时间
* 设置 开始 更新时间
* @param updateTimeStart
* @param updateTimeStart
*/
*/
public
void
setUpdateTimeStart
(
String
updateTimeStart
){
public
void
setUpdateTimeStart
(
String
updateTimeStart
){
this
.
updateTimeStart
=
updateTimeStart
;
this
.
updateTimeStart
=
updateTimeStart
;
}
}
/**
/**
* 获取 结束 更新时间
* 获取 结束 更新时间
* @return updateTimeEnd
* @return updateTimeEnd
*/
*/
public
String
getUpdateTimeEnd
(){
public
String
getUpdateTimeEnd
(){
return
this
.
updateTimeEnd
;
return
this
.
updateTimeEnd
;
}
}
/**
/**
* 设置 结束 更新时间
* 设置 结束 更新时间
* @param updateTimeEnd
* @param updateTimeEnd
*/
*/
public
void
setUpdateTimeEnd
(
String
updateTimeEnd
){
public
void
setUpdateTimeEnd
(
String
updateTimeEnd
){
this
.
updateTimeEnd
=
updateTimeEnd
;
this
.
updateTimeEnd
=
updateTimeEnd
;
}
}
/**
/**
* 获取 开始 更新人ID
* 获取 开始 更新人ID
* @return updateUserIdStart
* @return updateUserIdStart
*/
*/
public
Long
getUpdateUserIdStart
(){
public
Long
getUpdateUserIdStart
(){
return
this
.
updateUserIdStart
;
return
this
.
updateUserIdStart
;
}
}
/**
/**
* 设置 开始 更新人ID
* 设置 开始 更新人ID
* @param updateUserIdStart
* @param updateUserIdStart
*/
*/
public
void
setUpdateUserIdStart
(
Long
updateUserIdStart
){
public
void
setUpdateUserIdStart
(
Long
updateUserIdStart
){
this
.
updateUserIdStart
=
updateUserIdStart
;
this
.
updateUserIdStart
=
updateUserIdStart
;
}
}
/**
/**
* 获取 结束 更新人ID
* 获取 结束 更新人ID
* @return $updateUserIdEnd
* @return $updateUserIdEnd
*/
*/
public
Long
getUpdateUserIdEnd
(){
public
Long
getUpdateUserIdEnd
(){
return
this
.
updateUserIdEnd
;
return
this
.
updateUserIdEnd
;
}
}
/**
/**
* 设置 结束 更新人ID
* 设置 结束 更新人ID
* @param updateUserIdEnd
* @param updateUserIdEnd
*/
*/
public
void
setUpdateUserIdEnd
(
Long
updateUserIdEnd
){
public
void
setUpdateUserIdEnd
(
Long
updateUserIdEnd
){
this
.
updateUserIdEnd
=
updateUserIdEnd
;
this
.
updateUserIdEnd
=
updateUserIdEnd
;
}
}
/**
/**
* 获取 增加 更新人ID
* 获取 增加 更新人ID
* @return updateUserIdIncrement
* @return updateUserIdIncrement
*/
*/
public
Long
getUpdateUserIdIncrement
(){
public
Long
getUpdateUserIdIncrement
(){
return
this
.
updateUserIdIncrement
;
return
this
.
updateUserIdIncrement
;
}
}
/**
/**
* 设置 增加 更新人ID
* 设置 增加 更新人ID
* @param updateUserIdIncrement
* @param updateUserIdIncrement
*/
*/
public
void
setUpdateUserIdIncrement
(
Long
updateUserIdIncrement
){
public
void
setUpdateUserIdIncrement
(
Long
updateUserIdIncrement
){
this
.
updateUserIdIncrement
=
updateUserIdIncrement
;
this
.
updateUserIdIncrement
=
updateUserIdIncrement
;
}
}
/**
/**
* 获取 更新人ID
* 获取 更新人ID
* @return updateUserIdList
* @return updateUserIdList
*/
*/
public
List
<
Long
>
getUpdateUserIdList
(){
public
List
<
Long
>
getUpdateUserIdList
(){
return
this
.
updateUserIdList
;
return
this
.
updateUserIdList
;
}
}
/**
/**
* 设置 更新人ID
* 设置 更新人ID
* @param updateUserIdList
* @param updateUserIdList
*/
*/
public
void
setUpdateUserIdList
(
List
<
Long
>
updateUserIdList
){
public
void
setUpdateUserIdList
(
List
<
Long
>
updateUserIdList
){
this
.
updateUserIdList
=
updateUserIdList
;
this
.
updateUserIdList
=
updateUserIdList
;
}
}
/**
/**
* 获取 更新人ID
* 获取 更新人ID
* @return updateUserIdNotList
* @return updateUserIdNotList
*/
*/
public
List
<
Long
>
getUpdateUserIdNotList
(){
public
List
<
Long
>
getUpdateUserIdNotList
(){
return
this
.
updateUserIdNotList
;
return
this
.
updateUserIdNotList
;
}
}
/**
/**
* 设置 更新人ID
* 设置 更新人ID
* @param updateUserIdNotList
* @param updateUserIdNotList
*/
*/
public
void
setUpdateUserIdNotList
(
List
<
Long
>
updateUserIdNotList
){
public
void
setUpdateUserIdNotList
(
List
<
Long
>
updateUserIdNotList
){
this
.
updateUserIdNotList
=
updateUserIdNotList
;
this
.
updateUserIdNotList
=
updateUserIdNotList
;
}
}
/**
/**
* 设置 主键ID
* 设置 主键ID
* @param id
* @param id
*/
*/
public
NoticeQuery
id
(
Long
id
){
public
NoticeQuery
id
(
Long
id
){
setId
(
id
);
setId
(
id
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 开始 主键ID
* 设置 开始 主键ID
* @param idStart
* @param idStart
*/
*/
public
NoticeQuery
idStart
(
Long
idStart
){
public
NoticeQuery
idStart
(
Long
idStart
){
this
.
idStart
=
idStart
;
this
.
idStart
=
idStart
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 结束 主键ID
* 设置 结束 主键ID
* @param idEnd
* @param idEnd
*/
*/
public
NoticeQuery
idEnd
(
Long
idEnd
){
public
NoticeQuery
idEnd
(
Long
idEnd
){
this
.
idEnd
=
idEnd
;
this
.
idEnd
=
idEnd
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 增加 主键ID
* 设置 增加 主键ID
* @param idIncrement
* @param idIncrement
*/
*/
public
NoticeQuery
idIncrement
(
Long
idIncrement
){
public
NoticeQuery
idIncrement
(
Long
idIncrement
){
this
.
idIncrement
=
idIncrement
;
this
.
idIncrement
=
idIncrement
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 主键ID
* 设置 主键ID
* @param idList
* @param idList
*/
*/
public
NoticeQuery
idList
(
List
<
Long
>
idList
){
public
NoticeQuery
idList
(
List
<
Long
>
idList
){
this
.
idList
=
idList
;
this
.
idList
=
idList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 主键ID
* 设置 主键ID
* @param idNotList
* @param idNotList
*/
*/
public
NoticeQuery
idNotList
(
List
<
Long
>
idNotList
){
public
NoticeQuery
idNotList
(
List
<
Long
>
idNotList
){
this
.
idNotList
=
idNotList
;
this
.
idNotList
=
idNotList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 接收消息的用户的唯一标识符
* 设置 接收消息的用户的唯一标识符
* @param userId
* @param userId
*/
*/
public
NoticeQuery
userId
(
Long
userId
){
public
NoticeQuery
userId
(
Long
userId
){
setUserId
(
userId
);
setUserId
(
userId
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 开始 接收消息的用户的唯一标识符
* 设置 开始 接收消息的用户的唯一标识符
* @param userIdStart
* @param userIdStart
*/
*/
public
NoticeQuery
userIdStart
(
Long
userIdStart
){
public
NoticeQuery
userIdStart
(
Long
userIdStart
){
this
.
userIdStart
=
userIdStart
;
this
.
userIdStart
=
userIdStart
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 结束 接收消息的用户的唯一标识符
* 设置 结束 接收消息的用户的唯一标识符
* @param userIdEnd
* @param userIdEnd
*/
*/
public
NoticeQuery
userIdEnd
(
Long
userIdEnd
){
public
NoticeQuery
userIdEnd
(
Long
userIdEnd
){
this
.
userIdEnd
=
userIdEnd
;
this
.
userIdEnd
=
userIdEnd
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 增加 接收消息的用户的唯一标识符
* 设置 增加 接收消息的用户的唯一标识符
* @param userIdIncrement
* @param userIdIncrement
*/
*/
public
NoticeQuery
userIdIncrement
(
Long
userIdIncrement
){
public
NoticeQuery
userIdIncrement
(
Long
userIdIncrement
){
this
.
userIdIncrement
=
userIdIncrement
;
this
.
userIdIncrement
=
userIdIncrement
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 接收消息的用户的唯一标识符
* 设置 接收消息的用户的唯一标识符
* @param userIdList
* @param userIdList
*/
*/
public
NoticeQuery
userIdList
(
List
<
Long
>
userIdList
){
public
NoticeQuery
userIdList
(
List
<
Long
>
userIdList
){
this
.
userIdList
=
userIdList
;
this
.
userIdList
=
userIdList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 接收消息的用户的唯一标识符
* 设置 接收消息的用户的唯一标识符
* @param userIdNotList
* @param userIdNotList
*/
*/
public
NoticeQuery
userIdNotList
(
List
<
Long
>
userIdNotList
){
public
NoticeQuery
userIdNotList
(
List
<
Long
>
userIdNotList
){
this
.
userIdNotList
=
userIdNotList
;
this
.
userIdNotList
=
userIdNotList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的标题
* 设置 消息的标题
* @param title
* @param title
*/
*/
public
NoticeQuery
title
(
String
title
){
public
NoticeQuery
title
(
String
title
){
setTitle
(
title
);
setTitle
(
title
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的标题
* 设置 消息的标题
* @param titleList
* @param titleList
*/
*/
public
NoticeQuery
titleList
(
List
<
String
>
titleList
){
public
NoticeQuery
titleList
(
List
<
String
>
titleList
){
this
.
titleList
=
titleList
;
this
.
titleList
=
titleList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的内容
* 设置 消息的内容
* @param content
* @param content
*/
*/
public
NoticeQuery
content
(
String
content
){
public
NoticeQuery
content
(
String
content
){
setContent
(
content
);
setContent
(
content
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的内容
* 设置 消息的内容
* @param contentList
* @param contentList
*/
*/
public
NoticeQuery
contentList
(
List
<
String
>
contentList
){
public
NoticeQuery
contentList
(
List
<
String
>
contentList
){
this
.
contentList
=
contentList
;
this
.
contentList
=
contentList
;
return
this
;
return
this
;
}
}
/**
* 设置 是否已读 (0.否,1.是)
* @param read
*/
public
NoticeQuery
read
(
Integer
read
){
setRead
(
read
);
return
this
;
}
/**
* 设置 开始 是否已读 (0.否,1.是)
* @param readStart
*/
public
NoticeQuery
readStart
(
Integer
readStart
){
this
.
readStart
=
readStart
;
return
this
;
}
/**
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* 设置 结束 是否已读 (0.否,1.是)
* @param priority
* @param readEnd
*/
*/
public
NoticeQuery
readEnd
(
Integer
readEnd
){
this
.
readEnd
=
readEnd
;
return
this
;
}
/**
* 设置 增加 是否已读 (0.否,1.是)
* @param readIncrement
*/
public
NoticeQuery
readIncrement
(
Integer
readIncrement
){
this
.
readIncrement
=
readIncrement
;
return
this
;
}
/**
* 设置 是否已读 (0.否,1.是)
* @param readList
*/
public
NoticeQuery
readList
(
List
<
Integer
>
readList
){
this
.
readList
=
readList
;
return
this
;
}
/**
* 设置 是否已读 (0.否,1.是)
* @param readNotList
*/
public
NoticeQuery
readNotList
(
List
<
Integer
>
readNotList
){
this
.
readNotList
=
readNotList
;
return
this
;
}
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* @param priority
*/
public
NoticeQuery
priority
(
Integer
priority
){
public
NoticeQuery
priority
(
Integer
priority
){
setPriority
(
priority
);
setPriority
(
priority
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 开始 消息的优先级,越高表示越紧急,不为空
* 设置 开始 消息的优先级,越高表示越紧急,不为空
* @param priorityStart
* @param priorityStart
*/
*/
public
NoticeQuery
priorityStart
(
Integer
priorityStart
){
public
NoticeQuery
priorityStart
(
Integer
priorityStart
){
this
.
priorityStart
=
priorityStart
;
this
.
priorityStart
=
priorityStart
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 结束 消息的优先级,越高表示越紧急,不为空
* 设置 结束 消息的优先级,越高表示越紧急,不为空
* @param priorityEnd
* @param priorityEnd
*/
*/
public
NoticeQuery
priorityEnd
(
Integer
priorityEnd
){
public
NoticeQuery
priorityEnd
(
Integer
priorityEnd
){
this
.
priorityEnd
=
priorityEnd
;
this
.
priorityEnd
=
priorityEnd
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 增加 消息的优先级,越高表示越紧急,不为空
* 设置 增加 消息的优先级,越高表示越紧急,不为空
* @param priorityIncrement
* @param priorityIncrement
*/
*/
public
NoticeQuery
priorityIncrement
(
Integer
priorityIncrement
){
public
NoticeQuery
priorityIncrement
(
Integer
priorityIncrement
){
this
.
priorityIncrement
=
priorityIncrement
;
this
.
priorityIncrement
=
priorityIncrement
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* 设置 消息的优先级,越高表示越紧急,不为空
* @param priorityList
* @param priorityList
*/
*/
public
NoticeQuery
priorityList
(
List
<
Integer
>
priorityList
){
public
NoticeQuery
priorityList
(
List
<
Integer
>
priorityList
){
this
.
priorityList
=
priorityList
;
this
.
priorityList
=
priorityList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的优先级,越高表示越紧急,不为空
* 设置 消息的优先级,越高表示越紧急,不为空
* @param priorityNotList
* @param priorityNotList
*/
*/
public
NoticeQuery
priorityNotList
(
List
<
Integer
>
priorityNotList
){
public
NoticeQuery
priorityNotList
(
List
<
Integer
>
priorityNotList
){
this
.
priorityNotList
=
priorityNotList
;
this
.
priorityNotList
=
priorityNotList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* @param sourceType
* @param sourceType
*/
*/
public
NoticeQuery
sourceType
(
String
sourceType
){
public
NoticeQuery
sourceType
(
String
sourceType
){
setSourceType
(
sourceType
);
setSourceType
(
sourceType
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* 设置 消息的来源类型,例如“系统”、“好友”等,可以为空
* @param sourceTypeList
* @param sourceTypeList
*/
*/
public
NoticeQuery
sourceTypeList
(
List
<
String
>
sourceTypeList
){
public
NoticeQuery
sourceTypeList
(
List
<
String
>
sourceTypeList
){
this
.
sourceTypeList
=
sourceTypeList
;
this
.
sourceTypeList
=
sourceTypeList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 创建人ID
* 设置 创建人ID
* @param createUserId
* @param createUserId
*/
*/
public
NoticeQuery
createUserId
(
Long
createUserId
){
public
NoticeQuery
createUserId
(
Long
createUserId
){
setCreateUserId
(
createUserId
);
setCreateUserId
(
createUserId
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 开始 创建人ID
* 设置 开始 创建人ID
* @param createUserIdStart
* @param createUserIdStart
*/
*/
public
NoticeQuery
createUserIdStart
(
Long
createUserIdStart
){
public
NoticeQuery
createUserIdStart
(
Long
createUserIdStart
){
this
.
createUserIdStart
=
createUserIdStart
;
this
.
createUserIdStart
=
createUserIdStart
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 结束 创建人ID
* 设置 结束 创建人ID
* @param createUserIdEnd
* @param createUserIdEnd
*/
*/
public
NoticeQuery
createUserIdEnd
(
Long
createUserIdEnd
){
public
NoticeQuery
createUserIdEnd
(
Long
createUserIdEnd
){
this
.
createUserIdEnd
=
createUserIdEnd
;
this
.
createUserIdEnd
=
createUserIdEnd
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 增加 创建人ID
* 设置 增加 创建人ID
* @param createUserIdIncrement
* @param createUserIdIncrement
*/
*/
public
NoticeQuery
createUserIdIncrement
(
Long
createUserIdIncrement
){
public
NoticeQuery
createUserIdIncrement
(
Long
createUserIdIncrement
){
this
.
createUserIdIncrement
=
createUserIdIncrement
;
this
.
createUserIdIncrement
=
createUserIdIncrement
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 创建人ID
* 设置 创建人ID
* @param createUserIdList
* @param createUserIdList
*/
*/
public
NoticeQuery
createUserIdList
(
List
<
Long
>
createUserIdList
){
public
NoticeQuery
createUserIdList
(
List
<
Long
>
createUserIdList
){
this
.
createUserIdList
=
createUserIdList
;
this
.
createUserIdList
=
createUserIdList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 创建人ID
* 设置 创建人ID
* @param createUserIdNotList
* @param createUserIdNotList
*/
*/
public
NoticeQuery
createUserIdNotList
(
List
<
Long
>
createUserIdNotList
){
public
NoticeQuery
createUserIdNotList
(
List
<
Long
>
createUserIdNotList
){
this
.
createUserIdNotList
=
createUserIdNotList
;
this
.
createUserIdNotList
=
createUserIdNotList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 更新人ID
* 设置 更新人ID
* @param updateUserId
* @param updateUserId
*/
*/
public
NoticeQuery
updateUserId
(
Long
updateUserId
){
public
NoticeQuery
updateUserId
(
Long
updateUserId
){
setUpdateUserId
(
updateUserId
);
setUpdateUserId
(
updateUserId
);
return
this
;
return
this
;
}
}
/**
/**
* 设置 开始 更新人ID
* 设置 开始 更新人ID
* @param updateUserIdStart
* @param updateUserIdStart
*/
*/
public
NoticeQuery
updateUserIdStart
(
Long
updateUserIdStart
){
public
NoticeQuery
updateUserIdStart
(
Long
updateUserIdStart
){
this
.
updateUserIdStart
=
updateUserIdStart
;
this
.
updateUserIdStart
=
updateUserIdStart
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 结束 更新人ID
* 设置 结束 更新人ID
* @param updateUserIdEnd
* @param updateUserIdEnd
*/
*/
public
NoticeQuery
updateUserIdEnd
(
Long
updateUserIdEnd
){
public
NoticeQuery
updateUserIdEnd
(
Long
updateUserIdEnd
){
this
.
updateUserIdEnd
=
updateUserIdEnd
;
this
.
updateUserIdEnd
=
updateUserIdEnd
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 增加 更新人ID
* 设置 增加 更新人ID
* @param updateUserIdIncrement
* @param updateUserIdIncrement
*/
*/
public
NoticeQuery
updateUserIdIncrement
(
Long
updateUserIdIncrement
){
public
NoticeQuery
updateUserIdIncrement
(
Long
updateUserIdIncrement
){
this
.
updateUserIdIncrement
=
updateUserIdIncrement
;
this
.
updateUserIdIncrement
=
updateUserIdIncrement
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 更新人ID
* 设置 更新人ID
* @param updateUserIdList
* @param updateUserIdList
*/
*/
public
NoticeQuery
updateUserIdList
(
List
<
Long
>
updateUserIdList
){
public
NoticeQuery
updateUserIdList
(
List
<
Long
>
updateUserIdList
){
this
.
updateUserIdList
=
updateUserIdList
;
this
.
updateUserIdList
=
updateUserIdList
;
return
this
;
return
this
;
}
}
/**
/**
* 设置 更新人ID
* 设置 更新人ID
* @param updateUserIdNotList
* @param updateUserIdNotList
*/
*/
public
NoticeQuery
updateUserIdNotList
(
List
<
Long
>
updateUserIdNotList
){
public
NoticeQuery
updateUserIdNotList
(
List
<
Long
>
updateUserIdNotList
){
this
.
updateUserIdNotList
=
updateUserIdNotList
;
this
.
updateUserIdNotList
=
updateUserIdNotList
;
return
this
;
return
this
;
}
}
/**
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
* @return orConditionList
*/
*/
public
List
<
NoticeQuery
>
getOrConditionList
(){
public
List
<
NoticeQuery
>
getOrConditionList
(){
return
this
.
orConditionList
;
return
this
.
orConditionList
;
}
}
/**
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
* @param orConditionList
*/
*/
public
void
setOrConditionList
(
List
<
NoticeQuery
>
orConditionList
){
public
void
setOrConditionList
(
List
<
NoticeQuery
>
orConditionList
){
this
.
orConditionList
=
orConditionList
;
this
.
orConditionList
=
orConditionList
;
}
}
/**
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
* @return andConditionList
*/
*/
public
List
<
NoticeQuery
>
getAndConditionList
(){
public
List
<
NoticeQuery
>
getAndConditionList
(){
return
this
.
andConditionList
;
return
this
.
andConditionList
;
}
}
/**
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
* @param andConditionList
*/
*/
public
void
setAndConditionList
(
List
<
NoticeQuery
>
andConditionList
){
public
void
setAndConditionList
(
List
<
NoticeQuery
>
andConditionList
){
this
.
andConditionList
=
andConditionList
;
this
.
andConditionList
=
andConditionList
;
}
}
...
...
refined-manager/src/test/java/com/mortals/httpclient/EventCallbackController.http
0 → 100644
View file @
04c193d0
###重点识别计划回调
POST {{baseUrl}}/hik/eventRcv
Content-Type: application/json
{
"method": "OnEventNotify",
"params": {
"sendTime": "2023-04-15T19:31:54.951+08:00",
"ability": "event_face_recognition",
"events": [{
"eventType": 1644175361,
"eventId": "ba49eeef-8c17-4c1a-8eab-53a0c9eb06fe",
"srcIndex": "eb82bf1b-a3dc-4e3d-8bfd-ff52e42245c9",
"ability": "event_frs",
"data": {
"faceRecognitionResult": {
"snap": {
"ageGroup": "young",
"gender": "male",
"glass": "yes",
"bkgUrl": "http://10.67.184.149:80/picture/Streaming/tracks/203/?006853427200019404 & size = 19404",
"faceUrl": "http://10.66.165.124:6120/pic?7dd489324-7doc81l*3dec1=--87zd61fa3e614idb1*=2d0i0s1*=idp1*=*d4i1t=pe7m5517641",
"faceTime": "2023-04-15 19:32:02"
},
"faceMatch": [{
"faceGroupCode": "eb82bf1b-a3dc-4e3d-8bfd-ff52e42245c9",
"faceGroupName": "ghc",
"faceInfoCode": "98c83004-c390-4d8b-a97a-34a3218a5ac7",
"faceInfoName": "233",
"faceInfoSex": "unknown",
"certificate": "32423",
"certificateType": "111",
"similarity": 0.05,
"facePicUrl": "http://10.33.47.14:6040/pic?=d2ei666i31f6935-f775aa--cf835d1a6d0ccidp= 89 d1"
}]
},
"srcEventId": "B89C250C-B8C2-4215-9A6C-09CC34DF25A7",
"resInfo": [{
"resourceType": "camera",
"indexCode": "f3b8b0ab19d043929e9985736ea31270",
"cn": "184.128_7627_人脸抓拍"
}]
},
"happenTime": "2023-04-15T19:32:02.000+08:00",
"srcType": "faceGroup",
"status": 0,
"timeout": 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