Commit 2339b59c authored by 廖旭伟's avatar 廖旭伟

去除多余代码

parent 0718d741
...@@ -420,6 +420,119 @@ CREATE TABLE mortals_sys_matter_ext ...@@ -420,6 +420,119 @@ CREATE TABLE mortals_sys_matter_ext
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='事项扩展'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='事项扩展';
-- ----------------------------
-- Table structure for mortals_iot_area
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_area`;
CREATE TABLE `mortals_iot_area` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`areaCode` char(32) DEFAULT NULL COMMENT '区域编码',
`name` varchar(64) DEFAULT NULL COMMENT '区域名称',
`areaLevel` char(2) DEFAULT NULL COMMENT '区域等级,1省,2地市州,3区县,4街道,5社区',
`haveSonArea` char(5) DEFAULT NULL COMMENT '是否有下级区域',
`haveSonDept` char(5) DEFAULT NULL COMMENT '是否有下级部门',
`shortName` varchar(64) DEFAULT NULL COMMENT '名称简称',
`domain` varchar(1024) DEFAULT NULL COMMENT '访问地址',
`iid` char(32) DEFAULT NULL COMMENT '一体化的ID号',
`pid` char(32) DEFAULT NULL COMMENT '一体化的父id',
`haveGetDept` char(5) DEFAULT NULL COMMENT '是否获取部门',
`haveGetMatterList` char(5) DEFAULT NULL COMMENT '是否获取事项列表',
`updateTime` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=36358 DEFAULT CHARSET=utf8 COMMENT='区域表';
-- ----------------------------
-- Table structure for mortals_iot_matters
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_matters`;
CREATE TABLE `mortals_iot_matters` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`areaCode` char(32) DEFAULT NULL COMMENT '区域编码',
`deptCode` char(32) DEFAULT NULL COMMENT '部门编号',
`powerCode` char(3) DEFAULT NULL COMMENT '行政权力编号',
`themeCode` char(128) DEFAULT NULL COMMENT '主题编号',
`usertypeCode` char(3) DEFAULT NULL COMMENT '服务类型编号',
`matterCode` char(64) DEFAULT NULL COMMENT '事项编号',
`name` varchar(256) DEFAULT NULL COMMENT '事项名称',
`groupName` varchar(256) DEFAULT NULL COMMENT '事项组名',
`url` varchar(1024) DEFAULT NULL COMMENT '事项详情链接',
`haveGetMatterInfo` char(5) DEFAULT NULL COMMENT '是否获取事项详情',
`updateTime` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=6079 DEFAULT CHARSET=utf8 COMMENT='事项列表';
-- ----------------------------
-- Table structure for mortals_iot_matters_dept
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_matters_dept`;
CREATE TABLE `mortals_iot_matters_dept` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`areaCode` char(32) DEFAULT NULL COMMENT '区域编号',
`deptCode` char(32) DEFAULT NULL COMMENT '部门编号',
`name` varchar(256) DEFAULT NULL COMMENT '部门名称',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=35 DEFAULT CHARSET=utf8 COMMENT='部门表';
-- ----------------------------
-- Table structure for mortals_iot_matters_detail
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_matters_detail`;
CREATE TABLE `mortals_iot_matters_detail` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`matterCode` char(64) DEFAULT NULL COMMENT '事项编号',
`onlineUrl_zxsq` varchar(1024) DEFAULT NULL COMMENT '在线申请',
`basicInfo_jbxx` text COMMENT '基本信息',
`materials_sqcl` text COMMENT '申请材料',
`conditions_sltj` text COMMENT '受理条件',
`process_bllc` text COMMENT '办理流程',
`charging_sfbz` text COMMENT '收费标准',
`basis_sdyj` text COMMENT '设定依据',
`intermediary_zjfw` text COMMENT '中介服务',
`question_cjwt` text COMMENT '常见问题',
`updateTime` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=6079 DEFAULT CHARSET=utf8 COMMENT='事项详情表';
-- ----------------------------
-- Table structure for mortals_iot_matters_power
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_matters_power`;
CREATE TABLE `mortals_iot_matters_power` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`powerCode` char(3) DEFAULT NULL COMMENT '行政权力编号',
`name` varchar(64) DEFAULT NULL COMMENT '行政权力名称',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='行政权力表';
-- ----------------------------
-- Table structure for mortals_iot_matters_theme
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_matters_theme`;
CREATE TABLE `mortals_iot_matters_theme` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`usertypeCode` char(3) DEFAULT NULL COMMENT '服务类型编号',
`themeCode` char(3) DEFAULT NULL COMMENT '主题编号',
`name` varchar(64) DEFAULT NULL COMMENT '主题名称',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=67 DEFAULT CHARSET=utf8 COMMENT='主题表';
-- ----------------------------
-- Table structure for mortals_iot_matters_usertype
-- ----------------------------
DROP TABLE IF EXISTS `mortals_iot_matters_usertype`;
CREATE TABLE `mortals_iot_matters_usertype` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id号',
`usertypeCode` char(3) DEFAULT NULL COMMENT '服务类型编号',
`name` varchar(64) DEFAULT NULL COMMENT '服务类型名称',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='服务类型表';
-- ---------------------------- -- ----------------------------
-- 材料公共库表 -- 材料公共库表
-- ---------------------------- -- ----------------------------
...@@ -481,4 +594,21 @@ CREATE TABLE mortals_xhx_dept_office( ...@@ -481,4 +594,21 @@ CREATE TABLE mortals_xhx_dept_office(
`updateUserId` bigint(20) COMMENT '更新用户', `updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间', `updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='股室管理'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='股室管理';
\ No newline at end of file
-- ----------------------------
-- 用户收藏夹表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_user_collect`;
CREATE TABLE mortals_xhx_user_collect(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`userId` bigint(20) COMMENT '用户id',
`collectType` tinyint(2) DEFAULT '1' COMMENT '收藏类型1单事项2一件事',
`collectName` varchar(128) COMMENT '收藏名称',
`collectUrl` varchar(128) COMMENT '收藏链接',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`createTime` datetime NOT NULL COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户收藏夹';
\ No newline at end of file
package com.mortals.xhx.module.user.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.user.model.UserCollectEntity;
import java.util.List;
/**
* 用户收藏夹Dao
* 用户收藏夹 DAO接口
*
* @author zxfei
* @date 2023-03-09
*/
public interface UserCollectDao extends ICRUDDao<UserCollectEntity,Long>{
}
package com.mortals.xhx.module.user.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.user.dao.UserCollectDao;
import com.mortals.xhx.module.user.model.UserCollectEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 用户收藏夹DaoImpl DAO接口
*
* @author zxfei
* @date 2023-03-09
*/
@Repository("userCollectDao")
public class UserCollectDaoImpl extends BaseCRUDDaoMybatis<UserCollectEntity,Long> implements UserCollectDao {
}
package com.mortals.xhx.module.user.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.user.model.vo.UserCollectVo;
/**
* 用户收藏夹实体对象
*
* @author zxfei
* @date 2023-03-09
*/
public class UserCollectEntity extends UserCollectVo {
private static final long serialVersionUID = 1L;
/**
* 用户id
*/
private Long userId;
/**
* 收藏类型1单事项2一件事
*/
private Integer collectType;
/**
* 收藏名称
*/
private String collectName;
/**
* 收藏链接
*/
private String collectUrl;
public UserCollectEntity(){}
/**
* 获取 用户id
* @return Long
*/
public Long getUserId(){
return userId;
}
/**
* 设置 用户id
* @param userId
*/
public void setUserId(Long userId){
this.userId = userId;
}
/**
* 获取 收藏类型1单事项2一件事
* @return Integer
*/
public Integer getCollectType(){
return collectType;
}
/**
* 设置 收藏类型1单事项2一件事
* @param collectType
*/
public void setCollectType(Integer collectType){
this.collectType = collectType;
}
/**
* 获取 收藏名称
* @return String
*/
public String getCollectName(){
return collectName;
}
/**
* 设置 收藏名称
* @param collectName
*/
public void setCollectName(String collectName){
this.collectName = collectName;
}
/**
* 获取 收藏链接
* @return String
*/
public String getCollectUrl(){
return collectUrl;
}
/**
* 设置 收藏链接
* @param collectUrl
*/
public void setCollectUrl(String collectUrl){
this.collectUrl = collectUrl;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof UserCollectEntity) {
UserCollectEntity tmp = (UserCollectEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",userId:").append(getUserId());
sb.append(",collectType:").append(getCollectType());
sb.append(",collectName:").append(getCollectName());
sb.append(",collectUrl:").append(getCollectUrl());
return sb.toString();
}
public void initAttrValue(){
this.userId = null;
this.collectType = 1;
this.collectName = "";
this.collectUrl = "";
}
}
\ No newline at end of file
package com.mortals.xhx.module.user.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.user.model.UserCollectEntity;
import java.util.ArrayList;
import java.util.List;
/**
* 用户收藏夹视图对象
*
* @author zxfei
* @date 2023-03-09
*/
public class UserCollectVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.user.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.user.model.UserCollectEntity;
/**
* UserCollectService
*
* 用户收藏夹 service接口
*
* @author zxfei
* @date 2023-03-09
*/
public interface UserCollectService extends ICRUDService<UserCollectEntity,Long>{
}
\ No newline at end of file
package com.mortals.xhx.module.user.service.impl;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.xhx.module.user.dao.UserCollectDao;
import com.mortals.xhx.module.user.model.UserCollectEntity;
import com.mortals.xhx.module.user.service.UserCollectService;
/**
* UserCollectService
* 用户收藏夹 service实现
*
* @author zxfei
* @date 2023-03-09
*/
@Service("userCollectService")
public class UserCollectServiceImpl extends AbstractCRUDServiceImpl<UserCollectDao, UserCollectEntity, Long> implements UserCollectService {
}
\ No newline at end of file
...@@ -87,9 +87,9 @@ public class AuthTokenServiceImpl implements IAuthTokenService { ...@@ -87,9 +87,9 @@ public class AuthTokenServiceImpl implements IAuthTokenService {
Claims claims = parseToken(token); Claims claims = parseToken(token);
String uuid = (String) claims.get(SysConstains.LOGIN_USER_KEY); String uuid = (String) claims.get(SysConstains.LOGIN_USER_KEY);
String userKey = getTokenKey(uuid); String userKey = getTokenKey(uuid);
cacheService.select(portalDb); // cacheService.select(portalDb);
String userStr = cacheService.get(userKey); String userStr = cacheService.get(userKey);
cacheService.select(db); // cacheService.select(db);
if (StringUtils.isNotEmpty(userStr)) { if (StringUtils.isNotEmpty(userStr)) {
UserEntity userEntity = JSONObject.parseObject(userStr, UserEntity.class); UserEntity userEntity = JSONObject.parseObject(userStr, UserEntity.class);
userEntity.setToken(token); userEntity.setToken(token);
......
package com.mortals.xhx.module.matter.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matter.model.MatterAcceptEntity;
import java.util.List;
/**
* 事项受理条件Dao
* 事项受理条件 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterAcceptDao extends ICRUDDao<MatterAcceptEntity,Long>{
}
package com.mortals.xhx.module.matter.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matter.model.MatterChargesEntity;
import java.util.List;
/**
* 事项收费标准Dao
* 事项收费标准 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterChargesDao extends ICRUDDao<MatterChargesEntity,Long>{
}
package com.mortals.xhx.module.matter.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matter.model.MatterFlowlimitEntity;
import java.util.List;
/**
* 事项办理流程Dao
* 事项办理流程 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterFlowlimitDao extends ICRUDDao<MatterFlowlimitEntity,Long>{
}
package com.mortals.xhx.module.matter.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matter.model.MatterIntermediaryEntity;
import java.util.List;
/**
* 事项中介服务Dao
* 事项中介服务 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterIntermediaryDao extends ICRUDDao<MatterIntermediaryEntity,Long>{
}
package com.mortals.xhx.module.matter.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matter.model.MatterQuestionEntity;
import java.util.List;
/**
* 事项常见问题Dao
* 事项常见问题 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterQuestionDao extends ICRUDDao<MatterQuestionEntity,Long>{
}
package com.mortals.xhx.module.matter.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matter.model.MatterSetbaseEntity;
import java.util.List;
/**
* 事项设定依据Dao
* 事项设定依据 DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterSetbaseDao extends ICRUDDao<MatterSetbaseEntity,Long>{
}
package com.mortals.xhx.module.matter.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.matter.dao.MatterAcceptDao;
import com.mortals.xhx.module.matter.model.MatterAcceptEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 事项受理条件DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("matterAcceptDao")
public class MatterAcceptDaoImpl extends BaseCRUDDaoMybatis<MatterAcceptEntity,Long> implements MatterAcceptDao {
}
package com.mortals.xhx.module.matter.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.matter.dao.MatterChargesDao;
import com.mortals.xhx.module.matter.model.MatterChargesEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 事项收费标准DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("matterChargesDao")
public class MatterChargesDaoImpl extends BaseCRUDDaoMybatis<MatterChargesEntity,Long> implements MatterChargesDao {
}
package com.mortals.xhx.module.matter.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.matter.dao.MatterFlowlimitDao;
import com.mortals.xhx.module.matter.model.MatterFlowlimitEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 事项办理流程DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("matterFlowlimitDao")
public class MatterFlowlimitDaoImpl extends BaseCRUDDaoMybatis<MatterFlowlimitEntity,Long> implements MatterFlowlimitDao {
}
package com.mortals.xhx.module.matter.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.matter.dao.MatterIntermediaryDao;
import com.mortals.xhx.module.matter.model.MatterIntermediaryEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 事项中介服务DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("matterIntermediaryDao")
public class MatterIntermediaryDaoImpl extends BaseCRUDDaoMybatis<MatterIntermediaryEntity,Long> implements MatterIntermediaryDao {
}
package com.mortals.xhx.module.matter.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.matter.dao.MatterQuestionDao;
import com.mortals.xhx.module.matter.model.MatterQuestionEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 事项常见问题DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("matterQuestionDao")
public class MatterQuestionDaoImpl extends BaseCRUDDaoMybatis<MatterQuestionEntity,Long> implements MatterQuestionDao {
}
package com.mortals.xhx.module.matter.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.matter.dao.MatterSetbaseDao;
import com.mortals.xhx.module.matter.model.MatterSetbaseEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 事项设定依据DaoImpl DAO接口
*
* @author zxfei
* @date 2022-01-12
*/
@Repository("matterSetbaseDao")
public class MatterSetbaseDaoImpl extends BaseCRUDDaoMybatis<MatterSetbaseEntity,Long> implements MatterSetbaseDao {
}
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterAcceptVo;
/**
* 事项受理条件实体对象
*
* @author zxfei
* @date 2022-11-16
*/
public class MatterAcceptEntity extends MatterAcceptVo {
private static final long serialVersionUID = 1L;
/**
* 基础事项表id
*/
private Long matterId;
/**
* 事项编码
*/
private String matterCode;
/**
* 事项名称
*/
private String matterName;
/**
* 受理条件
*/
private String content;
/**
* 事项来源 (0.政务网,1.自定义)
*/
private Integer source;
public MatterAcceptEntity(){}
/**
* 获取 基础事项表id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 基础事项表id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 事项编码
* @return String
*/
public String getMatterCode(){
return matterCode;
}
/**
* 设置 事项编码
* @param matterCode
*/
public void setMatterCode(String matterCode){
this.matterCode = matterCode;
}
/**
* 获取 事项名称
* @return String
*/
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
* @param matterName
*/
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 受理条件
* @return String
*/
public String getContent(){
return content;
}
/**
* 设置 受理条件
* @param content
*/
public void setContent(String content){
this.content = content;
}
/**
* 获取 事项来源 (0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源 (0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof MatterAcceptEntity) {
MatterAcceptEntity tmp = (MatterAcceptEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",matterId:").append(getMatterId());
sb.append(",matterCode:").append(getMatterCode());
sb.append(",matterName:").append(getMatterName());
sb.append(",content:").append(getContent());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.matterId = 0L;
this.matterCode = "";
this.matterName = "";
this.content = "";
this.source = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterChargesVo;
/**
* 事项收费标准实体对象
*
* @author zxfei
* @date 2022-11-16
*/
public class MatterChargesEntity extends MatterChargesVo {
private static final long serialVersionUID = 1L;
/**
* 事项基础表matter id
*/
private Long matterId;
/**
* 事项编码
*/
private String matterCode;
/**
* 事项名称
*/
private String matterName;
/**
* 收费标准
*/
private String content;
/**
* 事项来源,(0.政务网,1.自定义)
*/
private Integer source;
public MatterChargesEntity(){}
/**
* 获取 事项基础表matter id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 事项基础表matter id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 事项编码
* @return String
*/
public String getMatterCode(){
return matterCode;
}
/**
* 设置 事项编码
* @param matterCode
*/
public void setMatterCode(String matterCode){
this.matterCode = matterCode;
}
/**
* 获取 事项名称
* @return String
*/
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
* @param matterName
*/
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 收费标准
* @return String
*/
public String getContent(){
return content;
}
/**
* 设置 收费标准
* @param content
*/
public void setContent(String content){
this.content = content;
}
/**
* 获取 事项来源,(0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源,(0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof MatterChargesEntity) {
MatterChargesEntity tmp = (MatterChargesEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",matterId:").append(getMatterId());
sb.append(",matterCode:").append(getMatterCode());
sb.append(",matterName:").append(getMatterName());
sb.append(",content:").append(getContent());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.matterId = 0L;
this.matterCode = "";
this.matterName = "";
this.content = "";
this.source = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterFlowlimitVo;
/**
* 事项办理流程实体对象
*
* @author zxfei
* @date 2022-11-16
*/
public class MatterFlowlimitEntity extends MatterFlowlimitVo {
private static final long serialVersionUID = 1L;
/**
* 事项基础表id
*/
private Long matterId;
/**
* 事项编码
*/
private String matterCode;
/**
* 事项名称
*/
private String matterName;
/**
* 办理流程
*/
private String flowName;
/**
* 办理时长
*/
private String flowTime;
/**
* 转外时限
*/
private String flowLimit;
/**
* 办理流程说明
*/
private String flowDesc;
/**
* 事项来源(0.政务网,1.自定义)
*/
private Integer source;
public MatterFlowlimitEntity(){}
/**
* 获取 事项基础表id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 事项基础表id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 事项编码
* @return String
*/
public String getMatterCode(){
return matterCode;
}
/**
* 设置 事项编码
* @param matterCode
*/
public void setMatterCode(String matterCode){
this.matterCode = matterCode;
}
/**
* 获取 事项名称
* @return String
*/
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
* @param matterName
*/
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 办理流程
* @return String
*/
public String getFlowName(){
return flowName;
}
/**
* 设置 办理流程
* @param flowName
*/
public void setFlowName(String flowName){
this.flowName = flowName;
}
/**
* 获取 办理时长
* @return String
*/
public String getFlowTime(){
return flowTime;
}
/**
* 设置 办理时长
* @param flowTime
*/
public void setFlowTime(String flowTime){
this.flowTime = flowTime;
}
/**
* 获取 转外时限
* @return String
*/
public String getFlowLimit(){
return flowLimit;
}
/**
* 设置 转外时限
* @param flowLimit
*/
public void setFlowLimit(String flowLimit){
this.flowLimit = flowLimit;
}
/**
* 获取 办理流程说明
* @return String
*/
public String getFlowDesc(){
return flowDesc;
}
/**
* 设置 办理流程说明
* @param flowDesc
*/
public void setFlowDesc(String flowDesc){
this.flowDesc = flowDesc;
}
/**
* 获取 事项来源(0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源(0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof MatterFlowlimitEntity) {
MatterFlowlimitEntity tmp = (MatterFlowlimitEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",matterId:").append(getMatterId());
sb.append(",matterCode:").append(getMatterCode());
sb.append(",matterName:").append(getMatterName());
sb.append(",flowName:").append(getFlowName());
sb.append(",flowTime:").append(getFlowTime());
sb.append(",flowLimit:").append(getFlowLimit());
sb.append(",flowDesc:").append(getFlowDesc());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.matterId = 0L;
this.matterCode = "";
this.matterName = "";
this.flowName = "";
this.flowTime = "";
this.flowLimit = "";
this.flowDesc = "";
this.source = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterIntermediaryVo;
/**
* 事项中介服务实体对象
*
* @author zxfei
* @date 2022-11-16
*/
public class MatterIntermediaryEntity extends MatterIntermediaryVo {
private static final long serialVersionUID = 1L;
/**
* 事项matter id
*/
private Long matterId;
/**
* 事项编码
*/
private String matterCode;
/**
* 事项名称
*/
private String matterName;
/**
* 中介服务事项名称
*/
private String title;
/**
* 中介服务实施机构及资质资格要求
*/
private String intermediaryRequest;
/**
* 服务时限
*/
private String intermediaryRequestTime;
/**
* 内容
*/
private String remark;
/**
* 事项来源,(0.政务网,1.自定义)
*/
private Integer source;
public MatterIntermediaryEntity(){}
/**
* 获取 事项matter id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 事项matter id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 事项编码
* @return String
*/
public String getMatterCode(){
return matterCode;
}
/**
* 设置 事项编码
* @param matterCode
*/
public void setMatterCode(String matterCode){
this.matterCode = matterCode;
}
/**
* 获取 事项名称
* @return String
*/
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
* @param matterName
*/
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 中介服务事项名称
* @return String
*/
public String getTitle(){
return title;
}
/**
* 设置 中介服务事项名称
* @param title
*/
public void setTitle(String title){
this.title = title;
}
/**
* 获取 中介服务实施机构及资质资格要求
* @return String
*/
public String getIntermediaryRequest(){
return intermediaryRequest;
}
/**
* 设置 中介服务实施机构及资质资格要求
* @param intermediaryRequest
*/
public void setIntermediaryRequest(String intermediaryRequest){
this.intermediaryRequest = intermediaryRequest;
}
/**
* 获取 服务时限
* @return String
*/
public String getIntermediaryRequestTime(){
return intermediaryRequestTime;
}
/**
* 设置 服务时限
* @param intermediaryRequestTime
*/
public void setIntermediaryRequestTime(String intermediaryRequestTime){
this.intermediaryRequestTime = intermediaryRequestTime;
}
/**
* 获取 内容
* @return String
*/
public String getRemark(){
return remark;
}
/**
* 设置 内容
* @param remark
*/
public void setRemark(String remark){
this.remark = remark;
}
/**
* 获取 事项来源,(0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源,(0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof MatterIntermediaryEntity) {
MatterIntermediaryEntity tmp = (MatterIntermediaryEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",matterId:").append(getMatterId());
sb.append(",matterCode:").append(getMatterCode());
sb.append(",matterName:").append(getMatterName());
sb.append(",title:").append(getTitle());
sb.append(",intermediaryRequest:").append(getIntermediaryRequest());
sb.append(",intermediaryRequestTime:").append(getIntermediaryRequestTime());
sb.append(",remark:").append(getRemark());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.matterId = 0L;
this.matterCode = "";
this.matterName = "";
this.title = "";
this.intermediaryRequest = "";
this.intermediaryRequestTime = "";
this.remark = "";
this.source = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterQuestionVo;
/**
* 事项常见问题实体对象
*
* @author zxfei
* @date 2022-11-16
*/
public class MatterQuestionEntity extends MatterQuestionVo {
private static final long serialVersionUID = 1L;
/**
* 事项基础表matter id
*/
private Long matterId;
/**
* 事项编码
*/
private String matterCode;
/**
* 事项名称
*/
private String matterName;
/**
* 问题
*/
private String question;
/**
* 常见问题
*/
private String answer;
/**
* 事项来源,(0.政务网,1.自定义)
*/
private Integer source;
public MatterQuestionEntity(){}
/**
* 获取 事项基础表matter id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 事项基础表matter id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 事项编码
* @return String
*/
public String getMatterCode(){
return matterCode;
}
/**
* 设置 事项编码
* @param matterCode
*/
public void setMatterCode(String matterCode){
this.matterCode = matterCode;
}
/**
* 获取 事项名称
* @return String
*/
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
* @param matterName
*/
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 问题
* @return String
*/
public String getQuestion(){
return question;
}
/**
* 设置 问题
* @param question
*/
public void setQuestion(String question){
this.question = question;
}
/**
* 获取 常见问题
* @return String
*/
public String getAnswer(){
return answer;
}
/**
* 设置 常见问题
* @param answer
*/
public void setAnswer(String answer){
this.answer = answer;
}
/**
* 获取 事项来源,(0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源,(0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof MatterQuestionEntity) {
MatterQuestionEntity tmp = (MatterQuestionEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",matterId:").append(getMatterId());
sb.append(",matterCode:").append(getMatterCode());
sb.append(",matterName:").append(getMatterName());
sb.append(",question:").append(getQuestion());
sb.append(",answer:").append(getAnswer());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.matterId = 0L;
this.matterCode = "";
this.matterName = "";
this.question = "";
this.answer = "";
this.source = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.vo.MatterSetbaseVo;
/**
* 事项设定依据实体对象
*
* @author zxfei
* @date 2022-11-16
*/
public class MatterSetbaseEntity extends MatterSetbaseVo {
private static final long serialVersionUID = 1L;
/**
* 事项matter id
*/
private Long matterId;
/**
* 事项编码
*/
private String matterCode;
/**
* 事项名称
*/
private String matterName;
/**
* 法规标题
*/
private String policyName;
/**
* 法规类型,(法律.法律,行政法规.行政法规,地方法规.地方法规,部门规章.部门规章,其他.其他,政府规章.政府规章,规范性文件.规范性文件)
*/
private String policyType;
/**
* 条例
*/
private String policyitem;
/**
* 条款内容
*/
private String content;
/**
* 事项来源,(0.政务网,1.自定义)
*/
private Integer source;
public MatterSetbaseEntity(){}
/**
* 获取 事项matter id
* @return Long
*/
public Long getMatterId(){
return matterId;
}
/**
* 设置 事项matter id
* @param matterId
*/
public void setMatterId(Long matterId){
this.matterId = matterId;
}
/**
* 获取 事项编码
* @return String
*/
public String getMatterCode(){
return matterCode;
}
/**
* 设置 事项编码
* @param matterCode
*/
public void setMatterCode(String matterCode){
this.matterCode = matterCode;
}
/**
* 获取 事项名称
* @return String
*/
public String getMatterName(){
return matterName;
}
/**
* 设置 事项名称
* @param matterName
*/
public void setMatterName(String matterName){
this.matterName = matterName;
}
/**
* 获取 法规标题
* @return String
*/
public String getPolicyName(){
return policyName;
}
/**
* 设置 法规标题
* @param policyName
*/
public void setPolicyName(String policyName){
this.policyName = policyName;
}
/**
* 获取 法规类型,(法律.法律,行政法规.行政法规,地方法规.地方法规,部门规章.部门规章,其他.其他,政府规章.政府规章,规范性文件.规范性文件)
* @return String
*/
public String getPolicyType(){
return policyType;
}
/**
* 设置 法规类型,(法律.法律,行政法规.行政法规,地方法规.地方法规,部门规章.部门规章,其他.其他,政府规章.政府规章,规范性文件.规范性文件)
* @param policyType
*/
public void setPolicyType(String policyType){
this.policyType = policyType;
}
/**
* 获取 条例
* @return String
*/
public String getPolicyitem(){
return policyitem;
}
/**
* 设置 条例
* @param policyitem
*/
public void setPolicyitem(String policyitem){
this.policyitem = policyitem;
}
/**
* 获取 条款内容
* @return String
*/
public String getContent(){
return content;
}
/**
* 设置 条款内容
* @param content
*/
public void setContent(String content){
this.content = content;
}
/**
* 获取 事项来源,(0.政务网,1.自定义)
* @return Integer
*/
public Integer getSource(){
return source;
}
/**
* 设置 事项来源,(0.政务网,1.自定义)
* @param source
*/
public void setSource(Integer source){
this.source = source;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof MatterSetbaseEntity) {
MatterSetbaseEntity tmp = (MatterSetbaseEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",matterId:").append(getMatterId());
sb.append(",matterCode:").append(getMatterCode());
sb.append(",matterName:").append(getMatterName());
sb.append(",policyName:").append(getPolicyName());
sb.append(",policyType:").append(getPolicyType());
sb.append(",policyitem:").append(getPolicyitem());
sb.append(",content:").append(getContent());
sb.append(",source:").append(getSource());
return sb.toString();
}
public void initAttrValue(){
this.matterId = 0L;
this.matterCode = "";
this.matterName = "";
this.policyName = "";
this.policyType = "法律";
this.policyitem = "";
this.content = "";
this.source = 0;
}
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.MatterAcceptEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 事项受理条件视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class MatterAcceptVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.MatterChargesEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 事项收费标准视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class MatterChargesVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.MatterFlowlimitEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 事项办理流程视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class MatterFlowlimitVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.MatterIntermediaryEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 事项中介服务视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class MatterIntermediaryVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.MatterQuestionEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 事项常见问题视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class MatterQuestionVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.matter.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.matter.model.MatterSetbaseEntity;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 事项设定依据视图对象
*
* @author zxfei
* @date 2022-01-12
*/
@Data
public class MatterSetbaseVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.matter.service;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.matter.model.MatterAcceptEntity;
/**
* MatterAcceptService
*
* 事项受理条件 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterAcceptService extends ICRUDService<MatterAcceptEntity,Long>{
void deleteByMatterId(Long matterId, Context context);
}
\ No newline at end of file
package com.mortals.xhx.module.matter.service;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.matter.model.MatterChargesEntity;
/**
* MatterChargesService
*
* 事项收费标准 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterChargesService extends ICRUDService<MatterChargesEntity,Long>{
void deleteByMatterId(Long matterId, Context context);
}
\ No newline at end of file
package com.mortals.xhx.module.matter.service;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.matter.model.MatterFlowlimitEntity;
/**
* MatterFlowlimitService
*
* 事项办理流程 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterFlowlimitService extends ICRUDService<MatterFlowlimitEntity,Long>{
void deleteByMatterId(Long matterId, Context context);
}
\ No newline at end of file
package com.mortals.xhx.module.matter.service;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.matter.model.MatterIntermediaryEntity;
/**
* MatterIntermediaryService
*
* 事项中介服务 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterIntermediaryService extends ICRUDService<MatterIntermediaryEntity,Long>{
void deleteByMatterId(Long matterId, Context context);
}
\ No newline at end of file
package com.mortals.xhx.module.matter.service;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.matter.model.MatterQuestionEntity;
/**
* MatterQuestionService
*
* 事项常见问题 service接口
*
* @author zxfei
* @date 2022-01-12
*/
public interface MatterQuestionService extends ICRUDService<MatterQuestionEntity,Long>{
void deleteByMatterId(Long matterId, Context context);
}
\ No newline at end of file
package com.mortals.xhx.module.matters.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.matters.model.MattersAreaEntity;
import java.util.List;
/**
* 区域Dao
* 区域 DAO接口
*
* @author zxfei
* @date 2022-03-30
*/
public interface MattersAreaDao extends ICRUDDao<MattersAreaEntity,Long>{
}
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