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
Expand all
Hide 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;
import
com.zehong.system.domain.form.TStaffForm
;
import
com.zehong.system.domain.vo.TStaffVo
;
import
com.zehong.system.domain.vo.UserCourseVo
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysPostService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
import
com.zehong.system.service.
system.
ISysUserService
;
import
com.zehong.system.service.baseinfo.ITStaffService
;
import
com.zehong.system.service.train.ITTrainCourseService
;
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;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.service.ISysLogininforService
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
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;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.service.ISysOperLogService
;
import
com.zehong.system.domain.
system.
SysOperLog
;
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;
import
com.zehong.common.core.redis.RedisCache
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysUserOnline
;
import
com.zehong.system.service.ISysUserOnlineService
;
import
com.zehong.system.domain.
system.
SysUserOnline
;
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;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysConfig
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.domain.
system.
SysConfig
;
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;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
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;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.service.ISysDictDataService
;
import
com.zehong.system.service.ISysDictTypeService
;
import
com.zehong.system.service.
system.
ISysDictDataService
;
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;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
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;
import
com.zehong.framework.web.service.SysLoginService
;
import
com.zehong.framework.web.service.SysPermissionService
;
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;
import
com.zehong.common.utils.ServletUtils
;
import
com.zehong.common.utils.StringUtils
;
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;
import
com.zehong.common.core.page.TableDataInfo
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.system.domain.SysNotice
;
import
com.zehong.system.service.ISysNoticeService
;
import
com.zehong.system.domain.
system.
SysNotice
;
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;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.domain.
system.
SysPost
;
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;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.file.FileUploadUtils
;
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;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.framework.web.service.SysPermissionService
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
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;
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.SysSetting
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.domain.
system.
SysSetting
;
import
com.zehong.system.service.
system.
ISysSettingService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
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;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.framework.web.service.TokenService
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.service.
system.
ISysPostService
;
import
com.zehong.system.service.
system.
ISysRoleService
;
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;
import
com.zehong.framework.manager.AsyncManager
;
import
com.zehong.framework.manager.factory.AsyncFactory
;
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;
import
com.zehong.common.utils.ip.AddressUtils
;
import
com.zehong.common.utils.ip.IpUtils
;
import
com.zehong.common.utils.spring.SpringUtils
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.service.ISysLogininforService
;
import
com.zehong.system.service.ISysOperLogService
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
import
com.zehong.system.domain.
system.
SysOperLog
;
import
com.zehong.system.service.
system.
ISysLogininforService
;
import
com.zehong.system.service.
system.
ISysOperLogService
;
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
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.domain.
system.
SysSetting
;
import
com.zehong.system.service.
system.
ISysSettingService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
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;
import
com.zehong.common.utils.ip.IpUtils
;
import
com.zehong.framework.manager.AsyncManager
;
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;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
import
com.zehong.common.core.domain.entity.SysUser
;
import
com.zehong.system.service.ISysMenuService
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.service.
system.
ISysMenuService
;
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;
import
com.zehong.common.enums.UserStatus
;
import
com.zehong.common.exception.BaseException
;
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
/**
*
查询
${
functionName
}
列表
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:list')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:list')"
)
@
GetMapping
(
"/list"
)
#
if
($
table
.
crud
||
$
table
.
sub
)
public
TableDataInfo
list
(${
ClassName
}
${
className
})
...
...
@@ -59,7 +59,7 @@ public class ${ClassName}Controller extends BaseController
/**
*
导出
${
functionName
}
列表
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:export')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:export')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
EXPORT
)
@
GetMapping
(
"/export"
)
public
AjaxResult
export
(${
ClassName
}
${
className
})
...
...
@@ -72,7 +72,7 @@ public class ${ClassName}Controller extends BaseController
/**
*
获取
${
functionName
}
详细信息
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:query')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:query')"
)
@
GetMapping
(
value
=
"/{${pkColumn.javaField}}"
)
public
AjaxResult
getInfo
(@
PathVariable
(
"${pkColumn.javaField}"
)
${
pkColumn
.
javaType
}
${
pkColumn
.
javaField
})
{
...
...
@@ -82,7 +82,7 @@ public class ${ClassName}Controller extends BaseController
/**
*
新增
${
functionName
}
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:add')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:add')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
INSERT
)
@
PostMapping
public
AjaxResult
add
(@
RequestBody
${
ClassName
}
${
className
})
...
...
@@ -93,7 +93,7 @@ public class ${ClassName}Controller extends BaseController
/**
*
修改
${
functionName
}
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:edit')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:edit')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
UPDATE
)
@
PutMapping
public
AjaxResult
edit
(@
RequestBody
${
ClassName
}
${
className
})
...
...
@@ -104,7 +104,7 @@ public class ${ClassName}Controller extends BaseController
/**
*
删除
${
functionName
}
*/
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:remove')"
)
//
@
PreAuthorize
(
"@ss.hasPermi('${permissionPrefix}:remove')"
)
@
Log
(
title
=
"${functionName}"
,
businessType
=
BusinessType
.
DELETE
)
@
DeleteMapping
(
"/{${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
#
if
($
column
.
javaField
==
'createTime'
)
${
className
}.
setCreateTime
(
DateUtils
.
getNowDate
());
#
end
#
if
($
column
.
javaField
==
'createId'
)
${
className
}.
setCreateId
(
SecurityUtils
.
getLoginUser
().
getUser
().
getUserId
());
#
end
#
end
#
if
($
table
.
sub
)
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 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['${moduleName}:${businessName}:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
...
...
@@ -88,7 +87,6 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['${moduleName}:${businessName}:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
...
...
@@ -99,7 +97,6 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['${moduleName}:${businessName}:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
...
...
@@ -110,7 +107,6 @@
size="mini"
:loading="exportLoading"
@click="handleExport"
v-hasPermi="['${moduleName}:${businessName}:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
...
...
@@ -147,14 +143,12 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['${moduleName}:${businessName}:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['${moduleName}:${businessName}:remove']"
>删除</el-button>
</template>
</el-table-column>
...
...
@@ -169,7 +163,7 @@
/>
<!-- 添加或修改${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">
#foreach($column in $columns)
#set($field=$column.javaField)
...
...
@@ -200,7 +194,7 @@
</el-form-item>
#elseif($column.htmlType == "select" && "" != $dictType)
<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
v-for="dict in ${field}Options"
:key="dict.dictValue"
...
...
@@ -212,7 +206,7 @@
</el-form-item>
#elseif($column.htmlType == "select" && $dictType)
<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-select>
</el-form-item>
...
...
@@ -252,7 +246,7 @@
</el-form-item>
#elseif($column.htmlType == "datetime")
<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}"
type="date"
value-format="yyyy-MM-dd"
...
...
@@ -261,7 +255,7 @@
</el-form-item>
#elseif($column.htmlType == "textarea")
<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>
#end
#end
...
...
@@ -318,7 +312,7 @@ import ImageUpload from '@/components/ImageUpload';
#end
#foreach($column in $columns)
#if($column.insert && !$column.superColumn && !$column.pk && $column.htmlType == "fileUpload")
import FileUpload from '@/components/FileUpload';
import FileUpload from '@/components/
Default
FileUpload';
#break
#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.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
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.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
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.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.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.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.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.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.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
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
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
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
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
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
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
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
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
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
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
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
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
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
/**
* 系统参数配置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
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
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
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;
import
com.zehong.common.utils.DateUtils
;
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.form.TStaffForm
;
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.service.baseinfo.ITStaffService
;
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.List
;
...
...
@@ -13,9 +13,9 @@ import com.zehong.common.core.text.Convert;
import
com.zehong.common.enums.DataSourceType
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysConfig
;
import
com.zehong.system.mapper.SysConfigMapper
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.domain.
system.
SysConfig
;
import
com.zehong.system.mapper.
system.
SysConfigMapper
;
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.Iterator
;
...
...
@@ -13,9 +13,9 @@ import com.zehong.common.core.domain.entity.SysDept;
import
com.zehong.common.core.domain.entity.SysRole
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.mapper.SysDeptMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.service.ISysDeptService
;
import
com.zehong.system.mapper.
system.
SysDeptMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
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
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.common.core.domain.entity.SysDictData
;
import
com.zehong.common.utils.DictUtils
;
import
com.zehong.system.mapper.SysDictDataMapper
;
import
com.zehong.system.service.ISysDictDataService
;
import
com.zehong.system.mapper.
system.
SysDictDataMapper
;
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
javax.annotation.PostConstruct
;
...
...
@@ -11,9 +11,9 @@ import com.zehong.common.core.domain.entity.SysDictType;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.DictUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.mapper.SysDictDataMapper
;
import
com.zehong.system.mapper.SysDictTypeMapper
;
import
com.zehong.system.service.ISysDictTypeService
;
import
com.zehong.system.mapper.
system.
SysDictDataMapper
;
import
com.zehong.system.mapper.
system.
SysDictTypeMapper
;
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
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.domain.SysLogininfor
;
import
com.zehong.system.mapper.SysLogininforMapper
;
import
com.zehong.system.service.ISysLogininforService
;
import
com.zehong.system.domain.
system.
SysLogininfor
;
import
com.zehong.system.mapper.
system.
SysLogininforMapper
;
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.Arrays
;
...
...
@@ -19,10 +19,10 @@ import com.zehong.common.utils.SecurityUtils;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.vo.MetaVo
;
import
com.zehong.system.domain.vo.RouterVo
;
import
com.zehong.system.mapper.SysMenuMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.SysRoleMenuMapper
;
import
com.zehong.system.service.ISysMenuService
;
import
com.zehong.system.mapper.
system.
SysMenuMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMenuMapper
;
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
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.domain.SysNotice
;
import
com.zehong.system.mapper.SysNoticeMapper
;
import
com.zehong.system.service.ISysNoticeService
;
import
com.zehong.system.domain.
system.
SysNotice
;
import
com.zehong.system.mapper.
system.
SysNoticeMapper
;
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
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.domain.SysOperLog
;
import
com.zehong.system.mapper.SysOperLogMapper
;
import
com.zehong.system.service.ISysOperLogService
;
import
com.zehong.system.domain.
system.
SysOperLog
;
import
com.zehong.system.mapper.
system.
SysOperLogMapper
;
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
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -6,10 +6,10 @@ import org.springframework.stereotype.Service;
import
com.zehong.common.constant.UserConstants
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.mapper.SysPostMapper
;
import
com.zehong.system.mapper.SysUserPostMapper
;
import
com.zehong.system.service.ISysPostService
;
import
com.zehong.system.domain.
system.
SysPost
;
import
com.zehong.system.mapper.
system.
SysPostMapper
;
import
com.zehong.system.mapper.
system.
SysUserPostMapper
;
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.Arrays
;
...
...
@@ -14,13 +14,13 @@ import com.zehong.common.core.domain.entity.SysRole;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.common.utils.spring.SpringUtils
;
import
com.zehong.system.domain.SysRoleDept
;
import
com.zehong.system.domain.SysRoleMenu
;
import
com.zehong.system.mapper.SysRoleDeptMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.SysRoleMenuMapper
;
import
com.zehong.system.mapper.SysUserRoleMapper
;
import
com.zehong.system.service.ISysRoleService
;
import
com.zehong.system.domain.
system.
SysRoleDept
;
import
com.zehong.system.domain.
system.
SysRoleMenu
;
import
com.zehong.system.mapper.
system.
SysRoleDeptMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMenuMapper
;
import
com.zehong.system.mapper.
system.
SysUserRoleMapper
;
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
com.zehong.common.utils.DateUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.SysSettingMapper
;
import
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.service.ISysSettingService
;
import
com.zehong.system.mapper.
system.
SysSettingMapper
;
import
com.zehong.system.domain.
system.
SysSetting
;
import
com.zehong.system.service.
system.
ISysSettingService
;
/**
* 系统参数配置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
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysUserOnline
;
import
com.zehong.system.service.ISysUserOnlineService
;
import
com.zehong.system.domain.
system.
SysUserOnline
;
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.List
;
...
...
@@ -14,16 +14,16 @@ import com.zehong.common.core.domain.entity.SysUser;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.system.domain.SysPost
;
import
com.zehong.system.domain.SysUserPost
;
import
com.zehong.system.domain.SysUserRole
;
import
com.zehong.system.mapper.SysPostMapper
;
import
com.zehong.system.mapper.SysRoleMapper
;
import
com.zehong.system.mapper.SysUserMapper
;
import
com.zehong.system.mapper.SysUserPostMapper
;
import
com.zehong.system.mapper.SysUserRoleMapper
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.service.ISysUserService
;
import
com.zehong.system.domain.
system.
SysPost
;
import
com.zehong.system.domain.
system.
SysUserPost
;
import
com.zehong.system.domain.
system.
SysUserRole
;
import
com.zehong.system.mapper.
system.
SysPostMapper
;
import
com.zehong.system.mapper.
system.
SysRoleMapper
;
import
com.zehong.system.mapper.
system.
SysUserMapper
;
import
com.zehong.system.mapper.
system.
SysUserPostMapper
;
import
com.zehong.system.mapper.
system.
SysUserRoleMapper
;
import
com.zehong.system.service.
system.
ISysConfigService
;
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
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
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
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
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
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.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
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
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
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.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
com.zehong.system.domain.SysSetting
;
import
com.zehong.system.domain.
system.
SysSetting
;
/**
* 系统参数配置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.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
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 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"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"
>
<id
property=
"configId"
column=
"config_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysDeptMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysDeptMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysDeptMapper"
>
<resultMap
type=
"SysDept"
id=
"SysDeptResult"
>
<id
property=
"deptId"
column=
"dept_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysDictDataMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysDictDataMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysDictDataMapper"
>
<resultMap
type=
"SysDictData"
id=
"SysDictDataResult"
>
<id
property=
"dictCode"
column=
"dict_code"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysDictTypeMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysDictTypeMapper"
>
<resultMap
type=
"SysDictType"
id=
"SysDictTypeResult"
>
<id
property=
"dictId"
column=
"dict_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysLogininforMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysLogininforMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysLogininforMapper"
>
<resultMap
type=
"SysLogininfor"
id=
"SysLogininforResult"
>
<id
property=
"infoId"
column=
"info_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysMenuMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysMenuMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysMenuMapper"
>
<resultMap
type=
"SysMenu"
id=
"SysMenuResult"
>
<id
property=
"menuId"
column=
"menu_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysNoticeMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysNoticeMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysNoticeMapper"
>
<resultMap
type=
"SysNotice"
id=
"SysNoticeResult"
>
<result
property=
"noticeId"
column=
"notice_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysOperLogMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysOperLogMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysOperLogMapper"
>
<resultMap
type=
"SysOperLog"
id=
"SysOperLogResult"
>
<id
property=
"operId"
column=
"oper_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysPostMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysPostMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysPostMapper"
>
<resultMap
type=
"SysPost"
id=
"SysPostResult"
>
<id
property=
"postId"
column=
"post_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysRoleDeptMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysRoleDeptMapper"
>
<resultMap
type=
"SysRoleDept"
id=
"SysRoleDeptResult"
>
<result
property=
"roleId"
column=
"role_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysRoleMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysRoleMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysRoleMapper"
>
<resultMap
type=
"SysRole"
id=
"SysRoleResult"
>
<id
property=
"roleId"
column=
"role_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysRoleMenuMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysRoleMenuMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysRoleMenuMapper"
>
<resultMap
type=
"SysRoleMenu"
id=
"SysRoleMenuResult"
>
<result
property=
"roleId"
column=
"role_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysSettingMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysSettingMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysSettingMapper"
>
<resultMap
type=
"SysSetting"
id=
"SysSettingResult"
>
<result
property=
"systemId"
column=
"system_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysUserMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysUserMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysUserMapper"
>
<resultMap
type=
"SysUser"
id=
"SysUserResult"
>
<id
property=
"userId"
column=
"user_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysUserPostMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysUserPostMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysUserPostMapper"
>
<resultMap
type=
"SysUserPost"
id=
"SysUserPostResult"
>
<result
property=
"userId"
column=
"user_id"
/>
...
...
digital-management-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
View file @
c0c8f760
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.SysUserRoleMapper"
>
<mapper
namespace=
"com.zehong.system.mapper.
system.
SysUserRoleMapper"
>
<resultMap
type=
"SysUserRole"
id=
"SysUserRoleResult"
>
<result
property=
"userId"
column=
"user_id"
/>
...
...
digital-management-system/src/main/resources/mapper/track/TProductDrawingMapper.xml
0 → 100644
View file @
c0c8f760
This diff is collapsed.
Click to expand it.
digital-management-web/src/api/track/drawing.js
0 → 100644
View file @
c0c8f760
This diff is collapsed.
Click to expand it.
digital-management-web/src/components/DefaultFileUpload/index.vue
0 → 100644
View file @
c0c8f760
This diff is collapsed.
Click to expand it.
digital-management-web/src/views/track/draw/components/DetailInfo.vue
0 → 100644
View file @
c0c8f760
This diff is collapsed.
Click to expand it.
digital-management-web/src/views/track/draw/index.vue
0 → 100644
View file @
c0c8f760
This diff is collapsed.
Click to expand it.
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