同步框架更新
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
package com.xjrsoft.system.client;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.github.yulichang.toolkit.MPJWrappers;
|
||||
@ -11,7 +10,6 @@ import com.xjrsoft.system.mapper.MenuMapper;
|
||||
import com.xjrsoft.system.service.IMenuService;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -1,14 +1,20 @@
|
||||
package com.xjrsoft.system.client;
|
||||
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.xjrsoft.common.core.constant.GlobalConstant;
|
||||
import com.xjrsoft.system.entity.Message;
|
||||
import com.xjrsoft.system.model.MessageNoticePolicyParam;
|
||||
import com.xjrsoft.system.service.IMessageService;
|
||||
import com.xjrsoft.system.utils.SendMessageUtil;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/10/18 15:13
|
||||
@ -18,6 +24,8 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@AllArgsConstructor
|
||||
public class MessageClient implements IMessageClient {
|
||||
|
||||
public final IMessageService messageService;
|
||||
|
||||
@Override
|
||||
@PostMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/sendWorkflowTimeoutMessageFeign")
|
||||
public void sendWorkflowTimeoutMessageFeign(@RequestBody MessageNoticePolicyParam param) {
|
||||
@ -78,4 +86,11 @@ public class MessageClient implements IMessageClient {
|
||||
public void sendWorkflowTimeoutDingtalkFeign(@RequestBody MessageNoticePolicyParam param) {
|
||||
SendMessageUtil.sendWorkflowTimeoutDingtalk(param);
|
||||
}
|
||||
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/selectListFeign")
|
||||
public List<Message> selectListFeign(Message message) {
|
||||
return messageService.selectList(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@ import com.xjrsoft.system.service.ISystemConfigService;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
@ -21,7 +22,7 @@ public class SystemConfigClient implements ISystemConfigClient {
|
||||
|
||||
@Override
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_SYSTEM_NAME + "/queryByCode")
|
||||
public XjrSystemConfig queryByCode(String code) {
|
||||
public XjrSystemConfig queryByCode(@RequestParam("code")String code) {
|
||||
return systemConfigService.queryByCode(code);
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
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> {
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
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> {
|
||||
|
||||
}
|
||||
@ -3,6 +3,8 @@ package com.xjrsoft.system.service;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.xjrsoft.system.entity.Message;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 消息状态 服务类
|
||||
@ -13,5 +15,6 @@ import com.xjrsoft.system.entity.Message;
|
||||
*/
|
||||
public interface IMessageService extends IService<Message> {
|
||||
|
||||
List<Message> selectList(Message message);
|
||||
|
||||
}
|
||||
|
||||
@ -9,9 +9,9 @@ import com.github.yulichang.toolkit.MPJWrappers;
|
||||
import com.xjrsoft.common.core.enums.AuthorizeType;
|
||||
import com.xjrsoft.common.core.enums.EnabledMark;
|
||||
import com.xjrsoft.common.core.uitls.VoToColumnUtil;
|
||||
import com.xjrsoft.organization.client.IRoleClient;
|
||||
import com.xjrsoft.organization.client.IUserRoleRelationClient;
|
||||
import com.xjrsoft.organization.entity.UserRoleRelation;
|
||||
import com.xjrsoft.organization.mapper.RoleMapper;
|
||||
import com.xjrsoft.system.dto.MenuTreeDto;
|
||||
import com.xjrsoft.system.entity.Authorize;
|
||||
import com.xjrsoft.system.entity.Menu;
|
||||
@ -28,7 +28,6 @@ import com.xjrsoft.tenant.config.TenantConfig;
|
||||
import com.xjrsoft.tenant.util.SecureUtil;
|
||||
import com.xjrsoft.workflow.entity.WorkflowSchema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.apache.commons.lang3.BooleanUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@ -51,8 +50,6 @@ public class MenuServiceImpl extends MPJBaseServiceImpl<MenuMapper, Menu> implem
|
||||
|
||||
private final AuthorizeMapper authorizeMapper;
|
||||
|
||||
private final RoleMapper roleMapper;
|
||||
|
||||
private final TenantMapper tenantMapper;
|
||||
|
||||
private final TenantConfig tenantConfig;
|
||||
|
||||
@ -1,12 +1,16 @@
|
||||
package com.xjrsoft.system.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.xjrsoft.system.entity.Message;
|
||||
import com.xjrsoft.system.mapper.MessageMapper;
|
||||
import com.xjrsoft.system.service.IMessageService;
|
||||
import com.xjrsoft.system.utils.SendMessageUtil;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 消息状态 服务实现类
|
||||
@ -19,4 +23,10 @@ import org.springframework.stereotype.Service;
|
||||
@AllArgsConstructor
|
||||
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements IMessageService {
|
||||
|
||||
@Override
|
||||
public List<Message> selectList(Message message) {
|
||||
List<Message> messageList = baseMapper.selectList(Wrappers.lambdaQuery(Message.class).eq(Message::getObjectId, message.getObjectId()).eq(Message::getProcessId, message.getProcessId()));
|
||||
return messageList;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user