Commit 38464900 authored by 赵啸非's avatar 赵啸非

添加事项渠道

parent 6f4ed7b8
......@@ -308,11 +308,13 @@ CREATE TABLE `mortals_sys_matter_channel` (
`matterId` bigint(20) NOT NULL DEFAULT 0 COMMENT '基础事项表id',
`matterCode` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '',
`matterName` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项名称',
`name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '名称',
`name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '应用名称',
`description` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '描述信息',
`icon` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '图标',
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '跳转地址',
`qrCode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '二维码图片',
`source` tinyint(2) NULL DEFAULT 0 COMMENT '事项来源 (0.政务网,1.自定义)',
`appType` tinyint(2) NULL DEFAULT 0 COMMENT 'app来源类型 (0.PC端,1.移动端)',
`remark` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
`createTime` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '创建时间',
`createUserId` bigint(20) NULL DEFAULT NULL COMMENT '创建用户',
......
......@@ -10,11 +10,11 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterChannelVo;
import lombok.Data;
/**
* 办理渠道实体对象
*
* @author zxfei
* @date 2025-03-18
*/
* 办理渠道实体对象
*
* @author zxfei
* @date 2025-03-19
*/
@Data
public class MatterChannelEntity extends MatterChannelVo {
private static final long serialVersionUID = 1L;
......@@ -55,6 +55,14 @@ public class MatterChannelEntity extends MatterChannelVo {
* 描述信息
*/
private String description;
/**
* 二维码图片
*/
private String qrCode;
/**
* app来源类型 (0.PC端,1.移动端)
*/
private Integer appType;
@Override
public int hashCode() {
return this.getId().hashCode();
......@@ -81,5 +89,7 @@ public class MatterChannelEntity extends MatterChannelVo {
this.source = 0;
this.remark = "";
this.description = "";
this.qrCode = "";
this.appType = 0;
}
}
\ No newline at end of file
......@@ -3,11 +3,11 @@ package com.mortals.xhx.module.matter.model;
import java.util.List;
import com.mortals.xhx.module.matter.model.MatterChannelEntity;
/**
* 办理渠道查询对象
*
* @author zxfei
* @date 2025-03-18
*/
* 办理渠道查询对象
*
* @author zxfei
* @date 2025-03-19
*/
public class MatterChannelQuery extends MatterChannelEntity {
/** 开始 主键,自增长 */
private Long idStart;
......@@ -116,6 +116,26 @@ public class MatterChannelQuery extends MatterChannelEntity {
/** 描述信息排除列表 */
private List <String> descriptionNotList;
/** 二维码图片 */
private List<String> qrCodeList;
/** 二维码图片排除列表 */
private List <String> qrCodeNotList;
/** 开始 app来源类型 (0.PC端,1.移动端) */
private Integer appTypeStart;
/** 结束 app来源类型 (0.PC端,1.移动端) */
private Integer appTypeEnd;
/** 增加 app来源类型 (0.PC端,1.移动端) */
private Integer appTypeIncrement;
/** app来源类型 (0.PC端,1.移动端)列表 */
private List <Integer> appTypeList;
/** app来源类型 (0.PC端,1.移动端)排除列表 */
private List <Integer> appTypeNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<MatterChannelQuery> orConditionList;
......@@ -736,6 +756,119 @@ public class MatterChannelQuery extends MatterChannelEntity {
this.descriptionNotList = descriptionNotList;
}
/**
* 获取 二维码图片
* @return qrCodeList
*/
public List<String> getQrCodeList(){
return this.qrCodeList;
}
/**
* 设置 二维码图片
* @param qrCodeList
*/
public void setQrCodeList(List<String> qrCodeList){
this.qrCodeList = qrCodeList;
}
/**
* 获取 二维码图片
* @return qrCodeNotList
*/
public List<String> getQrCodeNotList(){
return this.qrCodeNotList;
}
/**
* 设置 二维码图片
* @param qrCodeNotList
*/
public void setQrCodeNotList(List<String> qrCodeNotList){
this.qrCodeNotList = qrCodeNotList;
}
/**
* 获取 开始 app来源类型 (0.PC端,1.移动端)
* @return appTypeStart
*/
public Integer getAppTypeStart(){
return this.appTypeStart;
}
/**
* 设置 开始 app来源类型 (0.PC端,1.移动端)
* @param appTypeStart
*/
public void setAppTypeStart(Integer appTypeStart){
this.appTypeStart = appTypeStart;
}
/**
* 获取 结束 app来源类型 (0.PC端,1.移动端)
* @return $appTypeEnd
*/
public Integer getAppTypeEnd(){
return this.appTypeEnd;
}
/**
* 设置 结束 app来源类型 (0.PC端,1.移动端)
* @param appTypeEnd
*/
public void setAppTypeEnd(Integer appTypeEnd){
this.appTypeEnd = appTypeEnd;
}
/**
* 获取 增加 app来源类型 (0.PC端,1.移动端)
* @return appTypeIncrement
*/
public Integer getAppTypeIncrement(){
return this.appTypeIncrement;
}
/**
* 设置 增加 app来源类型 (0.PC端,1.移动端)
* @param appTypeIncrement
*/
public void setAppTypeIncrement(Integer appTypeIncrement){
this.appTypeIncrement = appTypeIncrement;
}
/**
* 获取 app来源类型 (0.PC端,1.移动端)
* @return appTypeList
*/
public List<Integer> getAppTypeList(){
return this.appTypeList;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeList
*/
public void setAppTypeList(List<Integer> appTypeList){
this.appTypeList = appTypeList;
}
/**
* 获取 app来源类型 (0.PC端,1.移动端)
* @return appTypeNotList
*/
public List<Integer> getAppTypeNotList(){
return this.appTypeNotList;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeNotList
*/
public void setAppTypeNotList(List<Integer> appTypeNotList){
this.appTypeNotList = appTypeNotList;
}
/**
* 设置 主键,自增长
* @param id
......@@ -1087,6 +1220,79 @@ public class MatterChannelQuery extends MatterChannelEntity {
return this;
}
/**
* 设置 二维码图片
* @param qrCode
*/
public MatterChannelQuery qrCode(String qrCode){
setQrCode(qrCode);
return this;
}
/**
* 设置 二维码图片
* @param qrCodeList
*/
public MatterChannelQuery qrCodeList(List<String> qrCodeList){
this.qrCodeList = qrCodeList;
return this;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appType
*/
public MatterChannelQuery appType(Integer appType){
setAppType(appType);
return this;
}
/**
* 设置 开始 app来源类型 (0.PC端,1.移动端)
* @param appTypeStart
*/
public MatterChannelQuery appTypeStart(Integer appTypeStart){
this.appTypeStart = appTypeStart;
return this;
}
/**
* 设置 结束 app来源类型 (0.PC端,1.移动端)
* @param appTypeEnd
*/
public MatterChannelQuery appTypeEnd(Integer appTypeEnd){
this.appTypeEnd = appTypeEnd;
return this;
}
/**
* 设置 增加 app来源类型 (0.PC端,1.移动端)
* @param appTypeIncrement
*/
public MatterChannelQuery appTypeIncrement(Integer appTypeIncrement){
this.appTypeIncrement = appTypeIncrement;
return this;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeList
*/
public MatterChannelQuery appTypeList(List<Integer> appTypeList){
this.appTypeList = appTypeList;
return this;
}
/**
* 设置 app来源类型 (0.PC端,1.移动端)
* @param appTypeNotList
*/
public MatterChannelQuery appTypeNotList(List<Integer> appTypeNotList){
this.appTypeNotList = appTypeNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
......
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