同步框架更新

This commit is contained in:
yaoyn
2025-02-15 17:05:09 +08:00
parent 29b5c68564
commit 9b7d27a2b4
141 changed files with 585 additions and 133 deletions

View File

@ -1,12 +1,16 @@
package com.xjrsoft.system.client;
import com.xjrsoft.common.core.constant.GlobalConstant;
import com.xjrsoft.system.entity.Message;
import com.xjrsoft.system.fallback.MessageClientFallBack;
import com.xjrsoft.system.model.MessageNoticePolicyParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
/**
* @Author: tzx
* @Date: 2023/10/18 15:09
@ -56,4 +60,12 @@ public interface IMessageClient {
@PostMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/sendWorkflowTimeoutDingtalkFeign")
void sendWorkflowTimeoutDingtalkFeign(@RequestBody MessageNoticePolicyParam param);
/**
* 获取消息列表
* @param message
* @return
*/
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/selectListFeign")
List<Message> selectListFeign(Message message);
}

View File

@ -5,6 +5,7 @@ import com.xjrsoft.system.entity.XjrSystemConfig;
import com.xjrsoft.system.fallback.SystemConfigClientFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
/**
* @author yjw
@ -19,5 +20,5 @@ public interface ISystemConfigClient {
* @return
*/
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/queryByCode")
XjrSystemConfig queryByCode(String code);
XjrSystemConfig queryByCode(@RequestParam("code") String code);
}

View File

@ -1,9 +1,12 @@
package com.xjrsoft.system.fallback;
import com.xjrsoft.system.client.IMessageClient;
import com.xjrsoft.system.entity.Message;
import com.xjrsoft.system.model.MessageNoticePolicyParam;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* @Author: tzx
* @Date: 2023/10/18 15:13
@ -60,4 +63,10 @@ public class MessageClientFallBack implements IMessageClient {
public void sendWorkflowTimeoutDingtalkFeign(MessageNoticePolicyParam param) {
}
@Override
public List<Message> selectListFeign(Message message) {
return null;
}
}

View File

@ -2,6 +2,7 @@ package com.xjrsoft.system.fallback;
import com.xjrsoft.system.client.ISystemConfigClient;
import com.xjrsoft.system.entity.XjrSystemConfig;
import org.springframework.web.bind.annotation.RequestParam;
/**
* @author yjw
@ -9,7 +10,7 @@ import com.xjrsoft.system.entity.XjrSystemConfig;
*/
public class SystemConfigClientFallBack implements ISystemConfigClient {
@Override
public XjrSystemConfig queryByCode(String code) {
public XjrSystemConfig queryByCode(@RequestParam("code")String code) {
return null;
}
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Area;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 行政区域表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-06-16
*/
@Mapper
public interface AreaMapper extends BaseMapper<Area> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Authorize;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-16
*/
@Mapper
public interface AuthorizeMapper extends BaseMapper<Authorize> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.CodeRule;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 编号规则表 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-06-23
*/
@Mapper
public interface CodeRuleMapper extends MPJBaseMapper<CodeRule> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.CodeRuleSeed;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 编号规则种子表 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-06-23
*/
@Mapper
public interface CodeRuleSeedMapper extends BaseMapper<CodeRuleSeed> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.CodeSchema;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 代码模板 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-09-29
*/
@Mapper
public interface CodeSchemaMapper extends MPJBaseMapper<CodeSchema> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.DataAuthConfig;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据权限自定义配置详情表 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-02-27
*/
@Mapper
public interface DataAuthConfigMapper extends BaseMapper<DataAuthConfig> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.DataAuth;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据权限表 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-02-27
*/
@Mapper
public interface DataAuthMapper extends MPJBaseMapper<DataAuth> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.DataAuthRelation;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据权限 对象类型关联表 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-02-27
*/
@Mapper
public interface DataAuthRelationMapper extends BaseMapper<DataAuthRelation> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.DataAuthTableRelation;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据权限 与 表 关联关系表 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-02-28
*/
@Mapper
public interface DataAuthTableRelationMapper extends BaseMapper<DataAuthTableRelation> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Databaselink;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据库连接表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-04
*/
@Mapper
public interface DatabaselinkMapper extends BaseMapper<Databaselink> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.Datasource;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据源表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-08
*/
@Mapper
public interface DatasourceMapper extends MPJBaseMapper<Datasource> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.DictionaryDetail;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据字典详情 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-17
*/
@Mapper
public interface DictionarydetailMapper extends BaseMapper<DictionaryDetail> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.DictionaryItem;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 数据字典项目 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-17
*/
@Mapper
public interface DictionaryitemMapper extends BaseMapper<DictionaryItem> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.File;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 文件关联关系表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-08
*/
@Mapper
public interface FileMapper extends MPJBaseMapper<File> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.InterfaceAuth;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 接口权限表 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-11-03
*/
@Mapper
public interface InterfaceAuthMapper extends BaseMapper<InterfaceAuth> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Language;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 语言翻译表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-10-09
*/
@Mapper
public interface LanguageMapper extends BaseMapper<Language> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.LanguageType;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 多语言语言类型表 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-06-30
*/
@Mapper
public interface LanguageTypeMapper extends BaseMapper<LanguageType> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.LiteflowChain;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 规则表 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-04-06
*/
@Mapper
public interface LiteflowChainMapper extends BaseMapper<LiteflowChain> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.LiteflowScript;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 规则脚本表 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-04-06
*/
@Mapper
public interface LiteflowScriptMapper extends BaseMapper<LiteflowScript> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Log;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 系统日志表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-04
*/
@Mapper
public interface LogMapper extends BaseMapper<Log> {
}

View File

@ -1,19 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.LoginConfig;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* Login登录配置表【xjr_login_config】 Mapper 接口
* </p>
*
* @author hnyyzy
* @since 2023-11-20
*/
@Mapper
public interface LoginConfigMapper extends BaseMapper<LoginConfig> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.LogoConfig;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* Logo信息配置表【xjr_logo_config】 Mapper 接口
* </p>
*
* @author hnyyzy
* @since 2023-11-20
*/
@Mapper
public interface LogoConfigMapper extends BaseMapper<LogoConfig> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.MenuButton;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 菜单按钮 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-16
*/
@Mapper
public interface MenuButtonMapper extends BaseMapper<MenuButton> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.MenuColumn;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 菜单列表字段 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-07-08
*/
@Mapper
public interface MenuColumnMapper extends BaseMapper<MenuColumn> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.MenuForm;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 菜单表单字段 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-07-08
*/
@Mapper
public interface MenuFormMapper extends BaseMapper<MenuForm> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 用户 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-03-16
*/
@Mapper
public interface MenuMapper extends MPJBaseMapper<Menu> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Message;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 消息状态 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-06-16
*/
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.News;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 新闻中心表 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-06-16
*/
@Mapper
public interface NewsMapper extends MPJBaseMapper<News> {
}

View File

@ -1,9 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.NewsRelation;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface NewsRelationMapper extends BaseMapper<NewsRelation> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.PrintConfig;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author tzx
* @since 2023-05-23
*/
@Mapper
public interface PrintConfigMapper extends BaseMapper<PrintConfig> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.PrintSchema;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 打印模板 Mapper 接口
* </p>
*
* @author tzx
* @since 2023-05-19
*/
@Mapper
public interface PrintSchemaMapper extends MPJBaseMapper<PrintSchema> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.ProfessionalReport;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 专业报表 Mapper 接口
* </p>
*
* @author hnyyzy
* @since 2023-11-01
*/
@Mapper
public interface ProfessionalReportMapper extends MPJBaseMapper<ProfessionalReport> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Report;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author tzx
* @since 2022-05-23
*/
@Mapper
public interface ReportMapper extends BaseMapper<Report> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.ReportRelation;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 报表菜单关联关系表 Mapper 接口
* </p>
*
* @author tzx
* @since 2022-05-23
*/
@Mapper
public interface ReportRelationMapper extends MPJBaseMapper<ReportRelation> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Schedule;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 日程管理 Mapper 接口
* </p>
*
* @author zlf
* @since 2022-06-16
*/
@Mapper
public interface ScheduleMapper extends BaseMapper<Schedule> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.system.entity.Stamp;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 印章表 Mapper 接口
* </p>
*
* @author zjq
* @since 2022-10-24
*/
@Mapper
public interface StampMapper extends MPJBaseMapper<Stamp> {
}

View File

@ -1,19 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Subsystem;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 子系统 Mapper 接口
* </p>
*
* @author zjq
* @since 2022-10-08
*/
@Mapper
public interface SubsystemMapper extends BaseMapper<Subsystem> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.TenantAuthorize;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 租户功能授权表 Mapper 接口
* </p>
*
* @author zlf
* @since 2023-10-24
*/
@Mapper
public interface TenantAuthorizeMapper extends BaseMapper<TenantAuthorize> {
}

View File

@ -1,18 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.Tenant;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author tzx
* @since 2023-08-14
*/
@Mapper
public interface TenantMapper extends BaseMapper<Tenant> {
}

View File

@ -1,16 +0,0 @@
package com.xjrsoft.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjrsoft.system.entity.XjrSystemConfig;
import org.apache.ibatis.annotations.Mapper;
/**
* @title: mapper
* @Author 管理员
* @Date: 2024-07-29
* @Version 1.0
*/
@Mapper
public interface XjrSystemConfigMapper extends BaseMapper<XjrSystemConfig> {
}