模块变动2

This commit is contained in:
杨晓东 2025-10-14 16:22:11 +08:00
parent d872381eff
commit a0b513067a
93 changed files with 173 additions and 672 deletions

View File

@ -18,7 +18,7 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.redis.RedisCache;
import com.shgx.common.utils.sign.Base64;
import com.shgx.common.utils.uuid.IdUtils;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.service.ISysConfigService;
/**
* 验证码操作处理

View File

@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RestController;
import com.shgx.common.constant.CacheConstants;
import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.domain.sys.SysCache;
import com.shgx.system.domain.SysCache;
/**
* 缓存监控

View File

@ -17,8 +17,8 @@ import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.framework.web.service.SysPasswordService;
import com.shgx.system.domain.sys.SysLogininfor;
import com.shgx.system.service.sys.ISysLogininforService;
import com.shgx.system.domain.SysLogininfor;
import com.shgx.system.service.ISysLogininforService;
/**
* 系统访问记录

View File

@ -16,8 +16,8 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.system.domain.sys.SysOperLog;
import com.shgx.system.service.sys.ISysOperLogService;
import com.shgx.system.domain.SysOperLog;
import com.shgx.system.service.ISysOperLogService;
/**
* 操作日志记录

View File

@ -20,8 +20,8 @@ import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.core.redis.RedisCache;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.domain.sys.SysUserOnline;
import com.shgx.system.service.sys.ISysUserOnlineService;
import com.shgx.system.domain.SysUserOnline;
import com.shgx.system.service.ISysUserOnlineService;
/**
* 在线用户监控

View File

@ -19,8 +19,8 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.system.domain.sys.SysConfig;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.domain.SysConfig;
import com.shgx.system.service.ISysConfigService;
/**
* 参数配置 信息操作处理

View File

@ -20,7 +20,7 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.domain.entity.SysDept;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.service.sys.ISysDeptService;
import com.shgx.system.service.ISysDeptService;
/**
* 部门信息

View File

@ -22,8 +22,8 @@ import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.system.service.sys.ISysDictDataService;
import com.shgx.system.service.sys.ISysDictTypeService;
import com.shgx.system.service.ISysDictDataService;
import com.shgx.system.service.ISysDictTypeService;
/**
* 数据字典信息

View File

@ -20,7 +20,7 @@ import com.shgx.common.core.domain.entity.SysDictType;
import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.system.service.sys.ISysDictTypeService;
import com.shgx.system.service.ISysDictTypeService;
/**
* 数据字典信息

View File

@ -21,8 +21,8 @@ import com.shgx.common.utils.StringUtils;
import com.shgx.framework.web.service.SysLoginService;
import com.shgx.framework.web.service.SysPermissionService;
import com.shgx.framework.web.service.TokenService;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.service.sys.ISysMenuService;
import com.shgx.system.service.ISysConfigService;
import com.shgx.system.service.ISysMenuService;
/**
* 登录验证

View File

@ -19,7 +19,7 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.domain.entity.SysMenu;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.service.sys.ISysMenuService;
import com.shgx.system.service.ISysMenuService;
/**
* 菜单信息

View File

@ -17,8 +17,8 @@ import com.shgx.common.core.controller.BaseController;
import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.system.domain.sys.SysNotice;
import com.shgx.system.service.sys.ISysNoticeService;
import com.shgx.system.domain.SysNotice;
import com.shgx.system.service.ISysNoticeService;
/**
* 公告 信息操作处理

View File

@ -19,8 +19,8 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.page.TableDataInfo;
import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.system.domain.sys.SysPost;
import com.shgx.system.service.sys.ISysPostService;
import com.shgx.system.domain.SysPost;
import com.shgx.system.service.ISysPostService;
/**
* 岗位信息操作处理

View File

@ -24,7 +24,7 @@ import com.shgx.common.utils.file.FileUploadUtils;
import com.shgx.common.utils.file.FileUtils;
import com.shgx.common.utils.file.MimeTypeUtils;
import com.shgx.framework.web.service.TokenService;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.service.ISysUserService;
/**
* 个人信息 业务处理

View File

@ -9,7 +9,7 @@ import com.shgx.common.core.domain.AjaxResult;
import com.shgx.common.core.domain.model.RegisterBody;
import com.shgx.common.utils.StringUtils;
import com.shgx.framework.web.service.SysRegisterService;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.service.ISysConfigService;
/**
* 注册验证

View File

@ -26,10 +26,10 @@ import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.framework.web.service.SysPermissionService;
import com.shgx.framework.web.service.TokenService;
import com.shgx.system.domain.sys.SysUserRole;
import com.shgx.system.service.sys.ISysDeptService;
import com.shgx.system.service.sys.ISysRoleService;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.domain.SysUserRole;
import com.shgx.system.service.ISysDeptService;
import com.shgx.system.service.ISysRoleService;
import com.shgx.system.service.ISysUserService;
/**
* 角色信息

View File

@ -27,10 +27,10 @@ import com.shgx.common.enums.BusinessType;
import com.shgx.common.utils.SecurityUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.poi.ExcelUtil;
import com.shgx.system.service.sys.ISysDeptService;
import com.shgx.system.service.sys.ISysPostService;
import com.shgx.system.service.sys.ISysRoleService;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.service.ISysDeptService;
import com.shgx.system.service.ISysPostService;
import com.shgx.system.service.ISysRoleService;
import com.shgx.system.service.ISysUserService;
/**
* 用户信息

View File

@ -31,7 +31,7 @@ import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.ip.IpUtils;
import com.shgx.framework.manager.AsyncManager;
import com.shgx.framework.manager.factory.AsyncFactory;
import com.shgx.system.domain.sys.SysOperLog;
import com.shgx.system.domain.SysOperLog;
/**
* 操作日志记录处理

View File

@ -10,10 +10,10 @@ import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.ip.AddressUtils;
import com.shgx.common.utils.ip.IpUtils;
import com.shgx.common.utils.spring.SpringUtils;
import com.shgx.system.domain.sys.SysLogininfor;
import com.shgx.system.domain.sys.SysOperLog;
import com.shgx.system.service.sys.ISysLogininforService;
import com.shgx.system.service.sys.ISysOperLogService;
import com.shgx.system.domain.SysLogininfor;
import com.shgx.system.domain.SysOperLog;
import com.shgx.system.service.ISysLogininforService;
import com.shgx.system.service.ISysOperLogService;
import eu.bitwalker.useragentutils.UserAgent;
/**

View File

@ -25,8 +25,8 @@ import com.shgx.common.utils.ip.IpUtils;
import com.shgx.framework.manager.AsyncManager;
import com.shgx.framework.manager.factory.AsyncFactory;
import com.shgx.framework.security.context.AuthenticationContextHolder;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.service.ISysConfigService;
import com.shgx.system.service.ISysUserService;
/**
* 登录校验方法

View File

@ -10,8 +10,8 @@ import com.shgx.common.constant.UserConstants;
import com.shgx.common.core.domain.entity.SysRole;
import com.shgx.common.core.domain.entity.SysUser;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.service.sys.ISysMenuService;
import com.shgx.system.service.sys.ISysRoleService;
import com.shgx.system.service.ISysMenuService;
import com.shgx.system.service.ISysRoleService;
/**
* 用户权限处理

View File

@ -16,8 +16,8 @@ import com.shgx.common.utils.SecurityUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.framework.manager.AsyncManager;
import com.shgx.framework.manager.factory.AsyncFactory;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.service.ISysConfigService;
import com.shgx.system.service.ISysUserService;
/**
* 注册校验方法

View File

@ -13,7 +13,7 @@ import com.shgx.common.enums.UserStatus;
import com.shgx.common.exception.ServiceException;
import com.shgx.common.utils.MessageUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.service.ISysUserService;
/**
* 用户验证处理

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import com.shgx.common.utils.StringUtils;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
/**
* 当前在线会话

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.shgx.system.domain.sys;
package com.shgx.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysConfig;
import com.shgx.system.domain.SysConfig;
/**
* 参数配置 数据层

View File

@ -1,4 +1,4 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

View File

@ -1,4 +1,4 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

View File

@ -1,4 +1,4 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.common.core.domain.entity.SysDictType;

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysLogininfor;
import com.shgx.system.domain.SysLogininfor;
/**
* 系统访问日志情况信息 数据层

View File

@ -1,4 +1,4 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysNotice;
import com.shgx.system.domain.SysNotice;
/**
* 通知公告表 数据层

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysOperLog;
import com.shgx.system.domain.SysOperLog;
/**
* 操作日志 数据层

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysPost;
import com.shgx.system.domain.SysPost;
/**
* 岗位信息 数据层

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysRoleDept;
import com.shgx.system.domain.SysRoleDept;
/**
* 角色与部门关联表 数据层

View File

@ -1,4 +1,4 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.common.core.domain.entity.SysRole;

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysRoleMenu;
import com.shgx.system.domain.SysRoleMenu;
/**
* 角色与菜单关联表 数据层

View File

@ -1,4 +1,4 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.Date;
import java.util.List;

View File

@ -1,7 +1,7 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import com.shgx.system.domain.sys.SysUserPost;
import com.shgx.system.domain.SysUserPost;
/**
* 用户与岗位关联表 数据层

View File

@ -1,8 +1,8 @@
package com.shgx.system.mapper.sys;
package com.shgx.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.shgx.system.domain.sys.SysUserRole;
import com.shgx.system.domain.SysUserRole;
/**
* 用户与角色关联表 数据层

View File

@ -1,7 +1,7 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.system.domain.sys.SysConfig;
import com.shgx.system.domain.SysConfig;
/**
* 参数配置 服务层

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.common.core.domain.TreeSelect;

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.common.core.domain.entity.SysDictData;

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.common.core.domain.entity.SysDictData;

View File

@ -1,7 +1,7 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.system.domain.sys.SysLogininfor;
import com.shgx.system.domain.SysLogininfor;
/**
* 系统访问日志情况信息 服务层

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import java.util.Set;

View File

@ -1,7 +1,7 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.system.domain.sys.SysNotice;
import com.shgx.system.domain.SysNotice;
/**
* 公告 服务层

View File

@ -1,7 +1,7 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.system.domain.sys.SysOperLog;
import com.shgx.system.domain.SysOperLog;
/**
* 操作日志 服务层

View File

@ -1,7 +1,7 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import com.shgx.system.domain.sys.SysPost;
import com.shgx.system.domain.SysPost;
/**
* 岗位信息 服务层

View File

@ -1,9 +1,9 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.List;
import java.util.Set;
import com.shgx.common.core.domain.entity.SysRole;
import com.shgx.system.domain.sys.SysUserRole;
import com.shgx.system.domain.SysUserRole;
/**
* 角色业务层

View File

@ -1,7 +1,7 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import com.shgx.common.core.domain.model.LoginUser;
import com.shgx.system.domain.sys.SysUserOnline;
import com.shgx.system.domain.SysUserOnline;
/**
* 在线用户 服务层

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.sys;
package com.shgx.system.service;
import java.util.Date;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.Collection;
import java.util.List;
@ -13,9 +13,9 @@ import com.shgx.common.core.text.Convert;
import com.shgx.common.enums.DataSourceType;
import com.shgx.common.exception.ServiceException;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.domain.sys.SysConfig;
import com.shgx.system.mapper.sys.SysConfigMapper;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.domain.SysConfig;
import com.shgx.system.mapper.SysConfigMapper;
import com.shgx.system.service.ISysConfigService;
/**
* 参数配置 服务层实现

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.ArrayList;
import java.util.Iterator;
@ -17,9 +17,9 @@ import com.shgx.common.exception.ServiceException;
import com.shgx.common.utils.SecurityUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.spring.SpringUtils;
import com.shgx.system.mapper.sys.SysDeptMapper;
import com.shgx.system.mapper.sys.SysRoleMapper;
import com.shgx.system.service.sys.ISysDeptService;
import com.shgx.system.mapper.SysDeptMapper;
import com.shgx.system.mapper.SysRoleMapper;
import com.shgx.system.service.ISysDeptService;
/**
* 部门管理 服务实现

View File

@ -1,12 +1,12 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shgx.common.core.domain.entity.SysDictData;
import com.shgx.common.utils.DictUtils;
import com.shgx.system.mapper.sys.SysDictDataMapper;
import com.shgx.system.service.sys.ISysDictDataService;
import com.shgx.system.mapper.SysDictDataMapper;
import com.shgx.system.service.ISysDictDataService;
/**
* 字典 业务层处理

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.Comparator;
import java.util.List;
@ -14,9 +14,9 @@ import com.shgx.common.core.domain.entity.SysDictType;
import com.shgx.common.exception.ServiceException;
import com.shgx.common.utils.DictUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.mapper.sys.SysDictDataMapper;
import com.shgx.system.mapper.sys.SysDictTypeMapper;
import com.shgx.system.service.sys.ISysDictTypeService;
import com.shgx.system.mapper.SysDictDataMapper;
import com.shgx.system.mapper.SysDictTypeMapper;
import com.shgx.system.service.ISysDictTypeService;
/**
* 字典 业务层处理

View File

@ -1,11 +1,11 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shgx.system.domain.sys.SysLogininfor;
import com.shgx.system.mapper.sys.SysLogininforMapper;
import com.shgx.system.service.sys.ISysLogininforService;
import com.shgx.system.domain.SysLogininfor;
import com.shgx.system.mapper.SysLogininforMapper;
import com.shgx.system.service.ISysLogininforService;
/**
* 系统访问日志情况信息 服务层处理

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.ArrayList;
import java.util.Arrays;
@ -20,10 +20,10 @@ import com.shgx.common.utils.SecurityUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.domain.vo.MetaVo;
import com.shgx.system.domain.vo.RouterVo;
import com.shgx.system.mapper.sys.SysMenuMapper;
import com.shgx.system.mapper.sys.SysRoleMapper;
import com.shgx.system.mapper.sys.SysRoleMenuMapper;
import com.shgx.system.service.sys.ISysMenuService;
import com.shgx.system.mapper.SysMenuMapper;
import com.shgx.system.mapper.SysRoleMapper;
import com.shgx.system.mapper.SysRoleMenuMapper;
import com.shgx.system.service.ISysMenuService;
/**
* 菜单 业务层处理

View File

@ -1,11 +1,11 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shgx.system.domain.sys.SysNotice;
import com.shgx.system.mapper.sys.SysNoticeMapper;
import com.shgx.system.service.sys.ISysNoticeService;
import com.shgx.system.domain.SysNotice;
import com.shgx.system.mapper.SysNoticeMapper;
import com.shgx.system.service.ISysNoticeService;
/**
* 公告 服务层实现

View File

@ -1,11 +1,11 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.shgx.system.domain.sys.SysOperLog;
import com.shgx.system.mapper.sys.SysOperLogMapper;
import com.shgx.system.service.sys.ISysOperLogService;
import com.shgx.system.domain.SysOperLog;
import com.shgx.system.mapper.SysOperLogMapper;
import com.shgx.system.service.ISysOperLogService;
/**
* 操作日志 服务层处理

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
@ -6,10 +6,10 @@ import org.springframework.stereotype.Service;
import com.shgx.common.constant.UserConstants;
import com.shgx.common.exception.ServiceException;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.domain.sys.SysPost;
import com.shgx.system.mapper.sys.SysPostMapper;
import com.shgx.system.mapper.sys.SysUserPostMapper;
import com.shgx.system.service.sys.ISysPostService;
import com.shgx.system.domain.SysPost;
import com.shgx.system.mapper.SysPostMapper;
import com.shgx.system.mapper.SysUserPostMapper;
import com.shgx.system.service.ISysPostService;
/**
* 岗位信息 服务层处理

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.ArrayList;
import java.util.Arrays;
@ -16,14 +16,14 @@ import com.shgx.common.exception.ServiceException;
import com.shgx.common.utils.SecurityUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.spring.SpringUtils;
import com.shgx.system.domain.sys.SysRoleDept;
import com.shgx.system.domain.sys.SysRoleMenu;
import com.shgx.system.domain.sys.SysUserRole;
import com.shgx.system.mapper.sys.SysRoleDeptMapper;
import com.shgx.system.mapper.sys.SysRoleMapper;
import com.shgx.system.mapper.sys.SysRoleMenuMapper;
import com.shgx.system.mapper.sys.SysUserRoleMapper;
import com.shgx.system.service.sys.ISysRoleService;
import com.shgx.system.domain.SysRoleDept;
import com.shgx.system.domain.SysRoleMenu;
import com.shgx.system.domain.SysUserRole;
import com.shgx.system.mapper.SysRoleDeptMapper;
import com.shgx.system.mapper.SysRoleMapper;
import com.shgx.system.mapper.SysRoleMenuMapper;
import com.shgx.system.mapper.SysUserRoleMapper;
import com.shgx.system.service.ISysRoleService;
/**
* 角色 业务层处理

View File

@ -1,10 +1,10 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import org.springframework.stereotype.Service;
import com.shgx.common.core.domain.model.LoginUser;
import com.shgx.common.utils.StringUtils;
import com.shgx.system.domain.sys.SysUserOnline;
import com.shgx.system.service.sys.ISysUserOnlineService;
import com.shgx.system.domain.SysUserOnline;
import com.shgx.system.service.ISysUserOnlineService;
/**
* 在线用户 服务层处理

View File

@ -1,4 +1,4 @@
package com.shgx.system.service.impl.sys;
package com.shgx.system.service.impl;
import java.util.ArrayList;
import java.util.Date;
@ -20,17 +20,17 @@ import com.shgx.common.utils.SecurityUtils;
import com.shgx.common.utils.StringUtils;
import com.shgx.common.utils.bean.BeanValidators;
import com.shgx.common.utils.spring.SpringUtils;
import com.shgx.system.domain.sys.SysPost;
import com.shgx.system.domain.sys.SysUserPost;
import com.shgx.system.domain.sys.SysUserRole;
import com.shgx.system.mapper.sys.SysPostMapper;
import com.shgx.system.mapper.sys.SysRoleMapper;
import com.shgx.system.mapper.sys.SysUserMapper;
import com.shgx.system.mapper.sys.SysUserPostMapper;
import com.shgx.system.mapper.sys.SysUserRoleMapper;
import com.shgx.system.service.sys.ISysConfigService;
import com.shgx.system.service.sys.ISysDeptService;
import com.shgx.system.service.sys.ISysUserService;
import com.shgx.system.domain.SysPost;
import com.shgx.system.domain.SysUserPost;
import com.shgx.system.domain.SysUserRole;
import com.shgx.system.mapper.SysPostMapper;
import com.shgx.system.mapper.SysRoleMapper;
import com.shgx.system.mapper.SysUserMapper;
import com.shgx.system.mapper.SysUserPostMapper;
import com.shgx.system.mapper.SysUserRoleMapper;
import com.shgx.system.service.ISysConfigService;
import com.shgx.system.service.ISysDeptService;
import com.shgx.system.service.ISysUserService;
/**
* 用户 业务层处理

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysConfigMapper">
<mapper namespace="com.shgx.system.mapper.SysConfigMapper">
<resultMap type="SysConfig" id="SysConfigResult">
<id property="configId" column="config_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysDeptMapper">
<mapper namespace="com.shgx.system.mapper.SysDeptMapper">
<resultMap type="SysDept" id="SysDeptResult">
<id property="deptId" column="dept_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysDictDataMapper">
<mapper namespace="com.shgx.system.mapper.SysDictDataMapper">
<resultMap type="SysDictData" id="SysDictDataResult">
<id property="dictCode" column="dict_code" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysDictTypeMapper">
<mapper namespace="com.shgx.system.mapper.SysDictTypeMapper">
<resultMap type="SysDictType" id="SysDictTypeResult">
<id property="dictId" column="dict_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysLogininforMapper">
<mapper namespace="com.shgx.system.mapper.SysLogininforMapper">
<resultMap type="SysLogininfor" id="SysLogininforResult">
<id property="infoId" column="info_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysMenuMapper">
<mapper namespace="com.shgx.system.mapper.SysMenuMapper">
<resultMap type="SysMenu" id="SysMenuResult">
<id property="menuId" column="menu_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysNoticeMapper">
<mapper namespace="com.shgx.system.mapper.SysNoticeMapper">
<resultMap type="SysNotice" id="SysNoticeResult">
<result property="noticeId" column="notice_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysOperLogMapper">
<mapper namespace="com.shgx.system.mapper.SysOperLogMapper">
<resultMap type="SysOperLog" id="SysOperLogResult">
<id property="operId" column="oper_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysPostMapper">
<mapper namespace="com.shgx.system.mapper.SysPostMapper">
<resultMap type="SysPost" id="SysPostResult">
<id property="postId" column="post_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysRoleDeptMapper">
<mapper namespace="com.shgx.system.mapper.SysRoleDeptMapper">
<resultMap type="SysRoleDept" id="SysRoleDeptResult">
<result property="roleId" column="role_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysRoleMapper">
<mapper namespace="com.shgx.system.mapper.SysRoleMapper">
<resultMap type="SysRole" id="SysRoleResult">
<id property="roleId" column="role_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysRoleMenuMapper">
<mapper namespace="com.shgx.system.mapper.SysRoleMenuMapper">
<resultMap type="SysRoleMenu" id="SysRoleMenuResult">
<result property="roleId" column="role_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysUserMapper">
<mapper namespace="com.shgx.system.mapper.SysUserMapper">
<resultMap type="SysUser" id="SysUserResult">
<id property="userId" column="user_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysUserPostMapper">
<mapper namespace="com.shgx.system.mapper.SysUserPostMapper">
<resultMap type="SysUserPost" id="SysUserPostResult">
<result property="userId" column="user_id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.system.mapper.sys.SysUserRoleMapper">
<mapper namespace="com.shgx.system.mapper.SysUserRoleMapper">
<resultMap type="SysUserRole" id="SysUserRoleResult">
<result property="userId" column="user_id" />

View File

@ -1,131 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.moldmanagement.mapper.mold.MoldInfoMapper">
<resultMap type="MoldInfo" id="MoldInfoResult">
<result property="moldId" column="mold_id" />
<result property="moldCode" column="mold_code" />
<result property="moldName" column="mold_name" />
<result property="productCode" column="product_code" />
<result property="productName" column="product_name" />
<result property="specification" column="specification" />
<result property="material" column="material" />
<result property="designLife" column="design_life" />
<result property="useLife" column="use_life" />
<result property="moldType" column="mold_type" />
<result property="manufacturer" column="manufacturer" />
<result property="productionDate" column="production_date" />
<result property="status" column="status" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectMoldInfoVo">
select mold_id, mold_code, mold_name, product_code, product_name, specification, material, design_life, use_life, mold_type, manufacturer, production_date, status, create_by, create_time, update_by, update_time, remark from mold_info
</sql>
<select id="selectMoldInfoList" parameterType="MoldInfo" resultMap="MoldInfoResult">
<include refid="selectMoldInfoVo"/>
<where>
<if test="moldCode != null and moldCode != ''"> and mold_code = #{moldCode}</if>
<if test="moldName != null and moldName != ''"> and mold_name like concat('%', #{moldName}, '%')</if>
<if test="productCode != null and productCode != ''"> and product_code = #{productCode}</if>
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
<if test="specification != null and specification != ''"> and specification = #{specification}</if>
<if test="material != null and material != ''"> and material = #{material}</if>
<if test="designLife != null "> and design_life = #{designLife}</if>
<if test="useLife != null "> and use_life = #{useLife}</if>
<if test="moldType != null and moldType != ''"> and mold_type = #{moldType}</if>
<if test="manufacturer != null and manufacturer != ''"> and manufacturer = #{manufacturer}</if>
<if test="productionDate != null "> and production_date = #{productionDate}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
</where>
</select>
<select id="selectMoldInfoByMoldId" parameterType="Long" resultMap="MoldInfoResult">
<include refid="selectMoldInfoVo"/>
where mold_id = #{moldId}
</select>
<insert id="insertMoldInfo" parameterType="MoldInfo" useGeneratedKeys="true" keyProperty="moldId">
insert into mold_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="moldCode != null and moldCode != ''">mold_code,</if>
<if test="moldName != null and moldName != ''">mold_name,</if>
<if test="productCode != null">product_code,</if>
<if test="productName != null">product_name,</if>
<if test="specification != null">specification,</if>
<if test="material != null">material,</if>
<if test="designLife != null">design_life,</if>
<if test="useLife != null">use_life,</if>
<if test="moldType != null">mold_type,</if>
<if test="manufacturer != null">manufacturer,</if>
<if test="productionDate != null">production_date,</if>
<if test="status != null and status != ''">status,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="moldCode != null and moldCode != ''">#{moldCode},</if>
<if test="moldName != null and moldName != ''">#{moldName},</if>
<if test="productCode != null">#{productCode},</if>
<if test="productName != null">#{productName},</if>
<if test="specification != null">#{specification},</if>
<if test="material != null">#{material},</if>
<if test="designLife != null">#{designLife},</if>
<if test="useLife != null">#{useLife},</if>
<if test="moldType != null">#{moldType},</if>
<if test="manufacturer != null">#{manufacturer},</if>
<if test="productionDate != null">#{productionDate},</if>
<if test="status != null and status != ''">#{status},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateMoldInfo" parameterType="MoldInfo">
update mold_info
<trim prefix="SET" suffixOverrides=",">
<if test="moldCode != null and moldCode != ''">mold_code = #{moldCode},</if>
<if test="moldName != null and moldName != ''">mold_name = #{moldName},</if>
<if test="productCode != null">product_code = #{productCode},</if>
<if test="productName != null">product_name = #{productName},</if>
<if test="specification != null">specification = #{specification},</if>
<if test="material != null">material = #{material},</if>
<if test="designLife != null">design_life = #{designLife},</if>
<if test="useLife != null">use_life = #{useLife},</if>
<if test="moldType != null">mold_type = #{moldType},</if>
<if test="manufacturer != null">manufacturer = #{manufacturer},</if>
<if test="productionDate != null">production_date = #{productionDate},</if>
<if test="status != null and status != ''">status = #{status},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where mold_id = #{moldId}
</update>
<delete id="deleteMoldInfoByMoldId" parameterType="Long">
delete from mold_info where mold_id = #{moldId}
</delete>
<delete id="deleteMoldInfoByMoldIds" parameterType="String">
delete from mold_info where mold_id in
<foreach item="moldId" collection="array" open="(" separator="," close=")">
#{moldId}
</foreach>
</delete>
</mapper>

View File

@ -1,101 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.moldmanagement.mapper.mold.MoldInventoryChangeLogMapper">
<resultMap type="MoldInventoryChangeLog" id="MoldInventoryChangeLogResult">
<result property="changeId" column="change_id" />
<result property="injectionMachineCode" column="injection_machine_code" />
<result property="moldCode" column="mold_code" />
<result property="changeType" column="change_type" />
<result property="changeTime" column="change_time" />
<result property="fromLocation" column="from_location" />
<result property="toLocation" column="to_location" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectMoldInventoryChangeLogVo">
select change_id, injection_machine_code, mold_code, change_type, change_time, from_location, to_location, create_by, create_time, update_by, update_time, remark from mold_inventory_change_log
</sql>
<select id="selectMoldInventoryChangeLogList" parameterType="MoldInventoryChangeLog" resultMap="MoldInventoryChangeLogResult">
<include refid="selectMoldInventoryChangeLogVo"/>
<where>
<if test="injectionMachineCode != null and injectionMachineCode != ''"> and injection_machine_code = #{injectionMachineCode}</if>
<if test="moldCode != null and moldCode != ''"> and mold_code = #{moldCode}</if>
<if test="changeType != null and changeType != ''"> and change_type = #{changeType}</if>
<if test="changeTime != null "> and change_time = #{changeTime}</if>
<if test="fromLocation != null and fromLocation != ''"> and from_location = #{fromLocation}</if>
<if test="toLocation != null and toLocation != ''"> and to_location = #{toLocation}</if>
</where>
</select>
<select id="selectMoldInventoryChangeLogByChangeId" parameterType="Long" resultMap="MoldInventoryChangeLogResult">
<include refid="selectMoldInventoryChangeLogVo"/>
where change_id = #{changeId}
</select>
<insert id="insertMoldInventoryChangeLog" parameterType="MoldInventoryChangeLog" useGeneratedKeys="true" keyProperty="changeId">
insert into mold_inventory_change_log
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="injectionMachineCode != null">injection_machine_code,</if>
<if test="moldCode != null and moldCode != ''">mold_code,</if>
<if test="changeType != null and changeType != ''">change_type,</if>
<if test="changeTime != null">change_time,</if>
<if test="fromLocation != null">from_location,</if>
<if test="toLocation != null">to_location,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="injectionMachineCode != null">#{injectionMachineCode},</if>
<if test="moldCode != null and moldCode != ''">#{moldCode},</if>
<if test="changeType != null and changeType != ''">#{changeType},</if>
<if test="changeTime != null">#{changeTime},</if>
<if test="fromLocation != null">#{fromLocation},</if>
<if test="toLocation != null">#{toLocation},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateMoldInventoryChangeLog" parameterType="MoldInventoryChangeLog">
update mold_inventory_change_log
<trim prefix="SET" suffixOverrides=",">
<if test="injectionMachineCode != null">injection_machine_code = #{injectionMachineCode},</if>
<if test="moldCode != null and moldCode != ''">mold_code = #{moldCode},</if>
<if test="changeType != null and changeType != ''">change_type = #{changeType},</if>
<if test="changeTime != null">change_time = #{changeTime},</if>
<if test="fromLocation != null">from_location = #{fromLocation},</if>
<if test="toLocation != null">to_location = #{toLocation},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where change_id = #{changeId}
</update>
<delete id="deleteMoldInventoryChangeLogByChangeId" parameterType="Long">
delete from mold_inventory_change_log where change_id = #{changeId}
</delete>
<delete id="deleteMoldInventoryChangeLogByChangeIds" parameterType="String">
delete from mold_inventory_change_log where change_id in
<foreach item="changeId" collection="array" open="(" separator="," close=")">
#{changeId}
</foreach>
</delete>
</mapper>

View File

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.moldmanagement.mapper.mold.MoldStatusLogMapper">
<resultMap type="MoldStatusLog" id="MoldStatusLogResult">
<result property="id" column="id" />
<result property="moldCode" column="mold_code" />
<result property="status" column="status" />
<result property="changeTime" column="change_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectMoldStatusLogVo">
select id, mold_code, status, change_time, remark from mold_status_log
</sql>
<select id="selectMoldStatusLogList" parameterType="MoldStatusLog" resultMap="MoldStatusLogResult">
<include refid="selectMoldStatusLogVo"/>
<where>
<if test="moldCode != null and moldCode != ''"> and mold_code = #{moldCode}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="changeTime != null "> and change_time = #{changeTime}</if>
</where>
</select>
<select id="selectMoldStatusLogById" parameterType="Long" resultMap="MoldStatusLogResult">
<include refid="selectMoldStatusLogVo"/>
where id = #{id}
</select>
<insert id="insertMoldStatusLog" parameterType="MoldStatusLog">
insert into mold_status_log
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="moldCode != null and moldCode != ''">mold_code,</if>
<if test="status != null and status != ''">status,</if>
<if test="changeTime != null">change_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="moldCode != null and moldCode != ''">#{moldCode},</if>
<if test="status != null and status != ''">#{status},</if>
<if test="changeTime != null">#{changeTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateMoldStatusLog" parameterType="MoldStatusLog">
update mold_status_log
<trim prefix="SET" suffixOverrides=",">
<if test="moldCode != null and moldCode != ''">mold_code = #{moldCode},</if>
<if test="status != null and status != ''">status = #{status},</if>
<if test="changeTime != null">change_time = #{changeTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteMoldStatusLogById" parameterType="Long">
delete from mold_status_log where id = #{id}
</delete>
<delete id="deleteMoldStatusLogByIds" parameterType="String">
delete from mold_status_log where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -1,98 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.moldmanagement.mapper.mold.MoldWarehouseLocationLiveMapper">
<resultMap type="MoldWarehouseLocationLive" id="MoldWarehouseLocationLiveResult">
<result property="id" column="id" />
<result property="moldCode" column="mold_code" />
<result property="moldName" column="mold_name" />
<result property="warehouseCode" column="warehouse_code" />
<result property="positionCode" column="position_code" />
<result property="status" column="status" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectMoldWarehouseLocationLiveVo">
select id, mold_code, mold_name, warehouse_code, position_code, status, create_by, create_time, update_by, update_time, remark from mold_warehouse_location_live
</sql>
<select id="selectMoldWarehouseLocationLiveList" parameterType="MoldWarehouseLocationLive" resultMap="MoldWarehouseLocationLiveResult">
<include refid="selectMoldWarehouseLocationLiveVo"/>
<where>
<if test="moldCode != null and moldCode != ''"> and mold_code = #{moldCode}</if>
<if test="moldName != null and moldName != ''"> and mold_name like concat('%', #{moldName}, '%')</if>
<if test="warehouseCode != null and warehouseCode != ''"> and warehouse_code = #{warehouseCode}</if>
<if test="positionCode != null and positionCode != ''"> and position_code = #{positionCode}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
</where>
</select>
<select id="selectMoldWarehouseLocationLiveById" parameterType="Long" resultMap="MoldWarehouseLocationLiveResult">
<include refid="selectMoldWarehouseLocationLiveVo"/>
where id = #{id}
</select>
<insert id="insertMoldWarehouseLocationLive" parameterType="MoldWarehouseLocationLive">
insert into mold_warehouse_location_live
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="moldCode != null">mold_code,</if>
<if test="moldName != null and moldName != ''">mold_name,</if>
<if test="warehouseCode != null and warehouseCode != ''">warehouse_code,</if>
<if test="positionCode != null">position_code,</if>
<if test="status != null and status != ''">status,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="moldCode != null">#{moldCode},</if>
<if test="moldName != null and moldName != ''">#{moldName},</if>
<if test="warehouseCode != null and warehouseCode != ''">#{warehouseCode},</if>
<if test="positionCode != null">#{positionCode},</if>
<if test="status != null and status != ''">#{status},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateMoldWarehouseLocationLive" parameterType="MoldWarehouseLocationLive">
update mold_warehouse_location_live
<trim prefix="SET" suffixOverrides=",">
<if test="moldCode != null">mold_code = #{moldCode},</if>
<if test="moldName != null and moldName != ''">mold_name = #{moldName},</if>
<if test="warehouseCode != null and warehouseCode != ''">warehouse_code = #{warehouseCode},</if>
<if test="positionCode != null">position_code = #{positionCode},</if>
<if test="status != null and status != ''">status = #{status},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteMoldWarehouseLocationLiveById" parameterType="Long">
delete from mold_warehouse_location_live where id = #{id}
</delete>
<delete id="deleteMoldWarehouseLocationLiveByIds" parameterType="String">
delete from mold_warehouse_location_live where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -1,97 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.shgx.moldmanagement.mapper.mold.MoldWarehouseLocationMapper">
<resultMap type="MoldWarehouseLocation" id="MoldWarehouseLocationResult">
<result property="locationId" column="location_id" />
<result property="warehouseCode" column="warehouse_code" />
<result property="shelfLayer" column="shelf_layer" />
<result property="positionCode" column="position_code" />
<result property="locationStatus" column="location_status" />
<result property="capacity" column="capacity" />
<result property="currentQuantity" column="current_quantity" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectMoldWarehouseLocationVo">
select location_id, warehouse_code, shelf_layer, position_code, location_status, capacity, current_quantity, create_time, update_by, update_time, remark from mold_warehouse_location
</sql>
<select id="selectMoldWarehouseLocationList" parameterType="MoldWarehouseLocation" resultMap="MoldWarehouseLocationResult">
<include refid="selectMoldWarehouseLocationVo"/>
<where>
<if test="warehouseCode != null and warehouseCode != ''"> and warehouse_code = #{warehouseCode}</if>
<if test="shelfLayer != null and shelfLayer != ''"> and shelf_layer = #{shelfLayer}</if>
<if test="positionCode != null and positionCode != ''"> and position_code = #{positionCode}</if>
<if test="locationStatus != null and locationStatus != ''"> and location_status = #{locationStatus}</if>
<if test="capacity != null "> and capacity = #{capacity}</if>
<if test="currentQuantity != null "> and current_quantity = #{currentQuantity}</if>
</where>
</select>
<select id="selectMoldWarehouseLocationByLocationId" parameterType="Long" resultMap="MoldWarehouseLocationResult">
<include refid="selectMoldWarehouseLocationVo"/>
where location_id = #{locationId}
</select>
<insert id="insertMoldWarehouseLocation" parameterType="MoldWarehouseLocation" useGeneratedKeys="true" keyProperty="locationId">
insert into mold_warehouse_location
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="warehouseCode != null and warehouseCode != ''">warehouse_code,</if>
<if test="shelfLayer != null">shelf_layer,</if>
<if test="positionCode != null and positionCode != ''">position_code,</if>
<if test="locationStatus != null">location_status,</if>
<if test="capacity != null">capacity,</if>
<if test="currentQuantity != null">current_quantity,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="warehouseCode != null and warehouseCode != ''">#{warehouseCode},</if>
<if test="shelfLayer != null">#{shelfLayer},</if>
<if test="positionCode != null and positionCode != ''">#{positionCode},</if>
<if test="locationStatus != null">#{locationStatus},</if>
<if test="capacity != null">#{capacity},</if>
<if test="currentQuantity != null">#{currentQuantity},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateMoldWarehouseLocation" parameterType="MoldWarehouseLocation">
update mold_warehouse_location
<trim prefix="SET" suffixOverrides=",">
<if test="warehouseCode != null and warehouseCode != ''">warehouse_code = #{warehouseCode},</if>
<if test="shelfLayer != null">shelf_layer = #{shelfLayer},</if>
<if test="positionCode != null and positionCode != ''">position_code = #{positionCode},</if>
<if test="locationStatus != null">location_status = #{locationStatus},</if>
<if test="capacity != null">capacity = #{capacity},</if>
<if test="currentQuantity != null">current_quantity = #{currentQuantity},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where location_id = #{locationId}
</update>
<delete id="deleteMoldWarehouseLocationByLocationId" parameterType="Long">
delete from mold_warehouse_location where location_id = #{locationId}
</delete>
<delete id="deleteMoldWarehouseLocationByLocationIds" parameterType="String">
delete from mold_warehouse_location where location_id in
<foreach item="locationId" collection="array" open="(" separator="," close=")">
#{locationId}
</foreach>
</delete>
</mapper>