Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dakong-digital-management
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
dakong-digital-management
Commits
c0c8f760
Commit
c0c8f760
authored
Aug 21, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图纸库
parent
a50e99d1
Show whitespace changes
Inline
Side-by-side
Showing
105 changed files
with
1530 additions
and
196 deletions
+1530
-196
TStaffController.java
.../com/zehong/web/controller/baseinfo/TStaffController.java
+3
-3
SysLogininforController.java
...ehong/web/controller/monitor/SysLogininforController.java
+2
-2
SysOperlogController.java
...m/zehong/web/controller/monitor/SysOperlogController.java
+2
-2
SysUserOnlineController.java
...ehong/web/controller/monitor/SysUserOnlineController.java
+2
-2
SysConfigController.java
...com/zehong/web/controller/system/SysConfigController.java
+2
-2
SysDeptController.java
...a/com/zehong/web/controller/system/SysDeptController.java
+1
-1
SysDictDataController.java
...m/zehong/web/controller/system/SysDictDataController.java
+2
-2
SysDictTypeController.java
...m/zehong/web/controller/system/SysDictTypeController.java
+1
-1
SysLoginController.java
.../com/zehong/web/controller/system/SysLoginController.java
+1
-1
SysMenuController.java
...a/com/zehong/web/controller/system/SysMenuController.java
+1
-1
SysNoticeController.java
...com/zehong/web/controller/system/SysNoticeController.java
+2
-2
SysPostController.java
...a/com/zehong/web/controller/system/SysPostController.java
+2
-2
SysProfileController.java
...om/zehong/web/controller/system/SysProfileController.java
+1
-1
SysRoleController.java
...a/com/zehong/web/controller/system/SysRoleController.java
+2
-2
SysSettingController.java
...om/zehong/web/controller/system/SysSettingController.java
+2
-2
SysUserController.java
...a/com/zehong/web/controller/system/SysUserController.java
+3
-3
TProductDrawingController.java
...ehong/web/controller/track/TProductDrawingController.java
+103
-0
LogAspect.java
...src/main/java/com/zehong/framework/aspectj/LogAspect.java
+1
-1
AsyncFactory.java
...va/com/zehong/framework/manager/factory/AsyncFactory.java
+4
-4
SystemSetting.java
...ava/com/zehong/framework/systemsetting/SystemSetting.java
+2
-2
SysLoginService.java
...ava/com/zehong/framework/web/service/SysLoginService.java
+1
-1
SysPermissionService.java
...om/zehong/framework/web/service/SysPermissionService.java
+2
-2
UserDetailsServiceImpl.java
.../zehong/framework/web/service/UserDetailsServiceImpl.java
+1
-1
controller.java.vm
...t-generator/src/main/resources/vm/java/controller.java.vm
+6
-6
serviceImpl.java.vm
...-generator/src/main/resources/vm/java/serviceImpl.java.vm
+3
-0
index.vue.vm
...nagement-generator/src/main/resources/vm/vue/index.vue.vm
+6
-12
SysConfig.java
.../main/java/com/zehong/system/domain/system/SysConfig.java
+1
-1
SysLogininfor.java
...n/java/com/zehong/system/domain/system/SysLogininfor.java
+1
-1
SysNotice.java
.../main/java/com/zehong/system/domain/system/SysNotice.java
+1
-1
SysOperLog.java
...main/java/com/zehong/system/domain/system/SysOperLog.java
+1
-1
SysPost.java
...rc/main/java/com/zehong/system/domain/system/SysPost.java
+1
-1
SysRoleDept.java
...ain/java/com/zehong/system/domain/system/SysRoleDept.java
+1
-1
SysRoleMenu.java
...ain/java/com/zehong/system/domain/system/SysRoleMenu.java
+1
-1
SysSetting.java
...main/java/com/zehong/system/domain/system/SysSetting.java
+1
-1
SysUserOnline.java
...n/java/com/zehong/system/domain/system/SysUserOnline.java
+1
-1
SysUserPost.java
...ain/java/com/zehong/system/domain/system/SysUserPost.java
+1
-1
SysUserRole.java
...ain/java/com/zehong/system/domain/system/SysUserRole.java
+1
-1
TProductDrawing.java
.../java/com/zehong/system/domain/track/TProductDrawing.java
+174
-0
SysConfigMapper.java
...java/com/zehong/system/mapper/system/SysConfigMapper.java
+2
-2
SysDeptMapper.java
...n/java/com/zehong/system/mapper/system/SysDeptMapper.java
+1
-1
SysDictDataMapper.java
...va/com/zehong/system/mapper/system/SysDictDataMapper.java
+1
-1
SysDictTypeMapper.java
...va/com/zehong/system/mapper/system/SysDictTypeMapper.java
+1
-1
SysLogininforMapper.java
.../com/zehong/system/mapper/system/SysLogininforMapper.java
+2
-2
SysMenuMapper.java
...n/java/com/zehong/system/mapper/system/SysMenuMapper.java
+1
-1
SysNoticeMapper.java
...java/com/zehong/system/mapper/system/SysNoticeMapper.java
+2
-2
SysOperLogMapper.java
...ava/com/zehong/system/mapper/system/SysOperLogMapper.java
+2
-2
SysPostMapper.java
...n/java/com/zehong/system/mapper/system/SysPostMapper.java
+2
-2
SysRoleDeptMapper.java
...va/com/zehong/system/mapper/system/SysRoleDeptMapper.java
+2
-2
SysRoleMapper.java
...n/java/com/zehong/system/mapper/system/SysRoleMapper.java
+1
-1
SysRoleMenuMapper.java
...va/com/zehong/system/mapper/system/SysRoleMenuMapper.java
+2
-2
SysSettingMapper.java
...ava/com/zehong/system/mapper/system/SysSettingMapper.java
+2
-2
SysUserMapper.java
...n/java/com/zehong/system/mapper/system/SysUserMapper.java
+1
-1
SysUserPostMapper.java
...va/com/zehong/system/mapper/system/SysUserPostMapper.java
+2
-2
SysUserRoleMapper.java
...va/com/zehong/system/mapper/system/SysUserRoleMapper.java
+2
-2
TProductDrawingMapper.java
...com/zehong/system/mapper/track/TProductDrawingMapper.java
+61
-0
TStaffServiceImpl.java
...ehong/system/service/impl/baseinfo/TStaffServiceImpl.java
+2
-2
SysConfigServiceImpl.java
...hong/system/service/impl/system/SysConfigServiceImpl.java
+4
-4
SysDeptServiceImpl.java
...zehong/system/service/impl/system/SysDeptServiceImpl.java
+4
-4
SysDictDataServiceImpl.java
...ng/system/service/impl/system/SysDictDataServiceImpl.java
+3
-3
SysDictTypeServiceImpl.java
...ng/system/service/impl/system/SysDictTypeServiceImpl.java
+4
-4
SysLogininforServiceImpl.java
.../system/service/impl/system/SysLogininforServiceImpl.java
+4
-4
SysMenuServiceImpl.java
...zehong/system/service/impl/system/SysMenuServiceImpl.java
+5
-5
SysNoticeServiceImpl.java
...hong/system/service/impl/system/SysNoticeServiceImpl.java
+4
-4
SysOperLogServiceImpl.java
...ong/system/service/impl/system/SysOperLogServiceImpl.java
+4
-4
SysPostServiceImpl.java
...zehong/system/service/impl/system/SysPostServiceImpl.java
+5
-5
SysRoleServiceImpl.java
...zehong/system/service/impl/system/SysRoleServiceImpl.java
+8
-8
SysSettingServiceImpl.java
...ong/system/service/impl/system/SysSettingServiceImpl.java
+4
-4
SysUserOnlineServiceImpl.java
.../system/service/impl/system/SysUserOnlineServiceImpl.java
+3
-3
SysUserServiceImpl.java
...zehong/system/service/impl/system/SysUserServiceImpl.java
+11
-11
TProductDrawingServiceImpl.java
...system/service/impl/track/TProductDrawingServiceImpl.java
+97
-0
ISysConfigService.java
...a/com/zehong/system/service/system/ISysConfigService.java
+2
-2
ISysDeptService.java
...ava/com/zehong/system/service/system/ISysDeptService.java
+1
-1
ISysDictDataService.java
...com/zehong/system/service/system/ISysDictDataService.java
+1
-1
ISysDictTypeService.java
...com/zehong/system/service/system/ISysDictTypeService.java
+1
-1
ISysLogininforService.java
...m/zehong/system/service/system/ISysLogininforService.java
+2
-2
ISysMenuService.java
...ava/com/zehong/system/service/system/ISysMenuService.java
+1
-1
ISysNoticeService.java
...a/com/zehong/system/service/system/ISysNoticeService.java
+2
-2
ISysOperLogService.java
.../com/zehong/system/service/system/ISysOperLogService.java
+2
-2
ISysPostService.java
...ava/com/zehong/system/service/system/ISysPostService.java
+2
-2
ISysRoleService.java
...ava/com/zehong/system/service/system/ISysRoleService.java
+1
-1
ISysSettingService.java
.../com/zehong/system/service/system/ISysSettingService.java
+2
-2
ISysUserOnlineService.java
...m/zehong/system/service/system/ISysUserOnlineService.java
+2
-2
ISysUserService.java
...ava/com/zehong/system/service/system/ISysUserService.java
+1
-1
ITProductDrawingService.java
.../zehong/system/service/track/ITProductDrawingService.java
+61
-0
SysConfigMapper.xml
...stem/src/main/resources/mapper/system/SysConfigMapper.xml
+1
-1
SysDeptMapper.xml
...system/src/main/resources/mapper/system/SysDeptMapper.xml
+1
-1
SysDictDataMapper.xml
...em/src/main/resources/mapper/system/SysDictDataMapper.xml
+1
-1
SysDictTypeMapper.xml
...em/src/main/resources/mapper/system/SysDictTypeMapper.xml
+1
-1
SysLogininforMapper.xml
.../src/main/resources/mapper/system/SysLogininforMapper.xml
+1
-1
SysMenuMapper.xml
...system/src/main/resources/mapper/system/SysMenuMapper.xml
+1
-1
SysNoticeMapper.xml
...stem/src/main/resources/mapper/system/SysNoticeMapper.xml
+1
-1
SysOperLogMapper.xml
...tem/src/main/resources/mapper/system/SysOperLogMapper.xml
+1
-1
SysPostMapper.xml
...system/src/main/resources/mapper/system/SysPostMapper.xml
+1
-1
SysRoleDeptMapper.xml
...em/src/main/resources/mapper/system/SysRoleDeptMapper.xml
+1
-1
SysRoleMapper.xml
...system/src/main/resources/mapper/system/SysRoleMapper.xml
+1
-1
SysRoleMenuMapper.xml
...em/src/main/resources/mapper/system/SysRoleMenuMapper.xml
+1
-1
SysSettingMapper.xml
...tem/src/main/resources/mapper/system/SysSettingMapper.xml
+1
-1
SysUserMapper.xml
...system/src/main/resources/mapper/system/SysUserMapper.xml
+1
-1
SysUserPostMapper.xml
...em/src/main/resources/mapper/system/SysUserPostMapper.xml
+1
-1
SysUserRoleMapper.xml
...em/src/main/resources/mapper/system/SysUserRoleMapper.xml
+1
-1
TProductDrawingMapper.xml
...src/main/resources/mapper/track/TProductDrawingMapper.xml
+107
-0
drawing.js
digital-management-web/src/api/track/drawing.js
+53
-0
index.vue
...management-web/src/components/DefaultFileUpload/index.vue
+181
-0
DetailInfo.vue
...gement-web/src/views/track/draw/components/DetailInfo.vue
+93
-0
index.vue
digital-management-web/src/views/track/draw/index.vue
+407
-0
No files found.
digital-management-admin/src/main/java/com/zehong/web/controller/baseinfo/TStaffController.java
View file @
c0c8f760
...
@@ -14,9 +14,9 @@ import com.zehong.system.domain.baseinfo.TStaff;
...
@@ -14,9 +14,9 @@ import com.zehong.system.domain.baseinfo.TStaff;
import
com.zehong.system.domain.form.TStaffForm
;
import
com.zehong.system.domain.form.TStaffForm
;
import
com.zehong.system.domain.vo.TStaffVo
;
import
com.zehong.system.domain.vo.TStaffVo
;
import
com.zehong.system.domain.vo.UserCourseVo
;
import
com.zehong.system.domain.vo.UserCourseVo
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.service.
system.
ISysPostService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
import
com.zehong.system.service.baseinfo.ITStaffService
;
import
com.zehong.system.service.baseinfo.ITStaffService
;
import
com.zehong.system.service.train.ITTrainCourseService
;
import
com.zehong.system.service.train.ITTrainCourseService
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/monitor/SysLogininforController.java
View file @
c0c8f760
...
@@ -14,8 +14,8 @@ import com.zehong.common.core.domain.AjaxResult;
...
@@ -14,8 +14,8 @@ import com.zehong.common.core.domain.AjaxResult;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
import
com.zehong.system.service.ISysLogininforService
;
import
com.zehong.system.service.
system.
ISysLogininforService
;
/**
/**
* 系统访问记录
* 系统访问记录
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/monitor/SysOperlogController.java
View file @
c0c8f760
...
@@ -14,8 +14,8 @@ import com.zehong.common.core.domain.AjaxResult;
...
@@ -14,8 +14,8 @@ import com.zehong.common.core.domain.AjaxResult;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.domain.
system.
SysOperLog
;
import
com.zehong.system.service.ISysOperLogService
;
import
com.zehong.system.service.
system.
ISysOperLogService
;
/**
/**
* 操作日志记录
* 操作日志记录
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/monitor/SysUserOnlineController.java
View file @
c0c8f760
...
@@ -20,8 +20,8 @@ import com.zehong.common.core.page.TableDataInfo;
...
@@ -20,8 +20,8 @@ import com.zehong.common.core.page.TableDataInfo;
import
com.zehong.common.core.redis.RedisCache
;
import
com.zehong.common.core.redis.RedisCache
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysUserOnline
;
import
com.zehong.system.domain.
system.
SysUserOnline
;
import
com.zehong.system.service.ISysUserOnlineService
;
import
com.zehong.system.service.
system.
ISysUserOnlineService
;
/**
/**
* 在线用户监控
* 在线用户监控
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysConfigController.java
View file @
c0c8f760
...
@@ -21,8 +21,8 @@ import com.zehong.common.core.page.TableDataInfo;
...
@@ -21,8 +21,8 @@ import com.zehong.common.core.page.TableDataInfo;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysConfig
;
import
com.zehong.system.domain.
system.
SysConfig
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.service.
system.
ISysConfigService
;
/**
/**
* 参数配置 信息操作处理
* 参数配置 信息操作处理
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysDeptController.java
View file @
c0c8f760
...
@@ -22,7 +22,7 @@ import com.zehong.common.core.domain.entity.SysDept;
...
@@ -22,7 +22,7 @@ import com.zehong.common.core.domain.entity.SysDept;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.service.ISysDeptService
;
import
com.zehong.system.service.
system.
ISysDeptService
;
/**
/**
* 部门信息
* 部门信息
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysDictDataController.java
View file @
c0c8f760
...
@@ -22,8 +22,8 @@ import com.zehong.common.enums.BusinessType;
...
@@ -22,8 +22,8 @@ import com.zehong.common.enums.BusinessType;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.service.ISysDictDataService
;
import
com.zehong.system.service.
system.
ISysDictDataService
;
import
com.zehong.system.service.ISysDictTypeService
;
import
com.zehong.system.service.
system.
ISysDictTypeService
;
/**
/**
* 数据字典信息
* 数据字典信息
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysDictTypeController.java
View file @
c0c8f760
...
@@ -21,7 +21,7 @@ import com.zehong.common.core.page.TableDataInfo;
...
@@ -21,7 +21,7 @@ import com.zehong.common.core.page.TableDataInfo;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.service.ISysDictTypeService
;
import
com.zehong.system.service.
system.
ISysDictTypeService
;
/**
/**
* 数据字典信息
* 数据字典信息
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysLoginController.java
View file @
c0c8f760
...
@@ -19,7 +19,7 @@ import com.zehong.common.utils.ServletUtils;
...
@@ -19,7 +19,7 @@ import com.zehong.common.utils.ServletUtils;
import
com.zehong.framework.web.service.SysLoginService
;
import
com.zehong.framework.web.service.SysLoginService
;
import
com.zehong.framework.web.service.SysPermissionService
;
import
com.zehong.framework.web.service.SysPermissionService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysMenuService
;
import
com.zehong.system.service.
system.
ISysMenuService
;
/**
/**
* 登录验证
* 登录验证
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysMenuController.java
View file @
c0c8f760
...
@@ -24,7 +24,7 @@ import com.zehong.common.utils.SecurityUtils;
...
@@ -24,7 +24,7 @@ import com.zehong.common.utils.SecurityUtils;
import
com.zehong.common.utils.ServletUtils
;
import
com.zehong.common.utils.ServletUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysMenuService
;
import
com.zehong.system.service.
system.
ISysMenuService
;
/**
/**
* 菜单信息
* 菜单信息
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysNoticeController.java
View file @
c0c8f760
...
@@ -18,8 +18,8 @@ import com.zehong.common.core.domain.AjaxResult;
...
@@ -18,8 +18,8 @@ import com.zehong.common.core.domain.AjaxResult;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.system.domain.SysNotice
;
import
com.zehong.system.domain.
system.
SysNotice
;
import
com.zehong.system.service.ISysNoticeService
;
import
com.zehong.system.service.
system.
ISysNoticeService
;
/**
/**
* 公告 信息操作处理
* 公告 信息操作处理
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysPostController.java
View file @
c0c8f760
...
@@ -20,8 +20,8 @@ import com.zehong.common.core.page.TableDataInfo;
...
@@ -20,8 +20,8 @@ import com.zehong.common.core.page.TableDataInfo;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.domain.
system.
SysPost
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.service.
system.
ISysPostService
;
/**
/**
* 岗位信息操作处理
* 岗位信息操作处理
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysProfileController.java
View file @
c0c8f760
...
@@ -23,7 +23,7 @@ import com.zehong.common.utils.ServletUtils;
...
@@ -23,7 +23,7 @@ import com.zehong.common.utils.ServletUtils;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.file.FileUploadUtils
;
import
com.zehong.common.utils.file.FileUploadUtils
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
/**
/**
* 个人信息 业务处理
* 个人信息 业务处理
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysRoleController.java
View file @
c0c8f760
...
@@ -26,8 +26,8 @@ import com.zehong.common.utils.StringUtils;
...
@@ -26,8 +26,8 @@ import com.zehong.common.utils.StringUtils;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.framework.web.service.SysPermissionService
;
import
com.zehong.framework.web.service.SysPermissionService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
/**
/**
* 角色信息
* 角色信息
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysSettingController.java
View file @
c0c8f760
...
@@ -17,8 +17,8 @@ import com.zehong.common.annotation.Log;
...
@@ -17,8 +17,8 @@ import com.zehong.common.annotation.Log;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.service.
system.
ISysSettingService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.core.page.TableDataInfo
;
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/system/SysUserController.java
View file @
c0c8f760
...
@@ -30,9 +30,9 @@ import com.zehong.common.utils.ServletUtils;
...
@@ -30,9 +30,9 @@ import com.zehong.common.utils.ServletUtils;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.service.
system.
ISysPostService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
/**
/**
* 用户信息
* 用户信息
...
...
digital-management-admin/src/main/java/com/zehong/web/controller/track/TProductDrawingController.java
0 → 100644
View file @
c0c8f760
package
com
.
zehong
.
web
.
controller
.
track
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.track.TProductDrawing
;
import
com.zehong.system.service.track.ITProductDrawingService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 图纸Controller
*
* @author zehong
* @date 2024-08-21
*/
@RestController
@RequestMapping
(
"/track/drawing"
)
public
class
TProductDrawingController
extends
BaseController
{
@Autowired
private
ITProductDrawingService
tProductDrawingService
;
/**
* 查询图纸列表
*/
//@PreAuthorize("@ss.hasPermi('system:drawing:list')")
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
TProductDrawing
tProductDrawing
)
{
startPage
();
List
<
TProductDrawing
>
list
=
tProductDrawingService
.
selectTProductDrawingList
(
tProductDrawing
);
return
getDataTable
(
list
);
}
/**
* 导出图纸列表
*/
// @PreAuthorize("@ss.hasPermi('system:drawing:export')")
@Log
(
title
=
"图纸"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TProductDrawing
tProductDrawing
)
{
List
<
TProductDrawing
>
list
=
tProductDrawingService
.
selectTProductDrawingList
(
tProductDrawing
);
ExcelUtil
<
TProductDrawing
>
util
=
new
ExcelUtil
<
TProductDrawing
>(
TProductDrawing
.
class
);
return
util
.
exportExcel
(
list
,
"图纸数据"
);
}
/**
* 获取图纸详细信息
*/
//@PreAuthorize("@ss.hasPermi('system:drawing:query')")
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
AjaxResult
.
success
(
tProductDrawingService
.
selectTProductDrawingById
(
id
));
}
/**
* 新增图纸
*/
//@PreAuthorize("@ss.hasPermi('system:drawing:add')")
@Log
(
title
=
"图纸"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
TProductDrawing
tProductDrawing
)
{
return
toAjax
(
tProductDrawingService
.
insertTProductDrawing
(
tProductDrawing
));
}
/**
* 修改图纸
*/
//@PreAuthorize("@ss.hasPermi('system:drawing:edit')")
@Log
(
title
=
"图纸"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
TProductDrawing
tProductDrawing
)
{
return
toAjax
(
tProductDrawingService
.
updateTProductDrawing
(
tProductDrawing
));
}
/**
* 删除图纸
*/
//@PreAuthorize("@ss.hasPermi('system:drawing:remove')")
@Log
(
title
=
"图纸"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
return
toAjax
(
tProductDrawingService
.
deleteTProductDrawingByIds
(
ids
));
}
}
digital-management-framework/src/main/java/com/zehong/framework/aspectj/LogAspect.java
View file @
c0c8f760
...
@@ -31,7 +31,7 @@ import com.zehong.common.utils.spring.SpringUtils;
...
@@ -31,7 +31,7 @@ import com.zehong.common.utils.spring.SpringUtils;
import
com.zehong.framework.manager.AsyncManager
;
import
com.zehong.framework.manager.AsyncManager
;
import
com.zehong.framework.manager.factory.AsyncFactory
;
import
com.zehong.framework.manager.factory.AsyncFactory
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.domain.
system.
SysOperLog
;
/**
/**
* 操作日志记录处理
* 操作日志记录处理
...
...
digital-management-framework/src/main/java/com/zehong/framework/manager/factory/AsyncFactory.java
View file @
c0c8f760
...
@@ -9,10 +9,10 @@ import com.zehong.common.utils.ServletUtils;
...
@@ -9,10 +9,10 @@ import com.zehong.common.utils.ServletUtils;
import
com.zehong.common.utils.ip.AddressUtils
;
import
com.zehong.common.utils.ip.AddressUtils
;
import
com.zehong.common.utils.ip.IpUtils
;
import
com.zehong.common.utils.ip.IpUtils
;
import
com.zehong.common.utils.spring.SpringUtils
;
import
com.zehong.common.utils.spring.SpringUtils
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.domain.
system.
SysOperLog
;
import
com.zehong.system.service.ISysLogininforService
;
import
com.zehong.system.service.
system.
ISysLogininforService
;
import
com.zehong.system.service.ISysOperLogService
;
import
com.zehong.system.service.
system.
ISysOperLogService
;
import
eu.bitwalker.useragentutils.UserAgent
;
import
eu.bitwalker.useragentutils.UserAgent
;
/**
/**
...
...
digital-management-framework/src/main/java/com/zehong/framework/systemsetting/SystemSetting.java
View file @
c0c8f760
package
com
.
zehong
.
framework
.
systemsetting
;
package
com
.
zehong
.
framework
.
systemsetting
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.service.
system.
ISysSettingService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
import
org.springframework.boot.CommandLineRunner
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
...
...
digital-management-framework/src/main/java/com/zehong/framework/web/service/SysLoginService.java
View file @
c0c8f760
...
@@ -21,7 +21,7 @@ import com.zehong.common.utils.ServletUtils;
...
@@ -21,7 +21,7 @@ import com.zehong.common.utils.ServletUtils;
import
com.zehong.common.utils.ip.IpUtils
;
import
com.zehong.common.utils.ip.IpUtils
;
import
com.zehong.framework.manager.AsyncManager
;
import
com.zehong.framework.manager.AsyncManager
;
import
com.zehong.framework.manager.factory.AsyncFactory
;
import
com.zehong.framework.manager.factory.AsyncFactory
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
/**
/**
* 登录校验方法
* 登录校验方法
...
...
digital-management-framework/src/main/java/com/zehong/framework/web/service/SysPermissionService.java
View file @
c0c8f760
...
@@ -5,8 +5,8 @@ import java.util.Set;
...
@@ -5,8 +5,8 @@ import java.util.Set;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
com.zehong.common.core.domain.entity.SysUser
;
import
com.zehong.common.core.domain.entity.SysUser
;
import
com.zehong.system.service.ISysMenuService
;
import
com.zehong.system.service.
system.
ISysMenuService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
/**
/**
* 用户权限处理
* 用户权限处理
...
...
digital-management-framework/src/main/java/com/zehong/framework/web/service/UserDetailsServiceImpl.java
View file @
c0c8f760
...
@@ -12,7 +12,7 @@ import com.zehong.common.core.domain.model.LoginUser;
...
@@ -12,7 +12,7 @@ import com.zehong.common.core.domain.model.LoginUser;
import
com.zehong.common.enums.UserStatus
;
import
com.zehong.common.enums.UserStatus
;
import
com.zehong.common.exception.BaseException
;
import
com.zehong.common.exception.BaseException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
/**
/**
* 用户验证处理
* 用户验证处理
...
...
digital-management-generator/src/main/resources/vm/java/controller.java.vm
View file @
c0c8f760
...
@@ -39,7 +39,7 @@ public class ${ClassName}Controller extends BaseController
...
@@ -39,7 +39,7 @@ public class ${ClassName}Controller extends BaseController
/**
/**
*
查询
${
functionName
}
列表
*
查询
${
functionName
}
列表
*/
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:list')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:list')"
)
@
GetMapping
(
"/list"
)
@
GetMapping
(
"/list"
)
#
if
($
table
.
crud
||
$
table
.
sub
)
#
if
($
table
.
crud
||
$
table
.
sub
)
public
TableDataInfo
list
(${
ClassName
}
${
className
})
public
TableDataInfo
list
(${
ClassName
}
${
className
})
...
@@ -59,7 +59,7 @@ public class ${ClassName}Controller extends BaseController
...
@@ -59,7 +59,7 @@ public class ${ClassName}Controller extends BaseController
/**
/**
*
导出
${
functionName
}
列表
*
导出
${
functionName
}
列表
*/
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:export')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:export')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
EXPORT
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
EXPORT
)
@
GetMapping
(
"/export"
)
@
GetMapping
(
"/export"
)
public
AjaxResult
export
(${
ClassName
}
${
className
})
public
AjaxResult
export
(${
ClassName
}
${
className
})
...
@@ -72,7 +72,7 @@ public class ${ClassName}Controller extends BaseController
...
@@ -72,7 +72,7 @@ public class ${ClassName}Controller extends BaseController
/**
/**
*
获取
${
functionName
}
详细信息
*
获取
${
functionName
}
详细信息
*/
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:query')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:query')"
)
@
GetMapping
(
value
=
"/{${pkColumn.javaField}}"
)
@
GetMapping
(
value
=
"/{${pkColumn.javaField}}"
)
public
AjaxResult
getInfo
(@
PathVariable
(
"${pkColumn.javaField}"
)
${
pkColumn
.
javaType
}
${
pkColumn
.
javaField
})
public
AjaxResult
getInfo
(@
PathVariable
(
"${pkColumn.javaField}"
)
${
pkColumn
.
javaType
}
${
pkColumn
.
javaField
})
{
{
...
@@ -82,7 +82,7 @@ public class ${ClassName}Controller extends BaseController
...
@@ -82,7 +82,7 @@ public class ${ClassName}Controller extends BaseController
/**
/**
*
新增
${
functionName
}
*
新增
${
functionName
}
*/
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:add')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:add')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
INSERT
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
INSERT
)
@
PostMapping
@
PostMapping
public
AjaxResult
add
(@
RequestBody
${
ClassName
}
${
className
})
public
AjaxResult
add
(@
RequestBody
${
ClassName
}
${
className
})
...
@@ -93,7 +93,7 @@ public class ${ClassName}Controller extends BaseController
...
@@ -93,7 +93,7 @@ public class ${ClassName}Controller extends BaseController
/**
/**
*
修改
${
functionName
}
*
修改
${
functionName
}
*/
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:edit')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:edit')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
UPDATE
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
UPDATE
)
@
PutMapping
@
PutMapping
public
AjaxResult
edit
(@
RequestBody
${
ClassName
}
${
className
})
public
AjaxResult
edit
(@
RequestBody
${
ClassName
}
${
className
})
...
@@ -104,7 +104,7 @@ public class ${ClassName}Controller extends BaseController
...
@@ -104,7 +104,7 @@ public class ${ClassName}Controller extends BaseController
/**
/**
*
删除
${
functionName
}
*
删除
${
functionName
}
*/
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:remove')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:remove')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
DELETE
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
DELETE
)
@
DeleteMapping
(
"/{${pkColumn.javaField}s}"
)
@
DeleteMapping
(
"/{${pkColumn.javaField}s}"
)
public
AjaxResult
remove
(@
PathVariable
${
pkColumn
.
javaType
}[]
${
pkColumn
.
javaField
}
s
)
public
AjaxResult
remove
(@
PathVariable
${
pkColumn
.
javaType
}[]
${
pkColumn
.
javaField
}
s
)
...
...
digital-management-generator/src/main/resources/vm/java/serviceImpl.java.vm
View file @
c0c8f760
...
@@ -71,6 +71,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
...
@@ -71,6 +71,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
#
if
($
column
.
javaField
==
'createTime'
)
#
if
($
column
.
javaField
==
'createTime'
)
${
className
}.
setCreateTime
(
DateUtils
.
getNowDate
());
${
className
}.
setCreateTime
(
DateUtils
.
getNowDate
());
#
end
#
end
#
if
($
column
.
javaField
==
'createId'
)
${
className
}.
setCreateId
(
SecurityUtils
.
getLoginUser
().
getUser
().
getUserId
());
#
end
#
end
#
end
#
if
($
table
.
sub
)
#
if
($
table
.
sub
)
int
rows
=
${
className
}
Mapper
.
insert
${
ClassName
}(${
className
});
int
rows
=
${
className
}
Mapper
.
insert
${
ClassName
}(${
className
});
...
...
digital-management-generator/src/main/resources/vm/vue/index.vue.vm
View file @
c0c8f760
...
@@ -77,7 +77,6 @@
...
@@ -77,7 +77,6 @@
icon="el-icon-plus"
icon="el-icon-plus"
size="mini"
size="mini"
@click="handleAdd"
@click="handleAdd"
v-hasPermi="['${moduleName}:${businessName}:add']"
>新增</el-button>
>新增</el-button>
</el-col>
</el-col>
<el-col :span="1.5">
<el-col :span="1.5">
...
@@ -88,7 +87,6 @@
...
@@ -88,7 +87,6 @@
size="mini"
size="mini"
:disabled="single"
:disabled="single"
@click="handleUpdate"
@click="handleUpdate"
v-hasPermi="['${moduleName}:${businessName}:edit']"
>修改</el-button>
>修改</el-button>
</el-col>
</el-col>
<el-col :span="1.5">
<el-col :span="1.5">
...
@@ -99,7 +97,6 @@
...
@@ -99,7 +97,6 @@
size="mini"
size="mini"
:disabled="multiple"
:disabled="multiple"
@click="handleDelete"
@click="handleDelete"
v-hasPermi="['${moduleName}:${businessName}:remove']"
>删除</el-button>
>删除</el-button>
</el-col>
</el-col>
<el-col :span="1.5">
<el-col :span="1.5">
...
@@ -110,7 +107,6 @@
...
@@ -110,7 +107,6 @@
size="mini"
size="mini"
:loading="exportLoading"
:loading="exportLoading"
@click="handleExport"
@click="handleExport"
v-hasPermi="['${moduleName}:${businessName}:export']"
>导出</el-button>
>导出</el-button>
</el-col>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...
@@ -147,14 +143,12 @@
...
@@ -147,14 +143,12 @@
type="text"
type="text"
icon="el-icon-edit"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
@click="handleUpdate(scope.row)"
v-hasPermi="['${moduleName}:${businessName}:edit']"
>修改</el-button>
>修改</el-button>
<el-button
<el-button
size="mini"
size="mini"
type="text"
type="text"
icon="el-icon-delete"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
@click="handleDelete(scope.row)"
v-hasPermi="['${moduleName}:${businessName}:remove']"
>删除</el-button>
>删除</el-button>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -169,7 +163,7 @@
...
@@ -169,7 +163,7 @@
/>
/>
<!-- 添加或修改${functionName}对话框 -->
<!-- 添加或修改${functionName}对话框 -->
<el-dialog :title="title" :visible.sync="open" width="
500px" append-to-body
>
<el-dialog :title="title" :visible.sync="open" width="
800px" append-to-body destroy-on-close :close-on-click-modal="false"
>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
#foreach($column in $columns)
#foreach($column in $columns)
#set($field=$column.javaField)
#set($field=$column.javaField)
...
@@ -200,7 +194,7 @@
...
@@ -200,7 +194,7 @@
</el-form-item>
</el-form-item>
#elseif($column.htmlType == "select" && "" != $dictType)
#elseif($column.htmlType == "select" && "" != $dictType)
<el-form-item label="${comment}" prop="${field}">
<el-form-item label="${comment}" prop="${field}">
<el-select v-model="form.${field}" placeholder="请选择${comment}">
<el-select
style="width: 100%"
v-model="form.${field}" placeholder="请选择${comment}">
<el-option
<el-option
v-for="dict in ${field}Options"
v-for="dict in ${field}Options"
:key="dict.dictValue"
:key="dict.dictValue"
...
@@ -212,7 +206,7 @@
...
@@ -212,7 +206,7 @@
</el-form-item>
</el-form-item>
#elseif($column.htmlType == "select" && $dictType)
#elseif($column.htmlType == "select" && $dictType)
<el-form-item label="${comment}" prop="${field}">
<el-form-item label="${comment}" prop="${field}">
<el-select v-model="form.${field}" placeholder="请选择${comment}">
<el-select
style="width: 100%"
v-model="form.${field}" placeholder="请选择${comment}">
<el-option label="请选择字典生成" value="" />
<el-option label="请选择字典生成" value="" />
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -252,7 +246,7 @@
...
@@ -252,7 +246,7 @@
</el-form-item>
</el-form-item>
#elseif($column.htmlType == "datetime")
#elseif($column.htmlType == "datetime")
<el-form-item label="${comment}" prop="${field}">
<el-form-item label="${comment}" prop="${field}">
<el-date-picker clearable size="small"
<el-date-picker
style="width: 100%"
clearable size="small"
v-model="form.${field}"
v-model="form.${field}"
type="date"
type="date"
value-format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
...
@@ -261,7 +255,7 @@
...
@@ -261,7 +255,7 @@
</el-form-item>
</el-form-item>
#elseif($column.htmlType == "textarea")
#elseif($column.htmlType == "textarea")
<el-form-item label="${comment}" prop="${field}">
<el-form-item label="${comment}" prop="${field}">
<el-input v-model="form.${field}" type="textarea" placeholder="请输入内容" />
<el-input v-model="form.${field}"
:autosize="{ minRows: 3 }"
type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form-item>
#end
#end
#end
#end
...
@@ -318,7 +312,7 @@ import ImageUpload from '@/components/ImageUpload';
...
@@ -318,7 +312,7 @@ import ImageUpload from '@/components/ImageUpload';
#end
#end
#foreach($column in $columns)
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
import FileUpload from '@/components/FileUpload';
import FileUpload from '@/components/
Default
FileUpload';
#break
#break
#end
#end
#end
#end
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysConfig.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysConfig.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Size
;
import
javax.validation.constraints.Size
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysLogininfor.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysLogininfor.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
java.util.Date
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysNotice.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysNotice.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Size
;
import
javax.validation.constraints.Size
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysOperLog.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysOperLog.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
java.util.Date
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysPost.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysPost.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.Size
;
import
javax.validation.constraints.Size
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysRoleDept.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysRoleDept.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysRoleMenu.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysRoleMenu.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysSetting.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysSetting.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysUserOnline.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysUserOnline.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
/**
/**
* 当前在线会话
* 当前在线会话
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysUserPost.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysUserPost.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/SysUserRole.java
→
digital-management-system/src/main/java/com/zehong/system/domain/
system/
SysUserRole.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
;
package
com
.
zehong
.
system
.
domain
.
system
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
digital-management-system/src/main/java/com/zehong/system/domain/track/TProductDrawing.java
0 → 100644
View file @
c0c8f760
package
com
.
zehong
.
system
.
domain
.
track
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 图纸对象 t_product_drawing
*
* @author zehong
* @date 2024-08-21
*/
public
class
TProductDrawing
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** $column.columnComment */
private
Long
id
;
/** 图纸名称 */
@Excel
(
name
=
"图纸名称"
)
private
String
title
;
/** 图纸编号 */
@Excel
(
name
=
"图纸编号"
)
private
String
drawingNo
;
/** 图纸型号 */
@Excel
(
name
=
"图纸型号"
)
private
String
model
;
/** 版本号 */
@Excel
(
name
=
"版本号"
)
private
String
version
;
/** 图纸分类(数据字典) */
@Excel
(
name
=
"图纸分类"
,
dictType
=
"t_draw_type"
)
private
String
cateId
;
/** 图纸描述 */
@Excel
(
name
=
"图纸描述"
)
private
String
content
;
/** 图纸来源 */
@Excel
(
name
=
"图纸来源"
)
private
String
source
;
/** 图纸附件 */
@Excel
(
name
=
"图纸附件"
)
private
String
fileUrl
;
/** $column.columnComment */
private
Long
createId
;
/** 删除状态:0否,1是 */
private
String
isDel
;
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
Long
getId
()
{
return
id
;
}
public
void
setTitle
(
String
title
)
{
this
.
title
=
title
;
}
public
String
getTitle
()
{
return
title
;
}
public
void
setDrawingNo
(
String
drawingNo
)
{
this
.
drawingNo
=
drawingNo
;
}
public
String
getDrawingNo
()
{
return
drawingNo
;
}
public
void
setModel
(
String
model
)
{
this
.
model
=
model
;
}
public
String
getModel
()
{
return
model
;
}
public
void
setVersion
(
String
version
)
{
this
.
version
=
version
;
}
public
String
getVersion
()
{
return
version
;
}
public
void
setCateId
(
String
cateId
)
{
this
.
cateId
=
cateId
;
}
public
String
getCateId
()
{
return
cateId
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
String
getContent
()
{
return
content
;
}
public
void
setSource
(
String
source
)
{
this
.
source
=
source
;
}
public
String
getSource
()
{
return
source
;
}
public
void
setFileUrl
(
String
fileUrl
)
{
this
.
fileUrl
=
fileUrl
;
}
public
String
getFileUrl
()
{
return
fileUrl
;
}
public
void
setCreateId
(
Long
createId
)
{
this
.
createId
=
createId
;
}
public
Long
getCreateId
()
{
return
createId
;
}
public
String
getIsDel
()
{
return
isDel
;
}
public
void
setIsDel
(
String
isDel
)
{
this
.
isDel
=
isDel
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"id"
,
getId
())
.
append
(
"title"
,
getTitle
())
.
append
(
"drawingNo"
,
getDrawingNo
())
.
append
(
"model"
,
getModel
())
.
append
(
"version"
,
getVersion
())
.
append
(
"cateId"
,
getCateId
())
.
append
(
"content"
,
getContent
())
.
append
(
"source"
,
getSource
())
.
append
(
"fileUrl"
,
getFileUrl
())
.
append
(
"createTime"
,
getCreateTime
())
.
append
(
"createId"
,
getCreateId
())
.
toString
();
}
}
digital-management-system/src/main/java/com/zehong/system/mapper/SysConfigMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysConfigMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysConfig
;
import
com.zehong.system.domain.
system.
SysConfig
;
/**
/**
* 参数配置 数据层
* 参数配置 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysDeptMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysDeptMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysDictDataMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysDictDataMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysDictTypeMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysDictTypeMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysLogininforMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysLogininforMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
/**
/**
* 系统访问日志情况信息 数据层
* 系统访问日志情况信息 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysMenuMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysMenuMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysNoticeMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysNoticeMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysNotice
;
import
com.zehong.system.domain.
system.
SysNotice
;
/**
/**
* 通知公告表 数据层
* 通知公告表 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysOperLogMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysOperLogMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.domain.
system.
SysOperLog
;
/**
/**
* 操作日志 数据层
* 操作日志 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysPostMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysPostMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.domain.
system.
SysPost
;
/**
/**
* 岗位信息 数据层
* 岗位信息 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysRoleDeptMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysRoleDeptMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysRoleDept
;
import
com.zehong.system.domain.
system.
SysRoleDept
;
/**
/**
* 角色与部门关联表 数据层
* 角色与部门关联表 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysRoleMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysRoleMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.core.domain.entity.SysRole
;
import
com.zehong.common.core.domain.entity.SysRole
;
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysRoleMenuMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysRoleMenuMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysRoleMenu
;
import
com.zehong.system.domain.
system.
SysRoleMenu
;
/**
/**
* 角色与菜单关联表 数据层
* 角色与菜单关联表 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysSettingMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysSettingMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
/**
/**
* 系统参数配置Mapper接口
* 系统参数配置Mapper接口
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysUserMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysUserMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysUserPostMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysUserPostMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysUserPost
;
import
com.zehong.system.domain.
system.
SysUserPost
;
/**
/**
* 用户与岗位关联表 数据层
* 用户与岗位关联表 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/SysUserRoleMapper.java
→
digital-management-system/src/main/java/com/zehong/system/mapper/
system/
SysUserRoleMapper.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
com.zehong.system.domain.SysUserRole
;
import
com.zehong.system.domain.
system.
SysUserRole
;
/**
/**
* 用户与角色关联表 数据层
* 用户与角色关联表 数据层
...
...
digital-management-system/src/main/java/com/zehong/system/mapper/track/TProductDrawingMapper.java
0 → 100644
View file @
c0c8f760
package
com
.
zehong
.
system
.
mapper
.
track
;
import
java.util.List
;
import
com.zehong.system.domain.track.TProductDrawing
;
/**
* 图纸Mapper接口
*
* @author zehong
* @date 2024-08-21
*/
public
interface
TProductDrawingMapper
{
/**
* 查询图纸
*
* @param id 图纸ID
* @return 图纸
*/
public
TProductDrawing
selectTProductDrawingById
(
Long
id
);
/**
* 查询图纸列表
*
* @param tProductDrawing 图纸
* @return 图纸集合
*/
public
List
<
TProductDrawing
>
selectTProductDrawingList
(
TProductDrawing
tProductDrawing
);
/**
* 新增图纸
*
* @param tProductDrawing 图纸
* @return 结果
*/
public
int
insertTProductDrawing
(
TProductDrawing
tProductDrawing
);
/**
* 修改图纸
*
* @param tProductDrawing 图纸
* @return 结果
*/
public
int
updateTProductDrawing
(
TProductDrawing
tProductDrawing
);
/**
* 删除图纸
*
* @param id 图纸ID
* @return 结果
*/
public
int
deleteTProductDrawingById
(
Long
id
);
/**
* 批量删除图纸
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public
int
deleteTProductDrawingByIds
(
Long
[]
ids
);
}
digital-management-system/src/main/java/com/zehong/system/service/impl/baseinfo/TStaffServiceImpl.java
View file @
c0c8f760
...
@@ -2,11 +2,11 @@ package com.zehong.system.service.impl.baseinfo;
...
@@ -2,11 +2,11 @@ package com.zehong.system.service.impl.baseinfo;
import
com.zehong.common.utils.DateUtils
;
import
com.zehong.common.utils.DateUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysUserRole
;
import
com.zehong.system.domain.
system.
SysUserRole
;
import
com.zehong.system.domain.baseinfo.TStaff
;
import
com.zehong.system.domain.baseinfo.TStaff
;
import
com.zehong.system.domain.form.TStaffForm
;
import
com.zehong.system.domain.form.TStaffForm
;
import
com.zehong.system.domain.vo.TStaffVo
;
import
com.zehong.system.domain.vo.TStaffVo
;
import
com.zehong.system.mapper.SysUserRoleMapper
;
import
com.zehong.system.mapper.
system.
SysUserRoleMapper
;
import
com.zehong.system.mapper.baseinfo.TStaffMapper
;
import
com.zehong.system.mapper.baseinfo.TStaffMapper
;
import
com.zehong.system.service.baseinfo.ITStaffService
;
import
com.zehong.system.service.baseinfo.ITStaffService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysConfigServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysConfigServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.Collection
;
import
java.util.Collection
;
import
java.util.List
;
import
java.util.List
;
...
@@ -13,9 +13,9 @@ import com.zehong.common.core.text.Convert;
...
@@ -13,9 +13,9 @@ import com.zehong.common.core.text.Convert;
import
com.zehong.common.enums.DataSourceType
;
import
com.zehong.common.enums.DataSourceType
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysConfig
;
import
com.zehong.system.domain.
system.
SysConfig
;
import
com.zehong.system.mapper.SysConfigMapper
;
import
com.zehong.system.mapper.
system.
SysConfigMapper
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.service.
system.
ISysConfigService
;
/**
/**
* 参数配置 服务层实现
* 参数配置 服务层实现
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysDeptServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysDeptServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Iterator
;
import
java.util.Iterator
;
...
@@ -13,9 +13,9 @@ import com.zehong.common.core.domain.entity.SysDept;
...
@@ -13,9 +13,9 @@ import com.zehong.common.core.domain.entity.SysDept;
import
com.zehong.common.core.domain.entity.SysRole
;
import
com.zehong.common.core.domain.entity.SysRole
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.mapper.SysDeptMapper
;
import
com.zehong.system.mapper.
system.
SysDeptMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.service.ISysDeptService
;
import
com.zehong.system.service.
system.
ISysDeptService
;
/**
/**
* 部门管理 服务实现
* 部门管理 服务实现
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysDictDataServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysDictDataServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zehong.common.core.domain.entity.SysDictData
;
import
com.zehong.common.core.domain.entity.SysDictData
;
import
com.zehong.common.utils.DictUtils
;
import
com.zehong.common.utils.DictUtils
;
import
com.zehong.system.mapper.SysDictDataMapper
;
import
com.zehong.system.mapper.
system.
SysDictDataMapper
;
import
com.zehong.system.service.ISysDictDataService
;
import
com.zehong.system.service.
system.
ISysDictDataService
;
/**
/**
* 字典 业务层处理
* 字典 业务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysDictTypeServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysDictTypeServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
javax.annotation.PostConstruct
;
import
javax.annotation.PostConstruct
;
...
@@ -11,9 +11,9 @@ import com.zehong.common.core.domain.entity.SysDictType;
...
@@ -11,9 +11,9 @@ import com.zehong.common.core.domain.entity.SysDictType;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.DictUtils
;
import
com.zehong.common.utils.DictUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.mapper.SysDictDataMapper
;
import
com.zehong.system.mapper.
system.
SysDictDataMapper
;
import
com.zehong.system.mapper.SysDictTypeMapper
;
import
com.zehong.system.mapper.
system.
SysDictTypeMapper
;
import
com.zehong.system.service.ISysDictTypeService
;
import
com.zehong.system.service.
system.
ISysDictTypeService
;
/**
/**
* 字典 业务层处理
* 字典 业务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysLogininforServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysLogininforServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
import
com.zehong.system.mapper.SysLogininforMapper
;
import
com.zehong.system.mapper.
system.
SysLogininforMapper
;
import
com.zehong.system.service.ISysLogininforService
;
import
com.zehong.system.service.
system.
ISysLogininforService
;
/**
/**
* 系统访问日志情况信息 服务层处理
* 系统访问日志情况信息 服务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysMenuServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysMenuServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
...
@@ -19,10 +19,10 @@ import com.zehong.common.utils.SecurityUtils;
...
@@ -19,10 +19,10 @@ import com.zehong.common.utils.SecurityUtils;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.vo.MetaVo
;
import
com.zehong.system.domain.vo.MetaVo
;
import
com.zehong.system.domain.vo.RouterVo
;
import
com.zehong.system.domain.vo.RouterVo
;
import
com.zehong.system.mapper.SysMenuMapper
;
import
com.zehong.system.mapper.
system.
SysMenuMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.mapper.SysRoleMenuMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMenuMapper
;
import
com.zehong.system.service.ISysMenuService
;
import
com.zehong.system.service.
system.
ISysMenuService
;
/**
/**
* 菜单 业务层处理
* 菜单 业务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysNoticeServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysNoticeServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.domain.SysNotice
;
import
com.zehong.system.domain.
system.
SysNotice
;
import
com.zehong.system.mapper.SysNoticeMapper
;
import
com.zehong.system.mapper.
system.
SysNoticeMapper
;
import
com.zehong.system.service.ISysNoticeService
;
import
com.zehong.system.service.
system.
ISysNoticeService
;
/**
/**
* 公告 服务层实现
* 公告 服务层实现
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysOperLogServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysOperLogServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.domain.
system.
SysOperLog
;
import
com.zehong.system.mapper.SysOperLogMapper
;
import
com.zehong.system.mapper.
system.
SysOperLogMapper
;
import
com.zehong.system.service.ISysOperLogService
;
import
com.zehong.system.service.
system.
ISysOperLogService
;
/**
/**
* 操作日志 服务层处理
* 操作日志 服务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysPostServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysPostServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -6,10 +6,10 @@ import org.springframework.stereotype.Service;
...
@@ -6,10 +6,10 @@ import org.springframework.stereotype.Service;
import
com.zehong.common.constant.UserConstants
;
import
com.zehong.common.constant.UserConstants
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.domain.
system.
SysPost
;
import
com.zehong.system.mapper.SysPostMapper
;
import
com.zehong.system.mapper.
system.
SysPostMapper
;
import
com.zehong.system.mapper.SysUserPostMapper
;
import
com.zehong.system.mapper.
system.
SysUserPostMapper
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.service.
system.
ISysPostService
;
/**
/**
* 岗位信息 服务层处理
* 岗位信息 服务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysRoleServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysRoleServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
...
@@ -14,13 +14,13 @@ import com.zehong.common.core.domain.entity.SysRole;
...
@@ -14,13 +14,13 @@ import com.zehong.common.core.domain.entity.SysRole;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.spring.SpringUtils
;
import
com.zehong.common.utils.spring.SpringUtils
;
import
com.zehong.system.domain.SysRoleDept
;
import
com.zehong.system.domain.
system.
SysRoleDept
;
import
com.zehong.system.domain.SysRoleMenu
;
import
com.zehong.system.domain.
system.
SysRoleMenu
;
import
com.zehong.system.mapper.SysRoleDeptMapper
;
import
com.zehong.system.mapper.
system.
SysRoleDeptMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.mapper.SysRoleMenuMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMenuMapper
;
import
com.zehong.system.mapper.SysUserRoleMapper
;
import
com.zehong.system.mapper.
system.
SysUserRoleMapper
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
/**
/**
* 角色 业务层处理
* 角色 业务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysSettingServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysSettingServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.SysSettingMapper
;
import
com.zehong.system.mapper.
system.
SysSettingMapper
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.service.
system.
ISysSettingService
;
/**
/**
* 系统参数配置Service业务层处理
* 系统参数配置Service业务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysUserOnlineServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysUserOnlineServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysUserOnline
;
import
com.zehong.system.domain.
system.
SysUserOnline
;
import
com.zehong.system.service.ISysUserOnlineService
;
import
com.zehong.system.service.
system.
ISysUserOnlineService
;
/**
/**
* 在线用户 服务层处理
* 在线用户 服务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/SysUserServiceImpl.java
→
digital-management-system/src/main/java/com/zehong/system/service/impl/
system/
SysUserServiceImpl.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
;
package
com
.
zehong
.
system
.
service
.
impl
.
system
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
...
@@ -14,16 +14,16 @@ import com.zehong.common.core.domain.entity.SysUser;
...
@@ -14,16 +14,16 @@ import com.zehong.common.core.domain.entity.SysUser;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.domain.
system.
SysPost
;
import
com.zehong.system.domain.SysUserPost
;
import
com.zehong.system.domain.
system.
SysUserPost
;
import
com.zehong.system.domain.SysUserRole
;
import
com.zehong.system.domain.
system.
SysUserRole
;
import
com.zehong.system.mapper.SysPostMapper
;
import
com.zehong.system.mapper.
system.
SysPostMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.mapper.SysUserMapper
;
import
com.zehong.system.mapper.
system.
SysUserMapper
;
import
com.zehong.system.mapper.SysUserPostMapper
;
import
com.zehong.system.mapper.
system.
SysUserPostMapper
;
import
com.zehong.system.mapper.SysUserRoleMapper
;
import
com.zehong.system.mapper.
system.
SysUserRoleMapper
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.service.
system.
ISysConfigService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysUserService
;
/**
/**
* 用户 业务层处理
* 用户 业务层处理
...
...
digital-management-system/src/main/java/com/zehong/system/service/impl/track/TProductDrawingServiceImpl.java
0 → 100644
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
impl
.
track
;
import
java.util.List
;
import
com.zehong.common.utils.DateUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.track.TProductDrawingMapper
;
import
com.zehong.system.domain.track.TProductDrawing
;
import
com.zehong.system.service.track.ITProductDrawingService
;
/**
* 图纸Service业务层处理
*
* @author zehong
* @date 2024-08-21
*/
@Service
public
class
TProductDrawingServiceImpl
implements
ITProductDrawingService
{
@Autowired
private
TProductDrawingMapper
tProductDrawingMapper
;
/**
* 查询图纸
*
* @param id 图纸ID
* @return 图纸
*/
@Override
public
TProductDrawing
selectTProductDrawingById
(
Long
id
)
{
return
tProductDrawingMapper
.
selectTProductDrawingById
(
id
);
}
/**
* 查询图纸列表
*
* @param tProductDrawing 图纸
* @return 图纸
*/
@Override
public
List
<
TProductDrawing
>
selectTProductDrawingList
(
TProductDrawing
tProductDrawing
)
{
return
tProductDrawingMapper
.
selectTProductDrawingList
(
tProductDrawing
);
}
/**
* 新增图纸
*
* @param tProductDrawing 图纸
* @return 结果
*/
@Override
public
int
insertTProductDrawing
(
TProductDrawing
tProductDrawing
)
{
tProductDrawing
.
setCreateId
(
SecurityUtils
.
getLoginUser
().
getUser
().
getUserId
());
tProductDrawing
.
setCreateTime
(
DateUtils
.
getNowDate
());
return
tProductDrawingMapper
.
insertTProductDrawing
(
tProductDrawing
);
}
/**
* 修改图纸
*
* @param tProductDrawing 图纸
* @return 结果
*/
@Override
public
int
updateTProductDrawing
(
TProductDrawing
tProductDrawing
)
{
return
tProductDrawingMapper
.
updateTProductDrawing
(
tProductDrawing
);
}
/**
* 批量删除图纸
*
* @param ids 需要删除的图纸ID
* @return 结果
*/
@Override
public
int
deleteTProductDrawingByIds
(
Long
[]
ids
)
{
return
tProductDrawingMapper
.
deleteTProductDrawingByIds
(
ids
);
}
/**
* 删除图纸信息
*
* @param id 图纸ID
* @return 结果
*/
@Override
public
int
deleteTProductDrawingById
(
Long
id
)
{
return
tProductDrawingMapper
.
deleteTProductDrawingById
(
id
);
}
}
digital-management-system/src/main/java/com/zehong/system/service/ISysConfigService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysConfigService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysConfig
;
import
com.zehong.system.domain.
system.
SysConfig
;
/**
/**
* 参数配置 服务层
* 参数配置 服务层
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysDeptService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysDeptService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.core.domain.TreeSelect
;
import
com.zehong.common.core.domain.TreeSelect
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysDictDataService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysDictDataService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.core.domain.entity.SysDictData
;
import
com.zehong.common.core.domain.entity.SysDictData
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysDictTypeService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysDictTypeService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.core.domain.entity.SysDictData
;
import
com.zehong.common.core.domain.entity.SysDictData
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysLogininforService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysLogininforService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
/**
/**
* 系统访问日志情况信息 服务层
* 系统访问日志情况信息 服务层
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysMenuService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysMenuService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.Set
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysNoticeService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysNoticeService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysNotice
;
import
com.zehong.system.domain.
system.
SysNotice
;
/**
/**
* 公告 服务层
* 公告 服务层
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysOperLogService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysOperLogService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.domain.
system.
SysOperLog
;
/**
/**
* 操作日志 服务层
* 操作日志 服务层
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysPostService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysPostService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.domain.
system.
SysPost
;
/**
/**
* 岗位信息 服务层
* 岗位信息 服务层
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysRoleService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysRoleService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.Set
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysSettingService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysSettingService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
/**
/**
* 系统参数配置Service接口
* 系统参数配置Service接口
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysUserOnlineService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysUserOnlineService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.system.domain.SysUserOnline
;
import
com.zehong.system.domain.
system.
SysUserOnline
;
/**
/**
* 在线用户 服务层
* 在线用户 服务层
...
...
digital-management-system/src/main/java/com/zehong/system/service/ISysUserService.java
→
digital-management-system/src/main/java/com/zehong/system/service/
system/
ISysUserService.java
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
;
package
com
.
zehong
.
system
.
service
.
system
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.core.domain.entity.SysUser
;
import
com.zehong.common.core.domain.entity.SysUser
;
...
...
digital-management-system/src/main/java/com/zehong/system/service/track/ITProductDrawingService.java
0 → 100644
View file @
c0c8f760
package
com
.
zehong
.
system
.
service
.
track
;
import
java.util.List
;
import
com.zehong.system.domain.track.TProductDrawing
;
/**
* 图纸Service接口
*
* @author zehong
* @date 2024-08-21
*/
public
interface
ITProductDrawingService
{
/**
* 查询图纸
*
* @param id 图纸ID
* @return 图纸
*/
public
TProductDrawing
selectTProductDrawingById
(
Long
id
);
/**
* 查询图纸列表
*
* @param tProductDrawing 图纸
* @return 图纸集合
*/
public
List
<
TProductDrawing
>
selectTProductDrawingList
(
TProductDrawing
tProductDrawing
);
/**
* 新增图纸
*
* @param tProductDrawing 图纸
* @return 结果
*/
public
int
insertTProductDrawing
(
TProductDrawing
tProductDrawing
);
/**
* 修改图纸
*
* @param tProductDrawing 图纸
* @return 结果
*/
public
int
updateTProductDrawing
(
TProductDrawing
tProductDrawing
);
/**
* 批量删除图纸
*
* @param ids 需要删除的图纸ID
* @return 结果
*/
public
int
deleteTProductDrawingByIds
(
Long
[]
ids
);
/**
* 删除图纸信息
*
* @param id 图纸ID
* @return 结果
*/
public
int
deleteTProductDrawingById
(
Long
id
);
}
digital-management-system/src/main/resources/mapper/system/SysConfigMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysConfigMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysConfigMapper"
>
<resultMap
type=
"SysConfig"
id=
"SysConfigResult"
>
<resultMap
type=
"SysConfig"
id=
"SysConfigResult"
>
<id
property=
"configId"
column=
"config_id"
/>
<id
property=
"configId"
column=
"config_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysDeptMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysDeptMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysDeptMapper"
>
<resultMap
type=
"SysDept"
id=
"SysDeptResult"
>
<resultMap
type=
"SysDept"
id=
"SysDeptResult"
>
<id
property=
"deptId"
column=
"dept_id"
/>
<id
property=
"deptId"
column=
"dept_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysDictDataMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysDictDataMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysDictDataMapper"
>
<resultMap
type=
"SysDictData"
id=
"SysDictDataResult"
>
<resultMap
type=
"SysDictData"
id=
"SysDictDataResult"
>
<id
property=
"dictCode"
column=
"dict_code"
/>
<id
property=
"dictCode"
column=
"dict_code"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysDictTypeMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysDictTypeMapper"
>
<resultMap
type=
"SysDictType"
id=
"SysDictTypeResult"
>
<resultMap
type=
"SysDictType"
id=
"SysDictTypeResult"
>
<id
property=
"dictId"
column=
"dict_id"
/>
<id
property=
"dictId"
column=
"dict_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysLogininforMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysLogininforMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysLogininforMapper"
>
<resultMap
type=
"SysLogininfor"
id=
"SysLogininforResult"
>
<resultMap
type=
"SysLogininfor"
id=
"SysLogininforResult"
>
<id
property=
"infoId"
column=
"info_id"
/>
<id
property=
"infoId"
column=
"info_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysMenuMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysMenuMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysMenuMapper"
>
<resultMap
type=
"SysMenu"
id=
"SysMenuResult"
>
<resultMap
type=
"SysMenu"
id=
"SysMenuResult"
>
<id
property=
"menuId"
column=
"menu_id"
/>
<id
property=
"menuId"
column=
"menu_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysNoticeMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysNoticeMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysNoticeMapper"
>
<resultMap
type=
"SysNotice"
id=
"SysNoticeResult"
>
<resultMap
type=
"SysNotice"
id=
"SysNoticeResult"
>
<result
property=
"noticeId"
column=
"notice_id"
/>
<result
property=
"noticeId"
column=
"notice_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysOperLogMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysOperLogMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysOperLogMapper"
>
<resultMap
type=
"SysOperLog"
id=
"SysOperLogResult"
>
<resultMap
type=
"SysOperLog"
id=
"SysOperLogResult"
>
<id
property=
"operId"
column=
"oper_id"
/>
<id
property=
"operId"
column=
"oper_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysPostMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysPostMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysPostMapper"
>
<resultMap
type=
"SysPost"
id=
"SysPostResult"
>
<resultMap
type=
"SysPost"
id=
"SysPostResult"
>
<id
property=
"postId"
column=
"post_id"
/>
<id
property=
"postId"
column=
"post_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysRoleDeptMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysRoleDeptMapper"
>
<resultMap
type=
"SysRoleDept"
id=
"SysRoleDeptResult"
>
<resultMap
type=
"SysRoleDept"
id=
"SysRoleDeptResult"
>
<result
property=
"roleId"
column=
"role_id"
/>
<result
property=
"roleId"
column=
"role_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysRoleMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysRoleMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysRoleMapper"
>
<resultMap
type=
"SysRole"
id=
"SysRoleResult"
>
<resultMap
type=
"SysRole"
id=
"SysRoleResult"
>
<id
property=
"roleId"
column=
"role_id"
/>
<id
property=
"roleId"
column=
"role_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysRoleMenuMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysRoleMenuMapper"
>
<resultMap
type=
"SysRoleMenu"
id=
"SysRoleMenuResult"
>
<resultMap
type=
"SysRoleMenu"
id=
"SysRoleMenuResult"
>
<result
property=
"roleId"
column=
"role_id"
/>
<result
property=
"roleId"
column=
"role_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysSettingMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysSettingMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysSettingMapper"
>
<resultMap
type=
"SysSetting"
id=
"SysSettingResult"
>
<resultMap
type=
"SysSetting"
id=
"SysSettingResult"
>
<result
property=
"systemId"
column=
"system_id"
/>
<result
property=
"systemId"
column=
"system_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysUserMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysUserMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysUserMapper"
>
<resultMap
type=
"SysUser"
id=
"SysUserResult"
>
<resultMap
type=
"SysUser"
id=
"SysUserResult"
>
<id
property=
"userId"
column=
"user_id"
/>
<id
property=
"userId"
column=
"user_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysUserPostMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysUserPostMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysUserPostMapper"
>
<resultMap
type=
"SysUserPost"
id=
"SysUserPostResult"
>
<resultMap
type=
"SysUserPost"
id=
"SysUserPostResult"
>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userId"
column=
"user_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
View file @
c0c8f760
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysUserRoleMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysUserRoleMapper"
>
<resultMap
type=
"SysUserRole"
id=
"SysUserRoleResult"
>
<resultMap
type=
"SysUserRole"
id=
"SysUserRoleResult"
>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userId"
column=
"user_id"
/>
...
...
digital-management-system/src/main/resources/mapper/track/TProductDrawingMapper.xml
0 → 100644
View file @
c0c8f760
<?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.zehong.system.mapper.track.TProductDrawingMapper"
>
<resultMap
type=
"TProductDrawing"
id=
"TProductDrawingResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"title"
column=
"title"
/>
<result
property=
"drawingNo"
column=
"drawing_no"
/>
<result
property=
"model"
column=
"model"
/>
<result
property=
"version"
column=
"version"
/>
<result
property=
"cateId"
column=
"cate_id"
/>
<result
property=
"content"
column=
"content"
/>
<result
property=
"source"
column=
"source"
/>
<result
property=
"fileUrl"
column=
"file_url"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createId"
column=
"create_id"
/>
<result
property=
"isDel"
column=
"is_del"
/>
</resultMap>
<sql
id=
"selectTProductDrawingVo"
>
select id, title, drawing_no, model, version, cate_id, content, source, file_url, create_time, create_id from t_product_drawing
</sql>
<select
id=
"selectTProductDrawingList"
parameterType=
"TProductDrawing"
resultMap=
"TProductDrawingResult"
>
<include
refid=
"selectTProductDrawingVo"
/>
<where>
<if
test=
"title != null and title != ''"
>
and title like concat('%', #{title}, '%')
</if>
<if
test=
"drawingNo != null and drawingNo != ''"
>
and drawing_no like concat('%', #{drawingNo}, '%')
</if>
<if
test=
"model != null and model != ''"
>
and model = #{model}
</if>
<if
test=
"version != null and version != ''"
>
and version = #{version}
</if>
<if
test=
"cateId != null and cateId != ''"
>
and cate_id = #{cateId}
</if>
<if
test=
"content != null and content != ''"
>
and content = #{content}
</if>
<if
test=
"source != null and source != ''"
>
and source = #{source}
</if>
<if
test=
"fileUrl != null and fileUrl != ''"
>
and file_url = #{fileUrl}
</if>
<if
test=
"createId != null "
>
and create_id = #{createId}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
and is_del = '0'
</where>
order by create_time desc
</select>
<select
id=
"selectTProductDrawingById"
parameterType=
"Long"
resultMap=
"TProductDrawingResult"
>
<include
refid=
"selectTProductDrawingVo"
/>
where id = #{id}
</select>
<insert
id=
"insertTProductDrawing"
parameterType=
"TProductDrawing"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into t_product_drawing
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"title != null"
>
title,
</if>
<if
test=
"drawingNo != null"
>
drawing_no,
</if>
<if
test=
"model != null"
>
model,
</if>
<if
test=
"version != null"
>
version,
</if>
<if
test=
"cateId != null"
>
cate_id,
</if>
<if
test=
"content != null"
>
content,
</if>
<if
test=
"source != null"
>
source,
</if>
<if
test=
"fileUrl != null"
>
file_url,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"createId != null"
>
create_id,
</if>
<if
test=
"isDel != null"
>
is_del,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"title != null"
>
#{title},
</if>
<if
test=
"drawingNo != null"
>
#{drawingNo},
</if>
<if
test=
"model != null"
>
#{model},
</if>
<if
test=
"version != null"
>
#{version},
</if>
<if
test=
"cateId != null"
>
#{cateId},
</if>
<if
test=
"content != null"
>
#{content},
</if>
<if
test=
"source != null"
>
#{source},
</if>
<if
test=
"fileUrl != null"
>
#{fileUrl},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"createId != null"
>
#{createId},
</if>
<if
test=
"isDel != null"
>
#{isDel},
</if>
</trim>
</insert>
<update
id=
"updateTProductDrawing"
parameterType=
"TProductDrawing"
>
update t_product_drawing
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"title != null"
>
title = #{title},
</if>
<if
test=
"drawingNo != null"
>
drawing_no = #{drawingNo},
</if>
<if
test=
"model != null"
>
model = #{model},
</if>
<if
test=
"version != null"
>
version = #{version},
</if>
<if
test=
"cateId != null"
>
cate_id = #{cateId},
</if>
<if
test=
"content != null"
>
content = #{content},
</if>
<if
test=
"source != null"
>
source = #{source},
</if>
<if
test=
"fileUrl != null"
>
file_url = #{fileUrl},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"createId != null"
>
create_id = #{createId},
</if>
<if
test=
"isDel != null"
>
is_del = #{isDel},
</if>
</trim>
where id = #{id}
</update>
<delete
id=
"deleteTProductDrawingById"
parameterType=
"Long"
>
delete from t_product_drawing where id = #{id}
</delete>
<delete
id=
"deleteTProductDrawingByIds"
parameterType=
"String"
>
update t_product_drawing set is_del = '1' where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
</delete>
</mapper>
\ No newline at end of file
digital-management-web/src/api/track/drawing.js
0 → 100644
View file @
c0c8f760
import
request
from
'@/utils/request'
// 查询图纸列表
export
function
listDrawing
(
query
)
{
return
request
({
url
:
'/track/drawing/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询图纸详细
export
function
getDrawing
(
id
)
{
return
request
({
url
:
'/track/drawing/'
+
id
,
method
:
'get'
})
}
// 新增图纸
export
function
addDrawing
(
data
)
{
return
request
({
url
:
'/track/drawing'
,
method
:
'post'
,
data
:
data
})
}
// 修改图纸
export
function
updateDrawing
(
data
)
{
return
request
({
url
:
'/track/drawing'
,
method
:
'put'
,
data
:
data
})
}
// 删除图纸
export
function
delDrawing
(
id
)
{
return
request
({
url
:
'/track/drawing/'
+
id
,
method
:
'delete'
})
}
// 导出图纸
export
function
exportDrawing
(
query
)
{
return
request
({
url
:
'/track/drawing/export'
,
method
:
'get'
,
params
:
query
})
}
digital-management-web/src/components/DefaultFileUpload/index.vue
0 → 100644
View file @
c0c8f760
<
template
>
<div
class=
"upload-file"
>
<el-upload
:action=
"uploadFileUrl"
:before-upload=
"handleBeforeUpload"
:file-list=
"fileList"
:limit=
"1"
:on-error=
"handleUploadError"
:on-exceed=
"handleExceed"
:on-success=
"handleUploadSuccess"
:show-file-list=
"false"
:headers=
"headers"
class=
"upload-file-uploader"
ref=
"upload"
>
<!-- 上传按钮 -->
<el-button
size=
"mini"
type=
"primary"
>
选取文件
</el-button>
<!-- 上传提示 -->
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
请上传
<template
v-if=
"fileSize"
>
大小不超过
<b
style=
"color: #f56c6c"
>
{{
fileSize
}}
MB
</b>
</
template
>
<
template
v-if=
"fileType"
>
格式为
<b
style=
"color: #f56c6c"
>
{{
fileType
.
join
(
"/"
)
}}
</b>
</
template
>
的文件
</div>
</el-upload>
<!-- 文件列表 -->
<transition-group
class=
"upload-file-list el-upload-list el-upload-list--text"
name=
"el-fade-in-linear"
tag=
"ul"
>
<li
:key=
"file.uid"
class=
"el-upload-list__item ele-upload-list__item-content"
v-for=
"(file, index) in list"
>
<el-link
:href=
"file.url"
:underline=
"false"
target=
"_blank"
>
<!--<span class="el-icon-document"> {{ getFileName(file.name) }} </span>-->
<span
class=
"el-icon-document"
>
{{ file.fileName }}
</span>
</el-link>
<div
class=
"ele-upload-list__item-content-action"
>
<el-link
:underline=
"false"
@
click=
"handleDelete(index)"
type=
"danger"
>
删除
</el-link>
</div>
</li>
</transition-group>
</div>
</template>
<
script
>
import
{
getToken
}
from
"@/utils/auth"
;
export
default
{
props
:
{
// 值
value
:
[
String
,
Object
,
Array
],
// 大小限制(MB)
fileSize
:
{
type
:
Number
,
default
:
50
,
},
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType
:
{
type
:
Array
,
default
:
()
=>
[
"doc"
,
"xls"
,
"ppt"
,
"txt"
,
"pdf"
],
},
// 是否显示提示
isShowTip
:
{
type
:
Boolean
,
default
:
true
}
},
data
()
{
return
{
uploadFileUrl
:
process
.
env
.
VUE_APP_BASE_API
+
"/common/upload"
,
// 上传的图片服务器地址
headers
:
{
Authorization
:
"Bearer "
+
getToken
(),
},
fileList
:
[],
};
},
computed
:
{
// 是否显示提示
showTip
()
{
return
this
.
isShowTip
&&
(
this
.
fileType
||
this
.
fileSize
);
},
// 列表
list
()
{
let
temp
=
1
;
if
(
this
.
value
)
{
// 首先将值转为数组
const
list
=
Array
.
isArray
(
this
.
value
)
?
this
.
value
:
[
this
.
value
];
// 然后将数组转为对象数组
return
list
.
map
((
item
)
=>
{
if
(
typeof
item
===
"string"
)
{
//item = { name: item, url: item };
item
=
JSON
.
parse
(
item
);
}
item
.
uid
=
item
.
uid
||
new
Date
().
getTime
()
+
temp
++
;
return
item
;
});
}
else
{
this
.
fileList
=
[];
return
[];
}
},
},
methods
:
{
// 上传前校检格式和大小
handleBeforeUpload
(
file
)
{
// 校检文件类型
if
(
this
.
fileType
)
{
let
fileExtension
=
""
;
if
(
file
.
name
.
lastIndexOf
(
"."
)
>
-
1
)
{
fileExtension
=
file
.
name
.
slice
(
file
.
name
.
lastIndexOf
(
"."
)
+
1
);
}
const
isTypeOk
=
this
.
fileType
.
some
((
type
)
=>
{
if
(
file
.
type
.
indexOf
(
type
)
>
-
1
)
return
true
;
if
(
fileExtension
&&
fileExtension
.
indexOf
(
type
)
>
-
1
)
return
true
;
return
false
;
});
if
(
!
isTypeOk
)
{
this
.
$message
.
error
(
`文件格式不正确, 请上传
${
this
.
fileType
.
join
(
"/"
)}
格式文件!`
);
return
false
;
}
}
// 校检文件大小
if
(
this
.
fileSize
)
{
const
isLt
=
file
.
size
/
1024
/
1024
<
this
.
fileSize
;
if
(
!
isLt
)
{
this
.
$message
.
error
(
`上传文件大小不能超过
${
this
.
fileSize
}
MB!`
);
return
false
;
}
}
return
true
;
},
// 文件个数超出
handleExceed
()
{
this
.
$message
.
error
(
`只允许上传单个文件`
);
},
// 上传失败
handleUploadError
(
err
)
{
this
.
$message
.
error
(
"上传失败, 请重试"
);
},
// 上传成功回调
handleUploadSuccess
(
res
,
file
)
{
this
.
$message
.
success
(
"上传成功"
);
this
.
$emit
(
"input"
,
JSON
.
stringify
({
fileName
:
res
.
fileName
,
url
:
res
.
url
}));
},
// 删除文件
handleDelete
(
index
)
{
this
.
fileList
.
splice
(
index
,
1
);
this
.
$emit
(
"input"
,
''
);
},
// 获取文件名称
getFileName
(
name
)
{
if
(
name
.
lastIndexOf
(
"/"
)
>
-
1
)
{
return
name
.
slice
(
name
.
lastIndexOf
(
"/"
)
+
1
).
toLowerCase
();
}
else
{
return
""
;
}
}
},
created
()
{
this
.
fileList
=
this
.
list
;
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
.upload-file-uploader
{
margin-bottom
:
5px
;
}
.upload-file-list
.el-upload-list__item
{
border
:
1px
solid
#e4e7ed
;
line-height
:
2
;
margin-bottom
:
10px
;
position
:
relative
;
}
.upload-file-list
.ele-upload-list__item-content
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
color
:
inherit
;
}
.ele-upload-list__item-content-action
.el-link
{
margin-right
:
10px
;
}
</
style
>
digital-management-web/src/views/track/draw/components/DetailInfo.vue
0 → 100644
View file @
c0c8f760
<
template
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"800px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
label-width=
"90px"
>
<el-row
class=
"el-row-table"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸名称"
>
<span
v-if=
"detailInfo.title"
>
{{
detailInfo
.
title
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸编号"
>
<span
v-if=
"detailInfo.drawingNo"
>
{{
detailInfo
.
drawingNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸型号"
>
<span
v-if=
"detailInfo.model"
>
{{
detailInfo
.
model
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"版本号"
>
<span
v-if=
"detailInfo.version"
>
{{
detailInfo
.
version
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸分类"
>
<span
v-if=
"detailInfo.cateId"
>
{{
$parent
.
cateIdFormat
(
detailInfo
)
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸来源"
>
<span
v-if=
"detailInfo.source"
>
{{
detailInfo
.
source
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸描述"
>
<span
v-if=
"detailInfo.content"
>
{{
detailInfo
.
content
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸附件"
>
<span
v-if=
"detailInfo.fileUrl!=null && detailInfo.fileUrl != ''"
>
<a
style=
"color: #1c84c6"
:href=
"detailInfo.fileUrl"
target=
"_blank"
>
查看/下载
</a>
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-dialog>
</
template
>
<
script
>
import
{
getDrawing
}
from
"@/api/track/drawing"
;
export
default
{
name
:
"detail-info"
,
data
(){
return
{
detailOpen
:
false
,
detailInfo
:
{}
}
},
methods
:{
getDetailInfo
(
id
){
getDrawing
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
this
.
detailInfo
=
res
.
data
;
this
.
detailOpen
=
true
;
}
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
digital-management-web/src/views/track/draw/index.vue
0 → 100644
View file @
c0c8f760
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"图纸名称"
prop=
"title"
>
<el-input
v-model=
"queryParams.title"
placeholder=
"请输入图纸名称"
clearable
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"图纸编号"
prop=
"drawingNo"
>
<el-input
v-model=
"queryParams.drawingNo"
placeholder=
"请输入图纸编号"
clearable
size=
"small"
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"图纸分类"
prop=
"cateId"
>
<el-select
v-model=
"queryParams.cateId"
placeholder=
"请选择图纸分类"
clearable
size=
"small"
>
<el-option
v-for=
"dict in cateIdOptions"
:key=
"dict.dictValue"
:label=
"dict.dictLabel"
:value=
"dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
:loading=
"exportLoading"
@
click=
"handleExport"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<el-table
v-loading=
"loading"
:data=
"drawingList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"图纸名称"
align=
"center"
prop=
"title"
/>
<el-table-column
label=
"图纸编号"
align=
"center"
prop=
"drawingNo"
/>
<el-table-column
label=
"图纸型号"
align=
"center"
prop=
"model"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.source"
>
{{
scope
.
row
.
source
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"版本号"
align=
"center"
prop=
"version"
/>
<el-table-column
label=
"图纸分类"
align=
"center"
prop=
"cateId"
:formatter=
"cateIdFormat"
/>
<el-table-column
label=
"图纸来源"
align=
"center"
prop=
"source"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.source"
>
{{
scope
.
row
.
source
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"图纸附件"
align=
"center"
prop=
"fileUrl"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.fileUrl"
>
<a
style=
"color: #1c84c6"
:href=
"JSON.parse(scope.row.fileUrl).url"
target=
"_blank"
>
查看/下载
</a>
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-document"
@
click=
"handleDetail(scope.row)"
>
详情
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<!-- 添加或修改图纸对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-row
class=
"el-row-table"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸名称"
prop=
"title"
>
<el-input
v-model=
"form.title"
placeholder=
"请输入图纸名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸编号"
prop=
"drawingNo"
>
<el-input
v-model=
"form.drawingNo"
placeholder=
"请输入图纸编号"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸型号"
prop=
"model"
>
<el-input
v-model=
"form.model"
placeholder=
"请输入图纸型号"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"版本号"
prop=
"version"
>
<el-input
v-model=
"form.version"
placeholder=
"请输入版本号"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸分类"
prop=
"cateId"
>
<el-select
style=
"width: 100%"
v-model=
"form.cateId"
placeholder=
"请选择图纸分类"
>
<el-option
v-for=
"dict in cateIdOptions"
:key=
"dict.dictValue"
:label=
"dict.dictLabel"
:value=
"dict.dictValue"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"图纸来源"
prop=
"source"
>
<el-input
v-model=
"form.source"
placeholder=
"请输入图纸来源"
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"图纸描述"
prop=
"content"
>
<el-input
v-model=
"form.content"
type=
"textarea"
:autosize=
"{ minRows: 3 }"
placeholder=
"请输入内容"
/>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"图纸附件"
>
<fileUpload
v-model=
"form.fileUrl"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</el-dialog>
<!-- 详情 -->
<DetailInfo
ref=
"detail"
/>
</div>
</template>
<
script
>
import
{
listDrawing
,
getDrawing
,
delDrawing
,
addDrawing
,
updateDrawing
,
exportDrawing
}
from
"@/api/track/drawing"
;
import
FileUpload
from
'@/components/DefaultFileUpload'
;
import
DetailInfo
from
'./components/DetailInfo'
;
export
default
{
name
:
"Drawing"
,
components
:
{
FileUpload
,
DetailInfo
},
data
()
{
return
{
// 遮罩层
loading
:
true
,
// 导出遮罩层
exportLoading
:
false
,
// 选中数组
ids
:
[],
titles
:
[],
// 非单个禁用
single
:
true
,
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 图纸表格数据
drawingList
:
[],
// 弹出层标题
title
:
""
,
// 是否显示弹出层
open
:
false
,
// 图纸分类字典
cateIdOptions
:
[],
// 查询参数
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
title
:
null
,
drawingNo
:
null
,
cateId
:
null
,
},
// 表单参数
form
:
{},
// 表单校验
rules
:
{
title
:
[
{
required
:
true
,
message
:
"图纸名称不能为空"
,
trigger
:
"blur"
}
],
drawingNo
:
[
{
required
:
true
,
message
:
"图纸编号不能为空"
,
trigger
:
"blur"
}
],
version
:
[
{
required
:
true
,
message
:
"版本号不能为空"
,
trigger
:
"blur"
}
],
cateId
:
[
{
required
:
true
,
message
:
"图纸分类不能为空"
,
trigger
:
"change"
}
],
}
};
},
created
()
{
this
.
getList
();
this
.
getDicts
(
"t_draw_type"
).
then
(
response
=>
{
this
.
cateIdOptions
=
response
.
data
;
});
},
methods
:
{
/** 查询图纸列表 */
getList
()
{
this
.
loading
=
true
;
listDrawing
(
this
.
queryParams
).
then
(
response
=>
{
this
.
drawingList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
});
},
// 图纸分类字典翻译
cateIdFormat
(
row
,
column
)
{
return
this
.
selectDictLabel
(
this
.
cateIdOptions
,
row
.
cateId
);
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
reset
();
},
// 表单重置
reset
()
{
this
.
form
=
{
id
:
null
,
title
:
null
,
drawingNo
:
null
,
model
:
null
,
version
:
null
,
cateId
:
null
,
content
:
null
,
source
:
null
,
fileUrl
:
null
,
createTime
:
null
,
createId
:
null
};
this
.
resetForm
(
"form"
);
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
;
this
.
getList
();
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
resetForm
(
"queryForm"
);
this
.
handleQuery
();
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
(
item
=>
item
.
id
);
this
.
titles
=
selection
.
map
(
item
=>
item
.
title
);
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"添加图纸"
;
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
reset
();
const
id
=
row
.
id
||
this
.
ids
getDrawing
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改图纸"
;
});
},
/** 提交按钮 */
submitForm
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
updateDrawing
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
getList
();
});
}
else
{
addDrawing
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
getList
();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
id
||
this
.
ids
;
const
titles
=
row
.
title
||
this
.
titles
;
this
.
$confirm
(
'是否确认删除图纸名称为"'
+
titles
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
delDrawing
(
ids
);
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"删除成功"
);
}).
catch
(()
=>
{});
},
/** 导出按钮操作 */
handleExport
()
{
const
queryParams
=
this
.
queryParams
;
this
.
$confirm
(
'是否确认导出所有图纸数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(()
=>
{
this
.
exportLoading
=
true
;
return
exportDrawing
(
queryParams
);
}).
then
(
response
=>
{
this
.
download
(
response
.
msg
);
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{});
},
//详情
handleDetail
(
row
){
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
id
);
}
}
};
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment