Commit 6744d973 authored by 廖旭伟's avatar 廖旭伟

用户行为分析客户埋点接口

parent 42c3a718
...@@ -4619,7 +4619,7 @@ msg|String|消息|- ...@@ -4619,7 +4619,7 @@ msg|String|消息|-
**内容类型:** application/json;charset=utf-8 **内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新页面事件记录:id为空时为新增保存,否则为更新提交 **简要描述:** 保存页面事件记录
**请求参数:** **请求参数:**
......
...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageAccessDepthVo; ...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageAccessDepthVo;
* 产品页面配置实体对象 * 产品页面配置实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageAccessDepthEntity extends PageAccessDepthVo { public class PageAccessDepthEntity extends PageAccessDepthVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* 设备编码
*/
private String deviceNum;
/** /**
* 产品id * 产品id
*/ */
...@@ -41,6 +45,20 @@ public class PageAccessDepthEntity extends PageAccessDepthVo { ...@@ -41,6 +45,20 @@ public class PageAccessDepthEntity extends PageAccessDepthVo {
public PageAccessDepthEntity(){} public PageAccessDepthEntity(){}
/** /**
* 获取 设备编码
* @return String
*/
public String getDeviceNum(){
return deviceNum;
}
/**
* 设置 设备编码
* @param deviceNum
*/
public void setDeviceNum(String deviceNum){
this.deviceNum = deviceNum;
}
/**
* 获取 产品id * 获取 产品id
* @return Long * @return Long
*/ */
...@@ -98,7 +116,7 @@ public class PageAccessDepthEntity extends PageAccessDepthVo { ...@@ -98,7 +116,7 @@ public class PageAccessDepthEntity extends PageAccessDepthVo {
} }
/** /**
* 获取 本次访问深度 * 获取 本次访问深度
* @return String * @return Integer
*/ */
public Integer getDepthValue(){ public Integer getDepthValue(){
return depthValue; return depthValue;
...@@ -132,6 +150,7 @@ public class PageAccessDepthEntity extends PageAccessDepthVo { ...@@ -132,6 +150,7 @@ public class PageAccessDepthEntity extends PageAccessDepthVo {
public String toString(){ public String toString(){
StringBuilder sb = new StringBuilder(""); StringBuilder sb = new StringBuilder("");
sb.append(",deviceNum:").append(getDeviceNum());
sb.append(",productId:").append(getProductId()); sb.append(",productId:").append(getProductId());
sb.append(",productName:").append(getProductName()); sb.append(",productName:").append(getProductName());
sb.append(",pageCode:").append(getPageCode()); sb.append(",pageCode:").append(getPageCode());
...@@ -142,6 +161,8 @@ public class PageAccessDepthEntity extends PageAccessDepthVo { ...@@ -142,6 +161,8 @@ public class PageAccessDepthEntity extends PageAccessDepthVo {
public void initAttrValue(){ public void initAttrValue(){
this.deviceNum = "";
this.productId = null; this.productId = null;
this.productName = ""; this.productName = "";
......
...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageAccessDepthEntity; ...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageAccessDepthEntity;
* 产品页面配置查询对象 * 产品页面配置查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageAccessDepthQuery extends PageAccessDepthEntity { public class PageAccessDepthQuery extends PageAccessDepthEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -24,6 +24,11 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -24,6 +24,11 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
/** 序号,主键,自增长排除列表 */ /** 序号,主键,自增长排除列表 */
private List <Long> idNotList; private List <Long> idNotList;
/** 设备编码 */
private List<String> deviceNumList;
/** 设备编码排除列表 */
private List <String> deviceNumNotList;
/** 开始 产品id */ /** 开始 产品id */
private Long productIdStart; private Long productIdStart;
...@@ -54,11 +59,21 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -54,11 +59,21 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
/** 页面名称排除列表 */ /** 页面名称排除列表 */
private List <String> pageNameNotList; private List <String> pageNameNotList;
/** 本次访问深度 */ /** 开始 本次访问深度 */
private List<Integer> depthValueList; private Integer depthValueStart;
/** 结束 本次访问深度 */
private Integer depthValueEnd;
/** 增加 本次访问深度 */
private Integer depthValueIncrement;
/** 本次访问深度列表 */
private List <Integer> depthValueList;
/** 本次访问深度排除列表 */ /** 本次访问深度排除列表 */
private List <String> depthValueNotList; private List <Integer> depthValueNotList;
/** 开始 创建用户 */ /** 开始 创建用户 */
private Long createUserIdStart; private Long createUserIdStart;
...@@ -190,6 +205,38 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -190,6 +205,38 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
} }
/**
* 获取 设备编码
* @return deviceNumList
*/
public List<String> getDeviceNumList(){
return this.deviceNumList;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public void setDeviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
}
/**
* 获取 设备编码
* @return deviceNumNotList
*/
public List<String> getDeviceNumNotList(){
return this.deviceNumNotList;
}
/**
* 设置 设备编码
* @param deviceNumNotList
*/
public void setDeviceNumNotList(List<String> deviceNumNotList){
this.deviceNumNotList = deviceNumNotList;
}
/** /**
* 获取 开始 产品id * 获取 开始 产品id
* @return productIdStart * @return productIdStart
...@@ -367,6 +414,54 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -367,6 +414,54 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
this.pageNameNotList = pageNameNotList; this.pageNameNotList = pageNameNotList;
} }
/**
* 获取 开始 本次访问深度
* @return depthValueStart
*/
public Integer getDepthValueStart(){
return this.depthValueStart;
}
/**
* 设置 开始 本次访问深度
* @param depthValueStart
*/
public void setDepthValueStart(Integer depthValueStart){
this.depthValueStart = depthValueStart;
}
/**
* 获取 结束 本次访问深度
* @return $depthValueEnd
*/
public Integer getDepthValueEnd(){
return this.depthValueEnd;
}
/**
* 设置 结束 本次访问深度
* @param depthValueEnd
*/
public void setDepthValueEnd(Integer depthValueEnd){
this.depthValueEnd = depthValueEnd;
}
/**
* 获取 增加 本次访问深度
* @return depthValueIncrement
*/
public Integer getDepthValueIncrement(){
return this.depthValueIncrement;
}
/**
* 设置 增加 本次访问深度
* @param depthValueIncrement
*/
public void setDepthValueIncrement(Integer depthValueIncrement){
this.depthValueIncrement = depthValueIncrement;
}
/** /**
* 获取 本次访问深度 * 获取 本次访问深度
* @return depthValueList * @return depthValueList
...@@ -387,7 +482,7 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -387,7 +482,7 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
* 获取 本次访问深度 * 获取 本次访问深度
* @return depthValueNotList * @return depthValueNotList
*/ */
public List<String> getDepthValueNotList(){ public List<Integer> getDepthValueNotList(){
return this.depthValueNotList; return this.depthValueNotList;
} }
...@@ -395,10 +490,11 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -395,10 +490,11 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
* 设置 本次访问深度 * 设置 本次访问深度
* @param depthValueNotList * @param depthValueNotList
*/ */
public void setDepthValueNotList(List<String> depthValueNotList){ public void setDepthValueNotList(List<Integer> depthValueNotList){
this.depthValueNotList = depthValueNotList; this.depthValueNotList = depthValueNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
...@@ -679,6 +775,25 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -679,6 +775,25 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
return this; return this;
} }
/**
* 设置 设备编码
* @param deviceNum
*/
public PageAccessDepthQuery deviceNum(String deviceNum){
setDeviceNum(deviceNum);
return this;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public PageAccessDepthQuery deviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
return this;
}
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
...@@ -790,13 +905,39 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -790,13 +905,39 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
return this; return this;
} }
/**
/** * 设置 本次访问深度
* 设置 本次访问深度
* @param depthValue * @param depthValue
*/ */
public PageAccessDepthQuery depthValue(Integer depthValue){ public PageAccessDepthQuery depthValue(Integer depthValue){
setDepthValue(depthValue); setDepthValue(depthValue);
return this;
}
/**
* 设置 开始 本次访问深度
* @param depthValueStart
*/
public PageAccessDepthQuery depthValueStart(Integer depthValueStart){
this.depthValueStart = depthValueStart;
return this;
}
/**
* 设置 结束 本次访问深度
* @param depthValueEnd
*/
public PageAccessDepthQuery depthValueEnd(Integer depthValueEnd){
this.depthValueEnd = depthValueEnd;
return this;
}
/**
* 设置 增加 本次访问深度
* @param depthValueIncrement
*/
public PageAccessDepthQuery depthValueIncrement(Integer depthValueIncrement){
this.depthValueIncrement = depthValueIncrement;
return this; return this;
} }
...@@ -807,7 +948,16 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity { ...@@ -807,7 +948,16 @@ public class PageAccessDepthQuery extends PageAccessDepthEntity {
public PageAccessDepthQuery depthValueList(List<Integer> depthValueList){ public PageAccessDepthQuery depthValueList(List<Integer> depthValueList){
this.depthValueList = depthValueList; this.depthValueList = depthValueList;
return this; return this;
} }
/**
* 设置 本次访问深度
* @param depthValueNotList
*/
public PageAccessDepthQuery depthValueNotList(List<Integer> depthValueNotList){
this.depthValueNotList = depthValueNotList;
return this;
}
/** /**
* 设置 创建用户 * 设置 创建用户
......
...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageAccessVo; ...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageAccessVo;
* 产品页面配置实体对象 * 产品页面配置实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageAccessEntity extends PageAccessVo { public class PageAccessEntity extends PageAccessVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* 设备编码
*/
private String deviceNum;
/** /**
* 产品id * 产品id
*/ */
...@@ -41,6 +45,20 @@ public class PageAccessEntity extends PageAccessVo { ...@@ -41,6 +45,20 @@ public class PageAccessEntity extends PageAccessVo {
public PageAccessEntity(){} public PageAccessEntity(){}
/** /**
* 获取 设备编码
* @return String
*/
public String getDeviceNum(){
return deviceNum;
}
/**
* 设置 设备编码
* @param deviceNum
*/
public void setDeviceNum(String deviceNum){
this.deviceNum = deviceNum;
}
/**
* 获取 产品id * 获取 产品id
* @return Long * @return Long
*/ */
...@@ -132,6 +150,7 @@ public class PageAccessEntity extends PageAccessVo { ...@@ -132,6 +150,7 @@ public class PageAccessEntity extends PageAccessVo {
public String toString(){ public String toString(){
StringBuilder sb = new StringBuilder(""); StringBuilder sb = new StringBuilder("");
sb.append(",deviceNum:").append(getDeviceNum());
sb.append(",productId:").append(getProductId()); sb.append(",productId:").append(getProductId());
sb.append(",productName:").append(getProductName()); sb.append(",productName:").append(getProductName());
sb.append(",pageCode:").append(getPageCode()); sb.append(",pageCode:").append(getPageCode());
...@@ -142,6 +161,8 @@ public class PageAccessEntity extends PageAccessVo { ...@@ -142,6 +161,8 @@ public class PageAccessEntity extends PageAccessVo {
public void initAttrValue(){ public void initAttrValue(){
this.deviceNum = "";
this.productId = null; this.productId = null;
this.productName = ""; this.productName = "";
......
...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageAccessEntity; ...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageAccessEntity;
* 产品页面配置查询对象 * 产品页面配置查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageAccessQuery extends PageAccessEntity { public class PageAccessQuery extends PageAccessEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -24,6 +24,11 @@ public class PageAccessQuery extends PageAccessEntity { ...@@ -24,6 +24,11 @@ public class PageAccessQuery extends PageAccessEntity {
/** 序号,主键,自增长排除列表 */ /** 序号,主键,自增长排除列表 */
private List <Long> idNotList; private List <Long> idNotList;
/** 设备编码 */
private List<String> deviceNumList;
/** 设备编码排除列表 */
private List <String> deviceNumNotList;
/** 开始 产品id */ /** 开始 产品id */
private Long productIdStart; private Long productIdStart;
...@@ -200,6 +205,38 @@ public class PageAccessQuery extends PageAccessEntity { ...@@ -200,6 +205,38 @@ public class PageAccessQuery extends PageAccessEntity {
} }
/**
* 获取 设备编码
* @return deviceNumList
*/
public List<String> getDeviceNumList(){
return this.deviceNumList;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public void setDeviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
}
/**
* 获取 设备编码
* @return deviceNumNotList
*/
public List<String> getDeviceNumNotList(){
return this.deviceNumNotList;
}
/**
* 设置 设备编码
* @param deviceNumNotList
*/
public void setDeviceNumNotList(List<String> deviceNumNotList){
this.deviceNumNotList = deviceNumNotList;
}
/** /**
* 获取 开始 产品id * 获取 开始 产品id
* @return productIdStart * @return productIdStart
...@@ -738,6 +775,25 @@ public class PageAccessQuery extends PageAccessEntity { ...@@ -738,6 +775,25 @@ public class PageAccessQuery extends PageAccessEntity {
return this; return this;
} }
/**
* 设置 设备编码
* @param deviceNum
*/
public PageAccessQuery deviceNum(String deviceNum){
setDeviceNum(deviceNum);
return this;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public PageAccessQuery deviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
return this;
}
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
......
...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageEventVo; ...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageEventVo;
* 页面事件记录实体对象 * 页面事件记录实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageEventEntity extends PageEventVo { public class PageEventEntity extends PageEventVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* 设备编码
*/
private String deviceNum;
/** /**
* 产品id * 产品id
*/ */
...@@ -61,6 +65,20 @@ public class PageEventEntity extends PageEventVo { ...@@ -61,6 +65,20 @@ public class PageEventEntity extends PageEventVo {
public PageEventEntity(){} public PageEventEntity(){}
/** /**
* 获取 设备编码
* @return String
*/
public String getDeviceNum(){
return deviceNum;
}
/**
* 设置 设备编码
* @param deviceNum
*/
public void setDeviceNum(String deviceNum){
this.deviceNum = deviceNum;
}
/**
* 获取 产品id * 获取 产品id
* @return Long * @return Long
*/ */
...@@ -222,6 +240,7 @@ public class PageEventEntity extends PageEventVo { ...@@ -222,6 +240,7 @@ public class PageEventEntity extends PageEventVo {
public String toString(){ public String toString(){
StringBuilder sb = new StringBuilder(""); StringBuilder sb = new StringBuilder("");
sb.append(",deviceNum:").append(getDeviceNum());
sb.append(",productId:").append(getProductId()); sb.append(",productId:").append(getProductId());
sb.append(",productName:").append(getProductName()); sb.append(",productName:").append(getProductName());
sb.append(",businessCode:").append(getBusinessCode()); sb.append(",businessCode:").append(getBusinessCode());
...@@ -237,6 +256,8 @@ public class PageEventEntity extends PageEventVo { ...@@ -237,6 +256,8 @@ public class PageEventEntity extends PageEventVo {
public void initAttrValue(){ public void initAttrValue(){
this.deviceNum = "";
this.productId = null; this.productId = null;
this.productName = ""; this.productName = "";
......
...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageEventEntity; ...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageEventEntity;
* 页面事件记录查询对象 * 页面事件记录查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageEventQuery extends PageEventEntity { public class PageEventQuery extends PageEventEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -24,6 +24,11 @@ public class PageEventQuery extends PageEventEntity { ...@@ -24,6 +24,11 @@ public class PageEventQuery extends PageEventEntity {
/** 序号,主键,自增长排除列表 */ /** 序号,主键,自增长排除列表 */
private List <Long> idNotList; private List <Long> idNotList;
/** 设备编码 */
private List<String> deviceNumList;
/** 设备编码排除列表 */
private List <String> deviceNumNotList;
/** 开始 产品id */ /** 开始 产品id */
private Long productIdStart; private Long productIdStart;
...@@ -225,6 +230,38 @@ public class PageEventQuery extends PageEventEntity { ...@@ -225,6 +230,38 @@ public class PageEventQuery extends PageEventEntity {
} }
/**
* 获取 设备编码
* @return deviceNumList
*/
public List<String> getDeviceNumList(){
return this.deviceNumList;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public void setDeviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
}
/**
* 获取 设备编码
* @return deviceNumNotList
*/
public List<String> getDeviceNumNotList(){
return this.deviceNumNotList;
}
/**
* 设置 设备编码
* @param deviceNumNotList
*/
public void setDeviceNumNotList(List<String> deviceNumNotList){
this.deviceNumNotList = deviceNumNotList;
}
/** /**
* 获取 开始 产品id * 获取 开始 产品id
* @return productIdStart * @return productIdStart
...@@ -923,6 +960,25 @@ public class PageEventQuery extends PageEventEntity { ...@@ -923,6 +960,25 @@ public class PageEventQuery extends PageEventEntity {
return this; return this;
} }
/**
* 设置 设备编码
* @param deviceNum
*/
public PageEventQuery deviceNum(String deviceNum){
setDeviceNum(deviceNum);
return this;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public PageEventQuery deviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
return this;
}
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
......
...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageInfoVo; ...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageInfoVo;
* 产品页面配置实体对象 * 产品页面配置实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageInfoEntity extends PageInfoVo { public class PageInfoEntity extends PageInfoVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* 设备编码
*/
private String deviceNum;
/** /**
* 产品id * 产品id
*/ */
...@@ -41,6 +45,20 @@ public class PageInfoEntity extends PageInfoVo { ...@@ -41,6 +45,20 @@ public class PageInfoEntity extends PageInfoVo {
public PageInfoEntity(){} public PageInfoEntity(){}
/** /**
* 获取 设备编码
* @return String
*/
public String getDeviceNum(){
return deviceNum;
}
/**
* 设置 设备编码
* @param deviceNum
*/
public void setDeviceNum(String deviceNum){
this.deviceNum = deviceNum;
}
/**
* 获取 产品id * 获取 产品id
* @return Long * @return Long
*/ */
...@@ -132,6 +150,7 @@ public class PageInfoEntity extends PageInfoVo { ...@@ -132,6 +150,7 @@ public class PageInfoEntity extends PageInfoVo {
public String toString(){ public String toString(){
StringBuilder sb = new StringBuilder(""); StringBuilder sb = new StringBuilder("");
sb.append(",deviceNum:").append(getDeviceNum());
sb.append(",productId:").append(getProductId()); sb.append(",productId:").append(getProductId());
sb.append(",productName:").append(getProductName()); sb.append(",productName:").append(getProductName());
sb.append(",pageCode:").append(getPageCode()); sb.append(",pageCode:").append(getPageCode());
...@@ -142,6 +161,8 @@ public class PageInfoEntity extends PageInfoVo { ...@@ -142,6 +161,8 @@ public class PageInfoEntity extends PageInfoVo {
public void initAttrValue(){ public void initAttrValue(){
this.deviceNum = "";
this.productId = null; this.productId = null;
this.productName = ""; this.productName = "";
......
...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageInfoEntity; ...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageInfoEntity;
* 产品页面配置查询对象 * 产品页面配置查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageInfoQuery extends PageInfoEntity { public class PageInfoQuery extends PageInfoEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -24,6 +24,11 @@ public class PageInfoQuery extends PageInfoEntity { ...@@ -24,6 +24,11 @@ public class PageInfoQuery extends PageInfoEntity {
/** 序号,主键,自增长排除列表 */ /** 序号,主键,自增长排除列表 */
private List <Long> idNotList; private List <Long> idNotList;
/** 设备编码 */
private List<String> deviceNumList;
/** 设备编码排除列表 */
private List <String> deviceNumNotList;
/** 开始 产品id */ /** 开始 产品id */
private Long productIdStart; private Long productIdStart;
...@@ -190,6 +195,38 @@ public class PageInfoQuery extends PageInfoEntity { ...@@ -190,6 +195,38 @@ public class PageInfoQuery extends PageInfoEntity {
} }
/**
* 获取 设备编码
* @return deviceNumList
*/
public List<String> getDeviceNumList(){
return this.deviceNumList;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public void setDeviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
}
/**
* 获取 设备编码
* @return deviceNumNotList
*/
public List<String> getDeviceNumNotList(){
return this.deviceNumNotList;
}
/**
* 设置 设备编码
* @param deviceNumNotList
*/
public void setDeviceNumNotList(List<String> deviceNumNotList){
this.deviceNumNotList = deviceNumNotList;
}
/** /**
* 获取 开始 产品id * 获取 开始 产品id
* @return productIdStart * @return productIdStart
...@@ -679,6 +716,25 @@ public class PageInfoQuery extends PageInfoEntity { ...@@ -679,6 +716,25 @@ public class PageInfoQuery extends PageInfoEntity {
return this; return this;
} }
/**
* 设置 设备编码
* @param deviceNum
*/
public PageInfoQuery deviceNum(String deviceNum){
setDeviceNum(deviceNum);
return this;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public PageInfoQuery deviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
return this;
}
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
......
...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageRouteVo; ...@@ -10,12 +10,16 @@ import com.mortals.xhx.module.page.model.vo.PageRouteVo;
* 页面路径记录实体对象 * 页面路径记录实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageRouteEntity extends PageRouteVo { public class PageRouteEntity extends PageRouteVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/**
* 设备编码
*/
private String deviceNum;
/** /**
* 产品id * 产品id
*/ */
...@@ -45,6 +49,20 @@ public class PageRouteEntity extends PageRouteVo { ...@@ -45,6 +49,20 @@ public class PageRouteEntity extends PageRouteVo {
public PageRouteEntity(){} public PageRouteEntity(){}
/** /**
* 获取 设备编码
* @return String
*/
public String getDeviceNum(){
return deviceNum;
}
/**
* 设置 设备编码
* @param deviceNum
*/
public void setDeviceNum(String deviceNum){
this.deviceNum = deviceNum;
}
/**
* 获取 产品id * 获取 产品id
* @return Long * @return Long
*/ */
...@@ -116,7 +134,7 @@ public class PageRouteEntity extends PageRouteVo { ...@@ -116,7 +134,7 @@ public class PageRouteEntity extends PageRouteVo {
} }
/** /**
* 获取 目标页面名称 * 获取 目标页面名称
* @return Integer * @return String
*/ */
public String getTargetName(){ public String getTargetName(){
return targetName; return targetName;
...@@ -150,6 +168,7 @@ public class PageRouteEntity extends PageRouteVo { ...@@ -150,6 +168,7 @@ public class PageRouteEntity extends PageRouteVo {
public String toString(){ public String toString(){
StringBuilder sb = new StringBuilder(""); StringBuilder sb = new StringBuilder("");
sb.append(",deviceNum:").append(getDeviceNum());
sb.append(",productId:").append(getProductId()); sb.append(",productId:").append(getProductId());
sb.append(",productName:").append(getProductName()); sb.append(",productName:").append(getProductName());
sb.append(",sourceCode:").append(getSourceCode()); sb.append(",sourceCode:").append(getSourceCode());
...@@ -161,6 +180,8 @@ public class PageRouteEntity extends PageRouteVo { ...@@ -161,6 +180,8 @@ public class PageRouteEntity extends PageRouteVo {
public void initAttrValue(){ public void initAttrValue(){
this.deviceNum = "";
this.productId = null; this.productId = null;
this.productName = ""; this.productName = "";
......
...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageRouteEntity; ...@@ -6,7 +6,7 @@ import com.mortals.xhx.module.page.model.PageRouteEntity;
* 页面路径记录查询对象 * 页面路径记录查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-10 * @date 2023-04-12
*/ */
public class PageRouteQuery extends PageRouteEntity { public class PageRouteQuery extends PageRouteEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
...@@ -24,6 +24,11 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -24,6 +24,11 @@ public class PageRouteQuery extends PageRouteEntity {
/** 序号,主键,自增长排除列表 */ /** 序号,主键,自增长排除列表 */
private List <Long> idNotList; private List <Long> idNotList;
/** 设备编码 */
private List<String> deviceNumList;
/** 设备编码排除列表 */
private List <String> deviceNumNotList;
/** 开始 产品id */ /** 开始 产品id */
private Long productIdStart; private Long productIdStart;
...@@ -59,13 +64,11 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -59,13 +64,11 @@ public class PageRouteQuery extends PageRouteEntity {
/** 目标页面编码(路由)排除列表 */ /** 目标页面编码(路由)排除列表 */
private List <String> targetCodeNotList; private List <String> targetCodeNotList;
/** 目标页面名称 */
/** 目标页面名称列表 */ private List<String> targetNameList;
private List <String> targetNameList;
/** 目标页面名称排除列表 */ /** 目标页面名称排除列表 */
private List <String> targetNameNotList; private List <String> targetNameNotList;
/** 开始 创建用户 */ /** 开始 创建用户 */
private Long createUserIdStart; private Long createUserIdStart;
...@@ -197,6 +200,38 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -197,6 +200,38 @@ public class PageRouteQuery extends PageRouteEntity {
} }
/**
* 获取 设备编码
* @return deviceNumList
*/
public List<String> getDeviceNumList(){
return this.deviceNumList;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public void setDeviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
}
/**
* 获取 设备编码
* @return deviceNumNotList
*/
public List<String> getDeviceNumNotList(){
return this.deviceNumNotList;
}
/**
* 设置 设备编码
* @param deviceNumNotList
*/
public void setDeviceNumNotList(List<String> deviceNumNotList){
this.deviceNumNotList = deviceNumNotList;
}
/** /**
* 获取 开始 产品id * 获取 开始 产品id
* @return productIdStart * @return productIdStart
...@@ -406,7 +441,6 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -406,7 +441,6 @@ public class PageRouteQuery extends PageRouteEntity {
this.targetCodeNotList = targetCodeNotList; this.targetCodeNotList = targetCodeNotList;
} }
/** /**
* 获取 目标页面名称 * 获取 目标页面名称
* @return targetNameList * @return targetNameList
...@@ -439,7 +473,6 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -439,7 +473,6 @@ public class PageRouteQuery extends PageRouteEntity {
this.targetNameNotList = targetNameNotList; this.targetNameNotList = targetNameNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
...@@ -720,6 +753,25 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -720,6 +753,25 @@ public class PageRouteQuery extends PageRouteEntity {
return this; return this;
} }
/**
* 设置 设备编码
* @param deviceNum
*/
public PageRouteQuery deviceNum(String deviceNum){
setDeviceNum(deviceNum);
return this;
}
/**
* 设置 设备编码
* @param deviceNumList
*/
public PageRouteQuery deviceNumList(List<String> deviceNumList){
this.deviceNumList = deviceNumList;
return this;
}
/** /**
* 设置 产品id * 设置 产品id
* @param productId * @param productId
...@@ -850,12 +902,13 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -850,12 +902,13 @@ public class PageRouteQuery extends PageRouteEntity {
return this; return this;
} }
/**
* 设置 目标页面名称 /**
* 设置 目标页面名称
* @param targetName * @param targetName
*/ */
public PageRouteQuery targetName(String targetName){ public PageRouteQuery targetName(String targetName){
setTargetName(targetName); setTargetName(targetName);
return this; return this;
} }
...@@ -866,16 +919,7 @@ public class PageRouteQuery extends PageRouteEntity { ...@@ -866,16 +919,7 @@ public class PageRouteQuery extends PageRouteEntity {
public PageRouteQuery targetNameList(List<String> targetNameList){ public PageRouteQuery targetNameList(List<String> targetNameList){
this.targetNameList = targetNameList; this.targetNameList = targetNameList;
return this; return this;
} }
/**
* 设置 目标页面名称
* @param targetNameNotList
*/
public PageRouteQuery targetNameNotList(List<String> targetNameNotList){
this.targetNameNotList = targetNameNotList;
return this;
}
/** /**
* 设置 创建用户 * 设置 创建用户
......
...@@ -11,6 +11,8 @@ import lombok.Data; ...@@ -11,6 +11,8 @@ import lombok.Data;
*/ */
@Data @Data
public class BuryPointPdu { public class BuryPointPdu {
/** 设备编号 */
private String deviceNum;
/*** 产品id */ /*** 产品id */
private Long productId; private Long productId;
/*** 产品名称 */ /*** 产品名称 */
......
...@@ -37,6 +37,7 @@ public class PageAccessDepthServiceImpl extends AbstractCRUDServiceImpl<PageAcce ...@@ -37,6 +37,7 @@ public class PageAccessDepthServiceImpl extends AbstractCRUDServiceImpl<PageAcce
return null; return null;
} }
PageAccessDepthEntity entity = new PageAccessDepthEntity(); PageAccessDepthEntity entity = new PageAccessDepthEntity();
entity.setDeviceNum(pdu.getDeviceNum());
entity.setProductId(pdu.getProductId()); entity.setProductId(pdu.getProductId());
entity.setProductName(pdu.getProductName()); entity.setProductName(pdu.getProductName());
entity.setPageCode(pdu.getPageCode()); entity.setPageCode(pdu.getPageCode());
......
...@@ -37,6 +37,7 @@ public class PageAccessServiceImpl extends AbstractCRUDServiceImpl<PageAccessDao ...@@ -37,6 +37,7 @@ public class PageAccessServiceImpl extends AbstractCRUDServiceImpl<PageAccessDao
return null; return null;
} }
PageAccessEntity entity = new PageAccessEntity(); PageAccessEntity entity = new PageAccessEntity();
entity.setDeviceNum(pdu.getDeviceNum());
entity.setProductId(pdu.getProductId()); entity.setProductId(pdu.getProductId());
entity.setProductName(pdu.getProductName()); entity.setProductName(pdu.getProductName());
entity.setPageCode(pdu.getPageCode()); entity.setPageCode(pdu.getPageCode());
......
...@@ -37,6 +37,7 @@ public class PageEventServiceImpl extends AbstractCRUDServiceImpl<PageEventDao, ...@@ -37,6 +37,7 @@ public class PageEventServiceImpl extends AbstractCRUDServiceImpl<PageEventDao,
return null; return null;
} }
PageEventEntity entity = new PageEventEntity(); PageEventEntity entity = new PageEventEntity();
entity.setDeviceNum(pdu.getDeviceNum());
entity.setProductId(pdu.getProductId()); entity.setProductId(pdu.getProductId());
entity.setProductName(pdu.getProductName()); entity.setProductName(pdu.getProductName());
entity.setPageCode(pdu.getPageCode()); entity.setPageCode(pdu.getPageCode());
......
...@@ -43,6 +43,7 @@ public class PageRouteServiceImpl extends AbstractCRUDServiceImpl<PageRouteDao, ...@@ -43,6 +43,7 @@ public class PageRouteServiceImpl extends AbstractCRUDServiceImpl<PageRouteDao,
return null; return null;
} }
PageRouteEntity entity = new PageRouteEntity(); PageRouteEntity entity = new PageRouteEntity();
entity.setDeviceNum(pdu.getDeviceNum());
entity.setProductId(pdu.getProductId()); entity.setProductId(pdu.getProductId());
entity.setProductName(pdu.getProductName()); entity.setProductName(pdu.getProductName());
entity.setSourceCode(pdu.getRouteInfo().getSourceCode()); entity.setSourceCode(pdu.getRouteInfo().getSourceCode());
......
...@@ -40,7 +40,6 @@ public class BuryPointController extends BaseJsonBodyController { ...@@ -40,7 +40,6 @@ public class BuryPointController extends BaseJsonBodyController {
private PageRouteService pageRouteService; private PageRouteService pageRouteService;
@PostMapping({"save"}) @PostMapping({"save"})
@RepeatSubmit
@UnAuth @UnAuth
public String save(@RequestBody BuryPointPdu pdu) { public String save(@RequestBody BuryPointPdu pdu) {
Map<String, Object> model = new HashMap(); Map<String, Object> model = new HashMap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment