包名修改,前段部分内容修改,重点修改,etm设备知识管理模块下-通用零部件展示,知识内容管理

This commit is contained in:
LiWeiJie 2023-12-15 11:22:13 +08:00
parent 3d9875abe8
commit 6a09aadf93
65 changed files with 351 additions and 390 deletions

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentKnowledgeManageModule;
package com.god.web.controller.etmEquipmentKnowledge;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyDeviceInformationDisplay;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyDeviceInformationDisplayService;
import com.god.etmEquipmentKnowledge.domain.PzhmyDeviceInformationDisplay;
import com.god.etmEquipmentKnowledge.service.IPzhmyDeviceInformationDisplayService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentKnowledgeManageModule;
package com.god.web.controller.etmEquipmentKnowledge;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentDrawingManagement;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyEquipmentDrawingManagementService;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentDrawingManagement;
import com.god.etmEquipmentKnowledge.service.IPzhmyEquipmentDrawingManagementService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentKnowledgeManageModule;
package com.god.web.controller.etmEquipmentKnowledge;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentPrincipleShow;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyEquipmentPrincipleShowService;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentPrincipleShow;
import com.god.etmEquipmentKnowledge.service.IPzhmyEquipmentPrincipleShowService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentKnowledgeManageModule;
package com.god.web.controller.etmEquipmentKnowledge;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyGeneralPartsDisplay;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyGeneralPartsDisplayService;
import com.god.etmEquipmentKnowledge.domain.PzhmyGeneralPartsDisplay;
import com.god.etmEquipmentKnowledge.service.IPzhmyGeneralPartsDisplayService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
* 通用零部件展示Controller
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
@RestController
@RequestMapping("/pzhmyGeneralPartsDisplay/generalPartsDisplay")

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentKnowledgeManageModule;
package com.god.web.controller.etmEquipmentKnowledge;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyKnowledgeContentManagement;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyKnowledgeContentManagementService;
import com.god.etmEquipmentKnowledge.domain.PzhmyKnowledgeContentManagement;
import com.god.etmEquipmentKnowledge.service.IPzhmyKnowledgeContentManagementService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
* 知识内容管理Controller
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
@RestController
@RequestMapping("/pzhmyKnowledgeContent/knowledgeContentManagement")

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentMaintenancePersonnelTrainingManagement;
package com.god.web.controller.etmEquipmentMaintenance;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyAuthorityManagement;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.IPzhmyAuthorityManagementService;
import com.god.etmEquipmentMaintenance.domain.PzhmyAuthorityManagement;
import com.god.etmEquipmentMaintenance.service.IPzhmyAuthorityManagementService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentMaintenancePersonnelTrainingManagement;
package com.god.web.controller.etmEquipmentMaintenance;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingManagement;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.IPzhmyTrainingManagementService;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingManagement;
import com.god.etmEquipmentMaintenance.service.IPzhmyTrainingManagementService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package com.god.web.controller.etmEquipmentMaintenancePersonnelTrainingManagement;
package com.god.web.controller.etmEquipmentMaintenance;
import com.god.common.annotation.Log;
import com.god.common.core.controller.BaseController;
@ -6,8 +6,8 @@ import com.god.common.core.domain.AjaxResult;
import com.god.common.core.page.TableDataInfo;
import com.god.common.enums.BusinessType;
import com.god.common.utils.poi.ExcelUtil;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingTaskManagement;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.IPzhmyTrainingTaskManagementService;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingTaskManagement;
import com.god.etmEquipmentMaintenance.service.IPzhmyTrainingTaskManagementService;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentKnowledgeManageModule.domain;
package com.god.etmEquipmentKnowledge.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentKnowledgeManageModule.domain;
package com.god.etmEquipmentKnowledge.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentKnowledgeManageModule.domain;
package com.god.etmEquipmentKnowledge.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentKnowledgeManageModule.domain;
package com.god.etmEquipmentKnowledge.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@ -9,7 +9,7 @@ import com.god.common.core.domain.BaseEntity;
* 通用零部件展示对象 pzhmy_general_parts_display
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
public class PzhmyGeneralPartsDisplay extends BaseEntity
{
@ -34,6 +34,10 @@ public class PzhmyGeneralPartsDisplay extends BaseEntity
@Excel(name = "设备类型")
private String unitType;
/** 零件名称 */
@Excel(name = "零件名称")
private String partName;
/** 零部件展示 */
@Excel(name = "零部件展示")
private String partsComponentsShow;
@ -91,6 +95,15 @@ public class PzhmyGeneralPartsDisplay extends BaseEntity
{
return unitType;
}
public void setPartName(String partName)
{
this.partName = partName;
}
public String getPartName()
{
return partName;
}
public void setPartsComponentsShow(String partsComponentsShow)
{
this.partsComponentsShow = partsComponentsShow;
@ -127,6 +140,7 @@ public class PzhmyGeneralPartsDisplay extends BaseEntity
.append("deviceName", getDeviceName())
.append("modelNumber", getModelNumber())
.append("unitType", getUnitType())
.append("partName", getPartName())
.append("partsComponentsShow", getPartsComponentsShow())
.append("partFunctionDescription", getPartFunctionDescription())
.append("maintenanceGuide", getMaintenanceGuide())

View File

@ -0,0 +1,122 @@
package com.god.etmEquipmentKnowledge.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.god.common.annotation.Excel;
import com.god.common.core.domain.BaseEntity;
/**
* 知识内容管理对象 pzhmy_knowledge_content_management
*
* @author liweijie
* @date 2023-12-15
*/
public class PzhmyKnowledgeContentManagement extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private String id;
/** 设备唯一编号 */
@Excel(name = "设备唯一编号")
private String equipmentSoleNumber;
/** 设备名称 */
@Excel(name = "设备名称")
private String deviceName;
/** 设备型号 */
@Excel(name = "设备型号")
private String modelNumber;
/** 设备类型 */
@Excel(name = "设备类型")
private String unitType;
/** 知识库类型 */
@Excel(name = "知识库类型")
private String knowledgeBaseType;
/** 知识库文件 */
@Excel(name = "知识库文件")
private String knowledgeBaseFile;
public void setId(String id)
{
this.id = id;
}
public String getId()
{
return id;
}
public void setEquipmentSoleNumber(String equipmentSoleNumber)
{
this.equipmentSoleNumber = equipmentSoleNumber;
}
public String getEquipmentSoleNumber()
{
return equipmentSoleNumber;
}
public void setDeviceName(String deviceName)
{
this.deviceName = deviceName;
}
public String getDeviceName()
{
return deviceName;
}
public void setModelNumber(String modelNumber)
{
this.modelNumber = modelNumber;
}
public String getModelNumber()
{
return modelNumber;
}
public void setUnitType(String unitType)
{
this.unitType = unitType;
}
public String getUnitType()
{
return unitType;
}
public void setKnowledgeBaseType(String knowledgeBaseType)
{
this.knowledgeBaseType = knowledgeBaseType;
}
public String getKnowledgeBaseType()
{
return knowledgeBaseType;
}
public void setKnowledgeBaseFile(String knowledgeBaseFile)
{
this.knowledgeBaseFile = knowledgeBaseFile;
}
public String getKnowledgeBaseFile()
{
return knowledgeBaseFile;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("equipmentSoleNumber", getEquipmentSoleNumber())
.append("deviceName", getDeviceName())
.append("modelNumber", getModelNumber())
.append("unitType", getUnitType())
.append("knowledgeBaseType", getKnowledgeBaseType())
.append("knowledgeBaseFile", getKnowledgeBaseFile())
.append("remark", getRemark())
.toString();
}
}

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentKnowledgeManageModule.mapper;
package com.god.etmEquipmentKnowledge.mapper;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyDeviceInformationDisplay;
import com.god.etmEquipmentKnowledge.domain.PzhmyDeviceInformationDisplay;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentKnowledgeManageModule.mapper;
package com.god.etmEquipmentKnowledge.mapper;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentDrawingManagement;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentDrawingManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentKnowledgeManageModule.mapper;
package com.god.etmEquipmentKnowledge.mapper;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentPrincipleShow;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentPrincipleShow;
import java.util.List;
/**

View File

@ -1,13 +1,13 @@
package com.god.etmEquipmentKnowledgeManageModule.mapper;
package com.god.etmEquipmentKnowledge.mapper;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyGeneralPartsDisplay;
import com.god.etmEquipmentKnowledge.domain.PzhmyGeneralPartsDisplay;
import java.util.List;
/**
* 通用零部件展示Mapper接口
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
public interface PzhmyGeneralPartsDisplayMapper
{

View File

@ -1,13 +1,13 @@
package com.god.etmEquipmentKnowledgeManageModule.mapper;
package com.god.etmEquipmentKnowledge.mapper;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyKnowledgeContentManagement;
import com.god.etmEquipmentKnowledge.domain.PzhmyKnowledgeContentManagement;
import java.util.List;
/**
* 知识内容管理Mapper接口
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
public interface PzhmyKnowledgeContentManagementMapper
{

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentKnowledgeManageModule.service;
package com.god.etmEquipmentKnowledge.service;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyDeviceInformationDisplay;
import com.god.etmEquipmentKnowledge.domain.PzhmyDeviceInformationDisplay;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentKnowledgeManageModule.service;
package com.god.etmEquipmentKnowledge.service;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentDrawingManagement;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentDrawingManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentKnowledgeManageModule.service;
package com.god.etmEquipmentKnowledge.service;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentPrincipleShow;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentPrincipleShow;
import java.util.List;
/**

View File

@ -1,13 +1,13 @@
package com.god.etmEquipmentKnowledgeManageModule.service;
package com.god.etmEquipmentKnowledge.service;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyGeneralPartsDisplay;
import com.god.etmEquipmentKnowledge.domain.PzhmyGeneralPartsDisplay;
import java.util.List;
/**
* 通用零部件展示Service接口
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
public interface IPzhmyGeneralPartsDisplayService
{

View File

@ -1,13 +1,13 @@
package com.god.etmEquipmentKnowledgeManageModule.service;
package com.god.etmEquipmentKnowledge.service;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyKnowledgeContentManagement;
import com.god.etmEquipmentKnowledge.domain.PzhmyKnowledgeContentManagement;
import java.util.List;
/**
* 知识内容管理Service接口
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
public interface IPzhmyKnowledgeContentManagementService
{

View File

@ -1,9 +1,9 @@
package com.god.etmEquipmentKnowledgeManageModule.service.impl;
package com.god.etmEquipmentKnowledge.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyDeviceInformationDisplay;
import com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyDeviceInformationDisplayMapper;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyDeviceInformationDisplayService;
import com.god.etmEquipmentKnowledge.domain.PzhmyDeviceInformationDisplay;
import com.god.etmEquipmentKnowledge.mapper.PzhmyDeviceInformationDisplayMapper;
import com.god.etmEquipmentKnowledge.service.IPzhmyDeviceInformationDisplayService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,9 +1,9 @@
package com.god.etmEquipmentKnowledgeManageModule.service.impl;
package com.god.etmEquipmentKnowledge.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentDrawingManagement;
import com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyEquipmentDrawingManagementMapper;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyEquipmentDrawingManagementService;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentDrawingManagement;
import com.god.etmEquipmentKnowledge.mapper.PzhmyEquipmentDrawingManagementMapper;
import com.god.etmEquipmentKnowledge.service.IPzhmyEquipmentDrawingManagementService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,9 +1,9 @@
package com.god.etmEquipmentKnowledgeManageModule.service.impl;
package com.god.etmEquipmentKnowledge.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyEquipmentPrincipleShow;
import com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyEquipmentPrincipleShowMapper;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyEquipmentPrincipleShowService;
import com.god.etmEquipmentKnowledge.domain.PzhmyEquipmentPrincipleShow;
import com.god.etmEquipmentKnowledge.mapper.PzhmyEquipmentPrincipleShowMapper;
import com.god.etmEquipmentKnowledge.service.IPzhmyEquipmentPrincipleShowService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,9 +1,9 @@
package com.god.etmEquipmentKnowledgeManageModule.service.impl;
package com.god.etmEquipmentKnowledge.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyGeneralPartsDisplay;
import com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyGeneralPartsDisplayMapper;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyGeneralPartsDisplayService;
import com.god.etmEquipmentKnowledge.domain.PzhmyGeneralPartsDisplay;
import com.god.etmEquipmentKnowledge.mapper.PzhmyGeneralPartsDisplayMapper;
import com.god.etmEquipmentKnowledge.service.IPzhmyGeneralPartsDisplayService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
* 通用零部件展示Service业务层处理
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
@Service
public class PzhmyGeneralPartsDisplayServiceImpl implements IPzhmyGeneralPartsDisplayService

View File

@ -1,9 +1,8 @@
package com.god.etmEquipmentKnowledgeManageModule.service.impl;
package com.god.etmEquipmentKnowledge.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentKnowledgeManageModule.domain.PzhmyKnowledgeContentManagement;
import com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyKnowledgeContentManagementMapper;
import com.god.etmEquipmentKnowledgeManageModule.service.IPzhmyKnowledgeContentManagementService;
import com.god.etmEquipmentKnowledge.domain.PzhmyKnowledgeContentManagement;
import com.god.etmEquipmentKnowledge.mapper.PzhmyKnowledgeContentManagementMapper;
import com.god.etmEquipmentKnowledge.service.IPzhmyKnowledgeContentManagementService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -12,7 +11,7 @@ import org.springframework.stereotype.Service;
* 知识内容管理Service业务层处理
*
* @author liweijie
* @date 2023-12-12
* @date 2023-12-15
*/
@Service
public class PzhmyKnowledgeContentManagementServiceImpl implements IPzhmyKnowledgeContentManagementService
@ -53,7 +52,6 @@ public class PzhmyKnowledgeContentManagementServiceImpl implements IPzhmyKnowled
@Override
public int insertPzhmyKnowledgeContentManagement(PzhmyKnowledgeContentManagement pzhmyKnowledgeContentManagement)
{
pzhmyKnowledgeContentManagement.setId(IdUtils.fastSimpleUUID());
return pzhmyKnowledgeContentManagementMapper.insertPzhmyKnowledgeContentManagement(pzhmyKnowledgeContentManagement);
}

View File

@ -1,164 +0,0 @@
package com.god.etmEquipmentKnowledgeManageModule.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.god.common.annotation.Excel;
import com.god.common.core.domain.BaseEntity;
/**
* 知识内容管理对象 pzhmy_knowledge_content_management
*
* @author liweijie
* @date 2023-12-12
*/
public class PzhmyKnowledgeContentManagement extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private String id;
/** 设备唯一编号 */
@Excel(name = "设备唯一编号")
private String equipmentSoleNumber;
/** 设备名称 */
@Excel(name = "设备名称")
private String deviceName;
/** 设备型号 */
@Excel(name = "设备型号")
private String modelNumber;
/** 设备类型 */
@Excel(name = "设备类型")
private String unitType;
/** 设备润滑知识库 */
@Excel(name = "设备润滑知识库")
private String equipmentLubricationKnowledgeBase;
/** 设备点检知识库 */
@Excel(name = "设备点检知识库")
private String deviceSpotCheckKnowledgeBase;
/** 设备保养知识库 */
@Excel(name = "设备保养知识库")
private String equipmentUpkeepKnowledgeBase;
/** 备品备件采购知识库 */
@Excel(name = "备品备件采购知识库")
private String sparePartsProcurementKnowledgeBase;
/** 设备维修知识库 */
@Excel(name = "设备维修知识库")
private String equipmentMaintenanceKnowledgeBase;
public void setId(String id)
{
this.id = id;
}
public String getId()
{
return id;
}
public void setEquipmentSoleNumber(String equipmentSoleNumber)
{
this.equipmentSoleNumber = equipmentSoleNumber;
}
public String getEquipmentSoleNumber()
{
return equipmentSoleNumber;
}
public void setDeviceName(String deviceName)
{
this.deviceName = deviceName;
}
public String getDeviceName()
{
return deviceName;
}
public void setModelNumber(String modelNumber)
{
this.modelNumber = modelNumber;
}
public String getModelNumber()
{
return modelNumber;
}
public void setUnitType(String unitType)
{
this.unitType = unitType;
}
public String getUnitType()
{
return unitType;
}
public void setEquipmentLubricationKnowledgeBase(String equipmentLubricationKnowledgeBase)
{
this.equipmentLubricationKnowledgeBase = equipmentLubricationKnowledgeBase;
}
public String getEquipmentLubricationKnowledgeBase()
{
return equipmentLubricationKnowledgeBase;
}
public void setDeviceSpotCheckKnowledgeBase(String deviceSpotCheckKnowledgeBase)
{
this.deviceSpotCheckKnowledgeBase = deviceSpotCheckKnowledgeBase;
}
public String getDeviceSpotCheckKnowledgeBase()
{
return deviceSpotCheckKnowledgeBase;
}
public void setEquipmentUpkeepKnowledgeBase(String equipmentUpkeepKnowledgeBase)
{
this.equipmentUpkeepKnowledgeBase = equipmentUpkeepKnowledgeBase;
}
public String getEquipmentUpkeepKnowledgeBase()
{
return equipmentUpkeepKnowledgeBase;
}
public void setSparePartsProcurementKnowledgeBase(String sparePartsProcurementKnowledgeBase)
{
this.sparePartsProcurementKnowledgeBase = sparePartsProcurementKnowledgeBase;
}
public String getSparePartsProcurementKnowledgeBase()
{
return sparePartsProcurementKnowledgeBase;
}
public void setEquipmentMaintenanceKnowledgeBase(String equipmentMaintenanceKnowledgeBase)
{
this.equipmentMaintenanceKnowledgeBase = equipmentMaintenanceKnowledgeBase;
}
public String getEquipmentMaintenanceKnowledgeBase()
{
return equipmentMaintenanceKnowledgeBase;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("equipmentSoleNumber", getEquipmentSoleNumber())
.append("deviceName", getDeviceName())
.append("modelNumber", getModelNumber())
.append("unitType", getUnitType())
.append("equipmentLubricationKnowledgeBase", getEquipmentLubricationKnowledgeBase())
.append("deviceSpotCheckKnowledgeBase", getDeviceSpotCheckKnowledgeBase())
.append("equipmentUpkeepKnowledgeBase", getEquipmentUpkeepKnowledgeBase())
.append("sparePartsProcurementKnowledgeBase", getSparePartsProcurementKnowledgeBase())
.append("equipmentMaintenanceKnowledgeBase", getEquipmentMaintenanceKnowledgeBase())
.append("remark", getRemark())
.toString();
}
}

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain;
package com.god.etmEquipmentMaintenance.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain;
package com.god.etmEquipmentMaintenance.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,4 +1,4 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain;
package com.god.etmEquipmentMaintenance.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper;
package com.god.etmEquipmentMaintenance.mapper;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyAuthorityManagement;
import com.god.etmEquipmentMaintenance.domain.PzhmyAuthorityManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper;
package com.god.etmEquipmentMaintenance.mapper;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingManagement;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper;
package com.god.etmEquipmentMaintenance.mapper;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingTaskManagement;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingTaskManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service;
package com.god.etmEquipmentMaintenance.service;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyAuthorityManagement;
import com.god.etmEquipmentMaintenance.domain.PzhmyAuthorityManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service;
package com.god.etmEquipmentMaintenance.service;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingManagement;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingManagement;
import java.util.List;
/**

View File

@ -1,6 +1,6 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service;
package com.god.etmEquipmentMaintenance.service;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingTaskManagement;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingTaskManagement;
import java.util.List;
/**

View File

@ -1,12 +1,11 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.impl;
package com.god.etmEquipmentMaintenance.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyAuthorityManagement;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper.PzhmyAuthorityManagementMapper;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.IPzhmyAuthorityManagementService;
import com.god.etmEquipmentMaintenance.domain.PzhmyAuthorityManagement;
import com.god.etmEquipmentMaintenance.mapper.PzhmyAuthorityManagementMapper;
import com.god.etmEquipmentMaintenance.service.IPzhmyAuthorityManagementService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.annotation.Id;
import org.springframework.stereotype.Service;
/**

View File

@ -1,9 +1,9 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.impl;
package com.god.etmEquipmentMaintenance.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingManagement;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper.PzhmyTrainingManagementMapper;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.IPzhmyTrainingManagementService;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingManagement;
import com.god.etmEquipmentMaintenance.mapper.PzhmyTrainingManagementMapper;
import com.god.etmEquipmentMaintenance.service.IPzhmyTrainingManagementService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,9 +1,9 @@
package com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.impl;
package com.god.etmEquipmentMaintenance.service.impl;
import com.god.common.utils.uuid.IdUtils;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.domain.PzhmyTrainingTaskManagement;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper.PzhmyTrainingTaskManagementMapper;
import com.god.etmEquipmentMaintenancePersonnelTrainingManagement.service.IPzhmyTrainingTaskManagementService;
import com.god.etmEquipmentMaintenance.domain.PzhmyTrainingTaskManagement;
import com.god.etmEquipmentMaintenance.mapper.PzhmyTrainingTaskManagementMapper;
import com.god.etmEquipmentMaintenance.service.IPzhmyTrainingTaskManagementService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyDeviceInformationDisplayMapper">
<mapper namespace="com.god.etmEquipmentKnowledge.mapper.PzhmyDeviceInformationDisplayMapper">
<resultMap type="PzhmyDeviceInformationDisplay" id="PzhmyDeviceInformationDisplayResult">
<result property="id" column="id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyEquipmentDrawingManagementMapper">
<mapper namespace="com.god.etmEquipmentKnowledge.mapper.PzhmyEquipmentDrawingManagementMapper">
<resultMap type="PzhmyEquipmentDrawingManagement" id="PzhmyEquipmentDrawingManagementResult">
<result property="id" column="id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyEquipmentPrincipleShowMapper">
<mapper namespace="com.god.etmEquipmentKnowledge.mapper.PzhmyEquipmentPrincipleShowMapper">
<resultMap type="PzhmyEquipmentPrincipleShow" id="PzhmyEquipmentPrincipleShowResult">
<result property="id" column="id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyGeneralPartsDisplayMapper">
<mapper namespace="com.god.etmEquipmentKnowledge.mapper.PzhmyGeneralPartsDisplayMapper">
<resultMap type="PzhmyGeneralPartsDisplay" id="PzhmyGeneralPartsDisplayResult">
<result property="id" column="id" />
@ -10,6 +10,7 @@
<result property="deviceName" column="device_name" />
<result property="modelNumber" column="model_number" />
<result property="unitType" column="unit_type" />
<result property="partName" column="part_name" />
<result property="partsComponentsShow" column="parts_components_show" />
<result property="partFunctionDescription" column="part_function_description" />
<result property="maintenanceGuide" column="maintenance_guide" />
@ -17,7 +18,7 @@
</resultMap>
<sql id="selectPzhmyGeneralPartsDisplayVo">
select id, equipment_sole_number, device_name, model_number, unit_type, parts_components_show, part_function_description, maintenance_guide, remark from pzhmy_general_parts_display
select id, equipment_sole_number, device_name, model_number, unit_type, part_name, parts_components_show, part_function_description, maintenance_guide, remark from pzhmy_general_parts_display
</sql>
<select id="selectPzhmyGeneralPartsDisplayList" parameterType="PzhmyGeneralPartsDisplay" resultMap="PzhmyGeneralPartsDisplayResult">
@ -25,8 +26,9 @@
<where>
<if test="equipmentSoleNumber != null and equipmentSoleNumber != ''"> and equipment_sole_number = #{equipmentSoleNumber}</if>
<if test="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if>
<if test="modelNumber != null and modelNumber != ''"> and model_number = #{modelNumber}</if>
<if test="unitType != null and unitType != ''"> and unit_type = #{unitType}</if>
<if test="modelNumber != null and modelNumber != ''"> and model_number like concat('%', #{modelNumber}, '%')</if>
<if test="unitType != null and unitType != ''"> and unit_type like concat('%', #{unitType}, '%')</if>
<if test="partName != null and partName != ''"> and part_name like concat('%', #{partName}, '%')</if>
<if test="partsComponentsShow != null and partsComponentsShow != ''"> and parts_components_show = #{partsComponentsShow}</if>
<if test="partFunctionDescription != null and partFunctionDescription != ''"> and part_function_description = #{partFunctionDescription}</if>
<if test="maintenanceGuide != null and maintenanceGuide != ''"> and maintenance_guide = #{maintenanceGuide}</if>
@ -46,6 +48,7 @@
<if test="deviceName != null">device_name,</if>
<if test="modelNumber != null">model_number,</if>
<if test="unitType != null">unit_type,</if>
<if test="partName != null">part_name,</if>
<if test="partsComponentsShow != null">parts_components_show,</if>
<if test="partFunctionDescription != null">part_function_description,</if>
<if test="maintenanceGuide != null">maintenance_guide,</if>
@ -57,6 +60,7 @@
<if test="deviceName != null">#{deviceName},</if>
<if test="modelNumber != null">#{modelNumber},</if>
<if test="unitType != null">#{unitType},</if>
<if test="partName != null">#{partName},</if>
<if test="partsComponentsShow != null">#{partsComponentsShow},</if>
<if test="partFunctionDescription != null">#{partFunctionDescription},</if>
<if test="maintenanceGuide != null">#{maintenanceGuide},</if>
@ -71,6 +75,7 @@
<if test="deviceName != null">device_name = #{deviceName},</if>
<if test="modelNumber != null">model_number = #{modelNumber},</if>
<if test="unitType != null">unit_type = #{unitType},</if>
<if test="partName != null">part_name = #{partName},</if>
<if test="partsComponentsShow != null">parts_components_show = #{partsComponentsShow},</if>
<if test="partFunctionDescription != null">part_function_description = #{partFunctionDescription},</if>
<if test="maintenanceGuide != null">maintenance_guide = #{maintenanceGuide},</if>

View File

@ -1,47 +1,41 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentKnowledgeManageModule.mapper.PzhmyKnowledgeContentManagementMapper">
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentKnowledge.mapper.PzhmyKnowledgeContentManagementMapper">
<resultMap type="PzhmyKnowledgeContentManagement" id="PzhmyKnowledgeContentManagementResult">
<result property="id" column="id" />
<result property="equipmentSoleNumber" column="equipment_sole_number" />
<result property="deviceName" column="device_name" />
<result property="modelNumber" column="model_number" />
<result property="unitType" column="unit_type" />
<result property="equipmentLubricationKnowledgeBase" column="equipment_lubrication_knowledge_base" />
<result property="deviceSpotCheckKnowledgeBase" column="device_spot_check_knowledge_base" />
<result property="equipmentUpkeepKnowledgeBase" column="equipment_upkeep_Knowledge_base" />
<result property="sparePartsProcurementKnowledgeBase" column="spare_parts_procurement_knowledge_base" />
<result property="equipmentMaintenanceKnowledgeBase" column="equipment_maintenance_knowledge_base" />
<result property="knowledgeBaseType" column="knowledge_base_type" />
<result property="knowledgeBaseFile" column="knowledge_base_file" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectPzhmyKnowledgeContentManagementVo">
select id, equipment_sole_number, device_name, model_number, unit_type, equipment_lubrication_knowledge_base, device_spot_check_knowledge_base, equipment_upkeep_Knowledge_base, spare_parts_procurement_knowledge_base, equipment_maintenance_knowledge_base, remark from pzhmy_knowledge_content_management
select id, equipment_sole_number, device_name, model_number, unit_type, knowledge_base_type, knowledge_base_file, remark from pzhmy_knowledge_content_management
</sql>
<select id="selectPzhmyKnowledgeContentManagementList" parameterType="PzhmyKnowledgeContentManagement" resultMap="PzhmyKnowledgeContentManagementResult">
<include refid="selectPzhmyKnowledgeContentManagementVo"/>
<where>
<where>
<if test="equipmentSoleNumber != null and equipmentSoleNumber != ''"> and equipment_sole_number like concat('%', #{equipmentSoleNumber}, '%')</if>
<if test="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if>
<if test="modelNumber != null and modelNumber != ''"> and model_number like concat('%', #{modelNumber}, '%')</if>
<if test="unitType != null and unitType != ''"> and unit_type like concat('%', #{unitType}, '%')</if>
<if test="equipmentLubricationKnowledgeBase != null and equipmentLubricationKnowledgeBase != ''"> and equipment_lubrication_knowledge_base = #{equipmentLubricationKnowledgeBase}</if>
<if test="deviceSpotCheckKnowledgeBase != null and deviceSpotCheckKnowledgeBase != ''"> and device_spot_check_knowledge_base = #{deviceSpotCheckKnowledgeBase}</if>
<if test="equipmentUpkeepKnowledgeBase != null and equipmentUpkeepKnowledgeBase != ''"> and equipment_upkeep_Knowledge_base = #{equipmentUpkeepKnowledgeBase}</if>
<if test="sparePartsProcurementKnowledgeBase != null and sparePartsProcurementKnowledgeBase != ''"> and spare_parts_procurement_knowledge_base = #{sparePartsProcurementKnowledgeBase}</if>
<if test="equipmentMaintenanceKnowledgeBase != null and equipmentMaintenanceKnowledgeBase != ''"> and equipment_maintenance_knowledge_base = #{equipmentMaintenanceKnowledgeBase}</if>
<if test="knowledgeBaseType != null and knowledgeBaseType != ''"> and knowledge_base_type like concat('%', #{knowledgeBaseType}, '%')</if>
<if test="knowledgeBaseFile != null and knowledgeBaseFile != ''"> and knowledge_base_file = #{knowledgeBaseFile}</if>
</where>
</select>
<select id="selectPzhmyKnowledgeContentManagementById" parameterType="String" resultMap="PzhmyKnowledgeContentManagementResult">
<include refid="selectPzhmyKnowledgeContentManagementVo"/>
where id = #{id}
</select>
<insert id="insertPzhmyKnowledgeContentManagement" parameterType="PzhmyKnowledgeContentManagement">
insert into pzhmy_knowledge_content_management
<trim prefix="(" suffix=")" suffixOverrides=",">
@ -50,26 +44,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deviceName != null">device_name,</if>
<if test="modelNumber != null">model_number,</if>
<if test="unitType != null">unit_type,</if>
<if test="equipmentLubricationKnowledgeBase != null">equipment_lubrication_knowledge_base,</if>
<if test="deviceSpotCheckKnowledgeBase != null">device_spot_check_knowledge_base,</if>
<if test="equipmentUpkeepKnowledgeBase != null">equipment_upkeep_Knowledge_base,</if>
<if test="sparePartsProcurementKnowledgeBase != null">spare_parts_procurement_knowledge_base,</if>
<if test="equipmentMaintenanceKnowledgeBase != null">equipment_maintenance_knowledge_base,</if>
<if test="knowledgeBaseType != null">knowledge_base_type,</if>
<if test="knowledgeBaseFile != null">knowledge_base_file,</if>
<if test="remark != null">remark,</if>
</trim>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="equipmentSoleNumber != null">#{equipmentSoleNumber},</if>
<if test="deviceName != null">#{deviceName},</if>
<if test="modelNumber != null">#{modelNumber},</if>
<if test="unitType != null">#{unitType},</if>
<if test="equipmentLubricationKnowledgeBase != null">#{equipmentLubricationKnowledgeBase},</if>
<if test="deviceSpotCheckKnowledgeBase != null">#{deviceSpotCheckKnowledgeBase},</if>
<if test="equipmentUpkeepKnowledgeBase != null">#{equipmentUpkeepKnowledgeBase},</if>
<if test="sparePartsProcurementKnowledgeBase != null">#{sparePartsProcurementKnowledgeBase},</if>
<if test="equipmentMaintenanceKnowledgeBase != null">#{equipmentMaintenanceKnowledgeBase},</if>
<if test="knowledgeBaseType != null">#{knowledgeBaseType},</if>
<if test="knowledgeBaseFile != null">#{knowledgeBaseFile},</if>
<if test="remark != null">#{remark},</if>
</trim>
</trim>
</insert>
<update id="updatePzhmyKnowledgeContentManagement" parameterType="PzhmyKnowledgeContentManagement">
@ -79,11 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deviceName != null">device_name = #{deviceName},</if>
<if test="modelNumber != null">model_number = #{modelNumber},</if>
<if test="unitType != null">unit_type = #{unitType},</if>
<if test="equipmentLubricationKnowledgeBase != null">equipment_lubrication_knowledge_base = #{equipmentLubricationKnowledgeBase},</if>
<if test="deviceSpotCheckKnowledgeBase != null">device_spot_check_knowledge_base = #{deviceSpotCheckKnowledgeBase},</if>
<if test="equipmentUpkeepKnowledgeBase != null">equipment_upkeep_Knowledge_base = #{equipmentUpkeepKnowledgeBase},</if>
<if test="sparePartsProcurementKnowledgeBase != null">spare_parts_procurement_knowledge_base = #{sparePartsProcurementKnowledgeBase},</if>
<if test="equipmentMaintenanceKnowledgeBase != null">equipment_maintenance_knowledge_base = #{equipmentMaintenanceKnowledgeBase},</if>
<if test="knowledgeBaseType != null">knowledge_base_type = #{knowledgeBaseType},</if>
<if test="knowledgeBaseFile != null">knowledge_base_file = #{knowledgeBaseFile},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
@ -94,7 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deletePzhmyKnowledgeContentManagementByIds" parameterType="String">
delete from pzhmy_knowledge_content_management where id in
delete from pzhmy_knowledge_content_management where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper.PzhmyAuthorityManagementMapper">
<mapper namespace="com.god.etmEquipmentMaintenance.mapper.PzhmyAuthorityManagementMapper">
<resultMap type="PzhmyAuthorityManagement" id="PzhmyAuthorityManagementResult">
<result property="id" column="id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper.PzhmyTrainingManagementMapper">
<mapper namespace="com.god.etmEquipmentMaintenance.mapper.PzhmyTrainingManagementMapper">
<resultMap type="PzhmyTrainingManagement" id="PzhmyTrainingManagementResult">
<result property="id" column="id" />

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.god.etmEquipmentMaintenancePersonnelTrainingManagement.mapper.PzhmyTrainingTaskManagementMapper">
<mapper namespace="com.god.etmEquipmentMaintenance.mapper.PzhmyTrainingTaskManagementMapper">
<resultMap type="PzhmyTrainingTaskManagement" id="PzhmyTrainingTaskManagementResult">
<result property="id" column="id" />

View File

@ -194,7 +194,7 @@
</template>
<script>
import { listDeviceInformationDisplay, getDeviceInformationDisplay, delDeviceInformationDisplay, addDeviceInformationDisplay, updateDeviceInformationDisplay } from "@/api/etmEquipmentKnowledgeManageModule/pzhmyDeviceInformationDisplay/deviceInformationDisplay";
import { listDeviceInformationDisplay, getDeviceInformationDisplay, delDeviceInformationDisplay, addDeviceInformationDisplay, updateDeviceInformationDisplay } from "@/api/etmEquipmentKnowledge/pzhmyDeviceInformationDisplay/deviceInformationDisplay";
export default {
name: "DeviceInformationDisplay",

View File

@ -198,7 +198,7 @@
</template>
<script>
import { listEquipmentDrawingManagement, getEquipmentDrawingManagement, delEquipmentDrawingManagement, addEquipmentDrawingManagement, updateEquipmentDrawingManagement } from "@/api/etmEquipmentKnowledgeManageModule/pzhmyEquipmentDrawing/equipmentDrawingManagement";
import { listEquipmentDrawingManagement, getEquipmentDrawingManagement, delEquipmentDrawingManagement, addEquipmentDrawingManagement, updateEquipmentDrawingManagement } from "@/api/etmEquipmentKnowledge/pzhmyEquipmentDrawing/equipmentDrawingManagement";
export default {
name: "EquipmentDrawingManagement",

View File

@ -189,7 +189,7 @@
</template>
<script>
import { listEquipmentPrincipleShow, getEquipmentPrincipleShow, delEquipmentPrincipleShow, addEquipmentPrincipleShow, updateEquipmentPrincipleShow } from "@/api/etmEquipmentKnowledgeManageModule/pzhmyEquipmentPrincipleShow/equipmentPrincipleShow";
import { listEquipmentPrincipleShow, getEquipmentPrincipleShow, delEquipmentPrincipleShow, addEquipmentPrincipleShow, updateEquipmentPrincipleShow } from "@/api/etmEquipmentKnowledge/pzhmyEquipmentPrincipleShow/equipmentPrincipleShow";
export default {
name: "EquipmentPrincipleShow",

View File

@ -33,13 +33,13 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="零部件展示" prop="partsComponentsShow">
<el-form-item label="零件名称" prop="partName">
<el-input
v-model="queryParams.partsComponentsShow"
placeholder="请输入零部件展示"
v-model="queryParams.partName"
placeholder="请输入零件名称"
clearable
@keyup.enter.native="handleQuery"
/> -->
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
@ -100,14 +100,12 @@
<el-table-column label="设备名称" align="center" prop="deviceName" />
<el-table-column label="设备型号" align="center" prop="modelNumber" />
<el-table-column label="设备类型" align="center" prop="unitType" />
<!-- <el-table-column label="零部件展示" align="center" prop="partsComponentsShow" /> -->
<el-table-column label="零件名称" align="center" prop="partName" />
<el-table-column label="零部件展示" align="center" prop="partsComponentsShow" width="100">
<template slot-scope="scope">
<image-preview :src="scope.row.partsComponentsShow" :width="50" :height="50"/>
</template>
</el-table-column>
<el-table-column label="零部件功能描述" align="center" prop="partFunctionDescription" />
<el-table-column label="维修指南" align="center" prop="maintenanceGuide" />
<el-table-column label="备注" align="center" prop="remark" />
@ -154,13 +152,12 @@
<el-form-item label="设备类型" prop="unitType">
<el-input v-model="form.unitType" placeholder="请输入设备类型" />
</el-form-item>
<!-- <el-form-item label="零部件展示" prop="partsComponentsShow">
<el-input v-model="form.partsComponentsShow" placeholder="请输入零部件展示" />
</el-form-item> -->
<el-form-item label="装配图" prop="partsComponentsShow">
<el-form-item label="零件名称" prop="partName">
<el-input v-model="form.partName" placeholder="请输入零件名称" />
</el-form-item>
<el-form-item label="零部件展示" prop="partsComponentsShow">
<image-upload v-model="form.partsComponentsShow"/>
</el-form-item>
<el-form-item label="零部件功能描述" prop="partFunctionDescription">
<el-input v-model="form.partFunctionDescription" type="textarea" placeholder="请输入内容" />
</el-form-item>
@ -180,7 +177,7 @@
</template>
<script>
import { listGeneralPartsDisplay, getGeneralPartsDisplay, delGeneralPartsDisplay, addGeneralPartsDisplay, updateGeneralPartsDisplay } from "@/api/etmEquipmentKnowledgeManageModule/pzhmyGeneralPartsDisplay/generalPartsDisplay";
import { listGeneralPartsDisplay, getGeneralPartsDisplay, delGeneralPartsDisplay, addGeneralPartsDisplay, updateGeneralPartsDisplay } from "@/api/etmEquipmentKnowledge/pzhmyGeneralPartsDisplay/generalPartsDisplay";
export default {
name: "GeneralPartsDisplay",
@ -212,6 +209,7 @@ export default {
deviceName: null,
modelNumber: null,
unitType: null,
partName: null,
partsComponentsShow: null,
partFunctionDescription: null,
maintenanceGuide: null,
@ -249,6 +247,7 @@ export default {
deviceName: null,
modelNumber: null,
unitType: null,
partName: null,
partsComponentsShow: null,
partFunctionDescription: null,
maintenanceGuide: null,

View File

@ -33,6 +33,14 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="知识库类型" prop="knowledgeBaseType">
<el-input
v-model="queryParams.knowledgeBaseType"
placeholder="请输入知识库类型"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@ -92,35 +100,21 @@
<el-table-column label="设备名称" align="center" prop="deviceName" />
<el-table-column label="设备型号" align="center" prop="modelNumber" />
<el-table-column label="设备类型" align="center" prop="unitType" />
<el-table-column label="设备润滑知识库" align="center" prop="equipmentLubricationKnowledgeBase" />
<el-table-column label="设备点检知识库" align="center" prop="deviceSpotCheckKnowledgeBase" />
<el-table-column label="设备保养知识库" align="center" prop="equipmentUpkeepKnowledgeBase" />
<el-table-column label="备品备件采购知识库" align="center" prop="sparePartsProcurementKnowledgeBase" />
<el-table-column label="设备维修知识库" align="center" prop="equipmentMaintenanceKnowledgeBase" />
<el-table-column label="知识库类型" align="center" prop="knowledgeBaseType" >
<template slot-scope="scope">
<el-tag>{{scope.row.knowledgeBaseType}}</el-tag>
</template>
</el-table-column>
<el-table-column label="知识库文件" align="center" prop="knowledgeBaseFile" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-download">
<a :href="baseUrl + scope.row.equipmentLubricationKnowledgeBase" download="" >下载设备润滑知识库</a>
<a :href="baseUrl + scope.row.fileUpload" download="" >下载{{scope.row.knowledgeBaseType}}</a>
</el-button>
<el-button size="mini" type="text" icon="el-icon-download">
<a :href="baseUrl + scope.row.deviceSpotCheckKnowledgeBase" download="" >下载设备点检知识库</a>
</el-button>
<el-button size="mini" type="text" icon="el-icon-download">
<a :href="baseUrl + scope.row.equipmentUpkeepKnowledgeBase" download="" >下载设备保养知识库</a>
</el-button>
<el-button size="mini" type="text" icon="el-icon-download">
<a :href="baseUrl + scope.row.sparePartsProcurementKnowledgeBase" download="" >下载备品备件采购知识库</a>
</el-button>
<el-button size="mini" type="text" icon="el-icon-download">
<a :href="baseUrl + scope.row.equipmentMaintenanceKnowledgeBase" download="" >下载设备维修知识库</a>
</el-button>
<el-button
size="mini"
type="text"
@ -149,7 +143,7 @@
<!-- 添加或修改知识内容管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="130px">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="设备唯一编号" prop="equipmentSoleNumber">
<el-input v-model="form.equipmentSoleNumber" placeholder="请输入设备唯一编号" />
</el-form-item>
@ -162,20 +156,11 @@
<el-form-item label="设备类型" prop="unitType">
<el-input v-model="form.unitType" placeholder="请输入设备类型" />
</el-form-item>
<el-form-item label="设备润滑知识库" prop="equipmentLubricationKnowledgeBase">
<file-upload v-model="form.equipmentLubricationKnowledgeBase"/>
<el-form-item label="知识库类型" prop="knowledgeBaseType">
<el-input v-model="form.knowledgeBaseType" placeholder="请输入知识库类型" />
</el-form-item>
<el-form-item label="设备点检知识库" prop="deviceSpotCheckKnowledgeBase">
<file-upload v-model="form.deviceSpotCheckKnowledgeBase"/>
</el-form-item>
<el-form-item label="设备保养知识库" prop="equipmentUpkeepKnowledgeBase">
<file-upload v-model="form.equipmentUpkeepKnowledgeBase"/>
</el-form-item>
<el-form-item label="备品备件采购知识库" prop="sparePartsProcurementKnowledgeBase">
<file-upload v-model="form.sparePartsProcurementKnowledgeBase"/>
</el-form-item>
<el-form-item label="设备维修知识库" prop="equipmentMaintenanceKnowledgeBase">
<file-upload v-model="form.equipmentMaintenanceKnowledgeBase"/>
<el-form-item label="知识库文件" prop="knowledgeBaseFile">
<file-upload v-model="form.knowledgeBaseFile"/>
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
@ -190,7 +175,7 @@
</template>
<script>
import { listKnowledgeContentManagement, getKnowledgeContentManagement, delKnowledgeContentManagement, addKnowledgeContentManagement, updateKnowledgeContentManagement } from "@/api/etmEquipmentKnowledgeManageModule/pzhmyKnowledgeContent/knowledgeContentManagement";
import { listKnowledgeContentManagement, getKnowledgeContentManagement, delKnowledgeContentManagement, addKnowledgeContentManagement, updateKnowledgeContentManagement } from "@/api/etmEquipmentKnowledge/pzhmyKnowledgeContent/knowledgeContentManagement";
export default {
name: "KnowledgeContentManagement",
@ -223,11 +208,8 @@ export default {
deviceName: null,
modelNumber: null,
unitType: null,
equipmentLubricationKnowledgeBase: null,
deviceSpotCheckKnowledgeBase: null,
equipmentUpkeepKnowledgeBase: null,
sparePartsProcurementKnowledgeBase: null,
equipmentMaintenanceKnowledgeBase: null,
knowledgeBaseType: null,
knowledgeBaseFile: null,
},
//
form: {},
@ -262,11 +244,8 @@ export default {
deviceName: null,
modelNumber: null,
unitType: null,
equipmentLubricationKnowledgeBase: null,
deviceSpotCheckKnowledgeBase: null,
equipmentUpkeepKnowledgeBase: null,
sparePartsProcurementKnowledgeBase: null,
equipmentMaintenanceKnowledgeBase: null,
knowledgeBaseType: null,
knowledgeBaseFile: null,
remark: null
};
this.resetForm("form");

View File

@ -249,7 +249,7 @@
</template>
<script>
import { listAuthorityManagement, getAuthorityManagement, delAuthorityManagement, addAuthorityManagement, updateAuthorityManagement } from "@/api/etmEquipmentMaintenancePersonnelTrainingManagement/pzhmyAuthorityManagement/authorityManagement";
import { listAuthorityManagement, getAuthorityManagement, delAuthorityManagement, addAuthorityManagement, updateAuthorityManagement } from "@/api/etmEquipmentMaintenance/pzhmyAuthorityManagement/authorityManagement";
export default {
name: "AuthorityManagement",

View File

@ -166,8 +166,22 @@
<el-table-column label="培训方式" align="center" prop="trainingMethods" />
<el-table-column label="员工标识" align="center" prop="employeeIdentification" />
<el-table-column label="员工姓名" align="center" prop="employeeName" />
<el-table-column label="学习情况评价" align="center" prop="learningEvaluation" />
<el-table-column label="审核状态" align="center" prop="auditStatus" />
<el-table-column label="学习情况评价" align="center" prop="learningEvaluation" >
<template slot-scope="scope">
<el-tag type="warning">{{scope.row.learningEvaluation}}</el-tag>
</template>
</el-table-column>
<el-table-column label="学习情况评价" align="center" prop="learningEvaluation" >
<template slot-scope="scope">
<el-tag >{{scope.row.learningEvaluation}}</el-tag>
</template>
</el-table-column>
<el-table-column label="审核状态" align="center" prop="auditStatus" >
<template slot-scope="scope">
<el-tag type="success">{{scope.row.auditStatus}}</el-tag>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
@ -254,7 +268,7 @@
</template>
<script>
import { listTrainingManagement, getTrainingManagement, delTrainingManagement, addTrainingManagement, updateTrainingManagement } from "@/api/etmEquipmentMaintenancePersonnelTrainingManagement/pzhmyTrainingManagement/trainingManagement";
import { listTrainingManagement, getTrainingManagement, delTrainingManagement, addTrainingManagement, updateTrainingManagement } from "@/api/etmEquipmentMaintenance/pzhmyTrainingManagement/trainingManagement";
export default {
name: "TrainingManagement",

View File

@ -118,8 +118,18 @@
<span>{{ parseTime(scope.row.taskEndTime, '{y}-{m}-{d} {h}:{m}:{s}') }}</span>
</template>
</el-table-column>
<el-table-column label="任务完成状态" align="center" prop="taskCompleteStatus" />
<el-table-column label="任务成功认证考核结果" align="center" prop="missionSuccessVerificationResults" />
<el-table-column label="任务完成状态" align="center" prop="taskCompleteStatus" >
<template slot-scope="scope">
<el-tag type="success">{{scope.row.taskCompleteStatus}}</el-tag>
</template>
</el-table-column>
<el-table-column label="任务成功认证考核结果" align="center" prop="missionSuccessVerificationResults" >
<template slot-scope="scope">
<el-tag>{{scope.row.missionSuccessVerificationResults}}</el-tag>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
@ -199,7 +209,7 @@
</template>
<script>
import { listTrainingTaskManagement, getTrainingTaskManagement, delTrainingTaskManagement, addTrainingTaskManagement, updateTrainingTaskManagement } from "@/api/etmEquipmentMaintenancePersonnelTrainingManagement/pzhmyTrainingTaskManagement/trainingTaskManagement";
import { listTrainingTaskManagement, getTrainingTaskManagement, delTrainingTaskManagement, addTrainingTaskManagement, updateTrainingTaskManagement } from "@/api/etmEquipmentMaintenance/pzhmyTrainingTaskManagement/trainingTaskManagement";
export default {
name: "TrainingTaskManagement",