Commit c0c8f760 authored by 耿迪迪's avatar 耿迪迪

图纸库

parent a50e99d1
...@@ -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;
......
...@@ -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;
/** /**
* 系统访问记录 * 系统访问记录
......
...@@ -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;
/** /**
* 操作日志记录 * 操作日志记录
......
...@@ -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;
/** /**
* 在线用户监控 * 在线用户监控
......
...@@ -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;
/** /**
* 参数配置 信息操作处理 * 参数配置 信息操作处理
......
...@@ -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;
/** /**
* 部门信息 * 部门信息
......
...@@ -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;
/** /**
* 数据字典信息 * 数据字典信息
......
...@@ -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;
/** /**
* 数据字典信息 * 数据字典信息
......
...@@ -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;
/** /**
* 登录验证 * 登录验证
......
...@@ -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;
/** /**
* 菜单信息 * 菜单信息
......
...@@ -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;
/** /**
* 公告 信息操作处理 * 公告 信息操作处理
......
...@@ -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;
/** /**
* 岗位信息操作处理 * 岗位信息操作处理
......
...@@ -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;
/** /**
* 个人信息 业务处理 * 个人信息 业务处理
......
...@@ -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;
/** /**
* 角色信息 * 角色信息
......
...@@ -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;
......
...@@ -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;
/** /**
* 用户信息 * 用户信息
......
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));
}
}
...@@ -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;
/** /**
* 操作日志记录处理 * 操作日志记录处理
......
...@@ -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;
/** /**
......
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;
......
...@@ -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;
/** /**
* 登录校验方法 * 登录校验方法
......
...@@ -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;
/** /**
* 用户权限处理 * 用户权限处理
......
...@@ -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;
/** /**
* 用户验证处理 * 用户验证处理
......
...@@ -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)
......
...@@ -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});
......
...@@ -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/DefaultFileUpload';
#break #break
#end #end
#end #end
......
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;
......
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;
......
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;
......
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;
......
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;
......
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;
......
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;
......
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;
......
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;
......
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;
......
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();
}
}
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;
/** /**
* 参数配置 数据层 * 参数配置 数据层
......
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;
......
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;
......
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;
......
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;
/** /**
* 系统访问日志情况信息 数据层 * 系统访问日志情况信息 数据层
......
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;
......
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;
/** /**
* 通知公告表 数据层 * 通知公告表 数据层
......
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;
/** /**
* 操作日志 数据层 * 操作日志 数据层
......
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;
/** /**
* 岗位信息 数据层 * 岗位信息 数据层
......
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;
/** /**
* 角色与部门关联表 数据层 * 角色与部门关联表 数据层
......
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;
......
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;
/** /**
* 角色与菜单关联表 数据层 * 角色与菜单关联表 数据层
......
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接口
......
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;
......
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;
/** /**
* 用户与岗位关联表 数据层 * 用户与岗位关联表 数据层
......
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;
/** /**
* 用户与角色关联表 数据层 * 用户与角色关联表 数据层
......
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);
}
...@@ -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;
......
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;
/** /**
* 参数配置 服务层实现 * 参数配置 服务层实现
......
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;
/** /**
* 部门管理 服务实现 * 部门管理 服务实现
......
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;
/** /**
* 字典 业务层处理 * 字典 业务层处理
......
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;
/** /**
* 字典 业务层处理 * 字典 业务层处理
......
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;
/** /**
* 系统访问日志情况信息 服务层处理 * 系统访问日志情况信息 服务层处理
......
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;
/** /**
* 菜单 业务层处理 * 菜单 业务层处理
......
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;
/** /**
* 公告 服务层实现 * 公告 服务层实现
......
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;
/** /**
* 操作日志 服务层处理 * 操作日志 服务层处理
......
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;
/** /**
* 岗位信息 服务层处理 * 岗位信息 服务层处理
......
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;
/** /**
* 角色 业务层处理 * 角色 业务层处理
......
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业务层处理
......
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;
/** /**
* 在线用户 服务层处理 * 在线用户 服务层处理
......
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;
/** /**
* 用户 业务层处理 * 用户 业务层处理
......
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);
}
}
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;
/** /**
* 参数配置 服务层 * 参数配置 服务层
......
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;
......
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;
......
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;
......
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;
/** /**
* 系统访问日志情况信息 服务层 * 系统访问日志情况信息 服务层
......
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;
......
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;
/** /**
* 公告 服务层 * 公告 服务层
......
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;
/** /**
* 操作日志 服务层 * 操作日志 服务层
......
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;
/** /**
* 岗位信息 服务层 * 岗位信息 服务层
......
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;
......
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接口
......
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;
/** /**
* 在线用户 服务层 * 在线用户 服务层
......
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;
......
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);
}
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
...@@ -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" />
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment