隐患管理后台代码-生成器
parent
849401501a
commit
5b28d1cbea
|
@ -1 +1 @@
|
|||
java -Dfile.encoding=utf-8 -Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -jar ruoyi-modules/ruoyi-gen/target/yanzhu-modules-gen.jar
|
||||
java -Dfile.encoding=utf-8 -Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m -jar yanzhu-modules/yanzhu-gen/target/yanzhu-modules-gen.jar
|
||||
|
|
|
@ -0,0 +1,108 @@
|
|||
package com.yanzhu.manage.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.yanzhu.common.core.annotation.Excel;
|
||||
import com.yanzhu.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 隐患流程信息对象 smz_ssp_auditinfo
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public class SmzSspAuditinfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 问题整改质量留痕id */
|
||||
@Excel(name = "问题整改质量留痕id")
|
||||
private Long mainId;
|
||||
|
||||
/** 流程状态(0待审,1通过,2驳回) */
|
||||
@Excel(name = "流程状态(0待审,1通过,2驳回)")
|
||||
private String processState;
|
||||
|
||||
/** 意见 */
|
||||
@Excel(name = "意见")
|
||||
private String opinion;
|
||||
|
||||
/** 删除状态(0未删除,1已删除) */
|
||||
@Excel(name = "删除状态(0未删除,1已删除)")
|
||||
private Long isDel;
|
||||
|
||||
/** 创建人 */
|
||||
@Excel(name = "创建人")
|
||||
private String createUser;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setMainId(Long mainId)
|
||||
{
|
||||
this.mainId = mainId;
|
||||
}
|
||||
|
||||
public Long getMainId()
|
||||
{
|
||||
return mainId;
|
||||
}
|
||||
public void setProcessState(String processState)
|
||||
{
|
||||
this.processState = processState;
|
||||
}
|
||||
|
||||
public String getProcessState()
|
||||
{
|
||||
return processState;
|
||||
}
|
||||
public void setOpinion(String opinion)
|
||||
{
|
||||
this.opinion = opinion;
|
||||
}
|
||||
|
||||
public String getOpinion()
|
||||
{
|
||||
return opinion;
|
||||
}
|
||||
public void setIsDel(Long isDel)
|
||||
{
|
||||
this.isDel = isDel;
|
||||
}
|
||||
|
||||
public Long getIsDel()
|
||||
{
|
||||
return isDel;
|
||||
}
|
||||
public void setCreateUser(String createUser)
|
||||
{
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public String getCreateUser()
|
||||
{
|
||||
return createUser;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("mainId", getMainId())
|
||||
.append("processState", getProcessState())
|
||||
.append("opinion", getOpinion())
|
||||
.append("isDel", getIsDel())
|
||||
.append("createUser", getCreateUser())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,122 @@
|
|||
package com.yanzhu.manage.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.yanzhu.common.core.annotation.Excel;
|
||||
import com.yanzhu.common.core.web.domain.BaseEntity;
|
||||
/**
|
||||
* 隐患文件信息对象 smz_ssp_fileinfo
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public class SmzSspFileinfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 审核表id */
|
||||
@Excel(name = "审核表id")
|
||||
private Long auditId;
|
||||
|
||||
/** 文件类型(0图片,1视频) */
|
||||
@Excel(name = "文件类型", readConverterExp = "0=图片,1视频")
|
||||
private Long fileType;
|
||||
|
||||
/** 文件的url */
|
||||
@Excel(name = "文件的url")
|
||||
private String fileUrl;
|
||||
|
||||
/** 删除状态(0未删除,1已删除) */
|
||||
@Excel(name = "删除状态", readConverterExp = "0=未删除,1已删除")
|
||||
private Long isDel;
|
||||
|
||||
/** 创建人 */
|
||||
@Excel(name = "创建人")
|
||||
private String createUser;
|
||||
|
||||
/** 修改人 */
|
||||
@Excel(name = "修改人")
|
||||
private String updateUser;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setAuditId(Long auditId)
|
||||
{
|
||||
this.auditId = auditId;
|
||||
}
|
||||
|
||||
public Long getAuditId()
|
||||
{
|
||||
return auditId;
|
||||
}
|
||||
public void setFileType(Long fileType)
|
||||
{
|
||||
this.fileType = fileType;
|
||||
}
|
||||
|
||||
public Long getFileType()
|
||||
{
|
||||
return fileType;
|
||||
}
|
||||
public void setFileUrl(String fileUrl)
|
||||
{
|
||||
this.fileUrl = fileUrl;
|
||||
}
|
||||
|
||||
public String getFileUrl()
|
||||
{
|
||||
return fileUrl;
|
||||
}
|
||||
public void setIsDel(Long isDel)
|
||||
{
|
||||
this.isDel = isDel;
|
||||
}
|
||||
|
||||
public Long getIsDel()
|
||||
{
|
||||
return isDel;
|
||||
}
|
||||
public void setCreateUser(String createUser)
|
||||
{
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public String getCreateUser()
|
||||
{
|
||||
return createUser;
|
||||
}
|
||||
public void setUpdateUser(String updateUser)
|
||||
{
|
||||
this.updateUser = updateUser;
|
||||
}
|
||||
|
||||
public String getUpdateUser()
|
||||
{
|
||||
return updateUser;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("auditId", getAuditId())
|
||||
.append("fileType", getFileType())
|
||||
.append("fileUrl", getFileUrl())
|
||||
.append("isDel", getIsDel())
|
||||
.append("createUser", getCreateUser())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateUser", getUpdateUser())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,476 @@
|
|||
package com.yanzhu.manage.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.yanzhu.common.core.annotation.Excel;
|
||||
import com.yanzhu.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 安全隐患整改对象 smz_ssp_problemmodify
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public class SmzSspProblemmodify extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 租户ID */
|
||||
@Excel(name = "租户ID")
|
||||
private Long comId;
|
||||
|
||||
/** 项目id */
|
||||
@Excel(name = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
/** 信息类型(0安全,1质量) */
|
||||
@Excel(name = "信息类型", readConverterExp = "0=安全,1质量")
|
||||
private Long infoType;
|
||||
|
||||
/** 留痕图片 */
|
||||
@Excel(name = "留痕图片")
|
||||
private String marksPicture;
|
||||
|
||||
/** 留痕视频 */
|
||||
@Excel(name = "留痕视频")
|
||||
private String marksVideo;
|
||||
|
||||
/** 整改图片 */
|
||||
@Excel(name = "整改图片")
|
||||
private String correctionPicture;
|
||||
|
||||
/** 拍摄位置 */
|
||||
@Excel(name = "拍摄位置")
|
||||
private String problemArea;
|
||||
|
||||
/** 施工部位 */
|
||||
@Excel(name = "施工部位")
|
||||
private String workParts;
|
||||
|
||||
/** 整改要求 */
|
||||
@Excel(name = "整改要求")
|
||||
private String changeInfo;
|
||||
|
||||
/** 主送人姓名 */
|
||||
@Excel(name = "主送人姓名")
|
||||
private String lordSent;
|
||||
|
||||
/** 主送人手机号 */
|
||||
@Excel(name = "主送人手机号")
|
||||
private String lordSentUser;
|
||||
|
||||
/** 抄送人姓名 */
|
||||
@Excel(name = "抄送人姓名")
|
||||
private String copySend;
|
||||
|
||||
/** 抄送人手机号 */
|
||||
@Excel(name = "抄送人手机号")
|
||||
private String copySendUser;
|
||||
|
||||
/** 流程状态(0待整改,1待复检,3复检驳回,4复检通过) */
|
||||
@Excel(name = "流程状态", readConverterExp = "0=待整改,1待复检,3复检驳回,4复检通过")
|
||||
private Long checkState;
|
||||
|
||||
/** 整改定位 */
|
||||
@Excel(name = "整改定位")
|
||||
private String nickedArea;
|
||||
|
||||
/** 整改截至时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "整改截至时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date nickedTime;
|
||||
|
||||
/** 工程类型 */
|
||||
@Excel(name = "工程类型")
|
||||
private String projectType;
|
||||
|
||||
/** 工序名称 */
|
||||
@Excel(name = "工序名称")
|
||||
private String processName;
|
||||
|
||||
/** 工程名称 */
|
||||
@Excel(name = "工程名称")
|
||||
private String projectName;
|
||||
|
||||
/** 留痕说明 */
|
||||
@Excel(name = "留痕说明")
|
||||
private String nickedInfo;
|
||||
|
||||
/** 审核人 */
|
||||
@Excel(name = "审核人")
|
||||
private String checkUser;
|
||||
|
||||
/** 审核人手机号 */
|
||||
@Excel(name = "审核人手机号")
|
||||
private String checkUserPhone;
|
||||
|
||||
/** 智能公司展示的图片url */
|
||||
@Excel(name = "智能公司展示的图片url")
|
||||
private String smarkUrl;
|
||||
|
||||
/** 删除状态(0未删除,1已删除) */
|
||||
@Excel(name = "删除状态", readConverterExp = "0=未删除,1已删除")
|
||||
private Long isDel;
|
||||
|
||||
/** 创建人 */
|
||||
@Excel(name = "创建人")
|
||||
private String createUser;
|
||||
|
||||
/** 修改人 */
|
||||
@Excel(name = "修改人")
|
||||
private String updateUser;
|
||||
|
||||
/** 隐患类型 */
|
||||
@Excel(name = "隐患类型")
|
||||
private String dangerType;
|
||||
|
||||
/** 复检人 */
|
||||
@Excel(name = "复检人")
|
||||
private String recheckSend;
|
||||
|
||||
/** 复检人手机号 */
|
||||
@Excel(name = "复检人手机号")
|
||||
private String recheckSendUser;
|
||||
|
||||
/** 角色类型 */
|
||||
@Excel(name = "角色类型")
|
||||
private Long roleType;
|
||||
|
||||
/** 问题类型(1常规问题,2专项问题) */
|
||||
@Excel(name = "问题类型", readConverterExp = "1=常规问题,2专项问题")
|
||||
private String problemType;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setComId(Long comId)
|
||||
{
|
||||
this.comId = comId;
|
||||
}
|
||||
|
||||
public Long getComId()
|
||||
{
|
||||
return comId;
|
||||
}
|
||||
public void setProjectId(Long projectId)
|
||||
{
|
||||
this.projectId = projectId;
|
||||
}
|
||||
|
||||
public Long getProjectId()
|
||||
{
|
||||
return projectId;
|
||||
}
|
||||
public void setInfoType(Long infoType)
|
||||
{
|
||||
this.infoType = infoType;
|
||||
}
|
||||
|
||||
public Long getInfoType()
|
||||
{
|
||||
return infoType;
|
||||
}
|
||||
public void setMarksPicture(String marksPicture)
|
||||
{
|
||||
this.marksPicture = marksPicture;
|
||||
}
|
||||
|
||||
public String getMarksPicture()
|
||||
{
|
||||
return marksPicture;
|
||||
}
|
||||
public void setMarksVideo(String marksVideo)
|
||||
{
|
||||
this.marksVideo = marksVideo;
|
||||
}
|
||||
|
||||
public String getMarksVideo()
|
||||
{
|
||||
return marksVideo;
|
||||
}
|
||||
public void setCorrectionPicture(String correctionPicture)
|
||||
{
|
||||
this.correctionPicture = correctionPicture;
|
||||
}
|
||||
|
||||
public String getCorrectionPicture()
|
||||
{
|
||||
return correctionPicture;
|
||||
}
|
||||
public void setProblemArea(String problemArea)
|
||||
{
|
||||
this.problemArea = problemArea;
|
||||
}
|
||||
|
||||
public String getProblemArea()
|
||||
{
|
||||
return problemArea;
|
||||
}
|
||||
public void setWorkParts(String workParts)
|
||||
{
|
||||
this.workParts = workParts;
|
||||
}
|
||||
|
||||
public String getWorkParts()
|
||||
{
|
||||
return workParts;
|
||||
}
|
||||
public void setChangeInfo(String changeInfo)
|
||||
{
|
||||
this.changeInfo = changeInfo;
|
||||
}
|
||||
|
||||
public String getChangeInfo()
|
||||
{
|
||||
return changeInfo;
|
||||
}
|
||||
public void setLordSent(String lordSent)
|
||||
{
|
||||
this.lordSent = lordSent;
|
||||
}
|
||||
|
||||
public String getLordSent()
|
||||
{
|
||||
return lordSent;
|
||||
}
|
||||
public void setLordSentUser(String lordSentUser)
|
||||
{
|
||||
this.lordSentUser = lordSentUser;
|
||||
}
|
||||
|
||||
public String getLordSentUser()
|
||||
{
|
||||
return lordSentUser;
|
||||
}
|
||||
public void setCopySend(String copySend)
|
||||
{
|
||||
this.copySend = copySend;
|
||||
}
|
||||
|
||||
public String getCopySend()
|
||||
{
|
||||
return copySend;
|
||||
}
|
||||
public void setCopySendUser(String copySendUser)
|
||||
{
|
||||
this.copySendUser = copySendUser;
|
||||
}
|
||||
|
||||
public String getCopySendUser()
|
||||
{
|
||||
return copySendUser;
|
||||
}
|
||||
public void setCheckState(Long checkState)
|
||||
{
|
||||
this.checkState = checkState;
|
||||
}
|
||||
|
||||
public Long getCheckState()
|
||||
{
|
||||
return checkState;
|
||||
}
|
||||
public void setNickedArea(String nickedArea)
|
||||
{
|
||||
this.nickedArea = nickedArea;
|
||||
}
|
||||
|
||||
public String getNickedArea()
|
||||
{
|
||||
return nickedArea;
|
||||
}
|
||||
public void setNickedTime(Date nickedTime)
|
||||
{
|
||||
this.nickedTime = nickedTime;
|
||||
}
|
||||
|
||||
public Date getNickedTime()
|
||||
{
|
||||
return nickedTime;
|
||||
}
|
||||
public void setProjectType(String projectType)
|
||||
{
|
||||
this.projectType = projectType;
|
||||
}
|
||||
|
||||
public String getProjectType()
|
||||
{
|
||||
return projectType;
|
||||
}
|
||||
public void setProcessName(String processName)
|
||||
{
|
||||
this.processName = processName;
|
||||
}
|
||||
|
||||
public String getProcessName()
|
||||
{
|
||||
return processName;
|
||||
}
|
||||
public void setProjectName(String projectName)
|
||||
{
|
||||
this.projectName = projectName;
|
||||
}
|
||||
|
||||
public String getProjectName()
|
||||
{
|
||||
return projectName;
|
||||
}
|
||||
public void setNickedInfo(String nickedInfo)
|
||||
{
|
||||
this.nickedInfo = nickedInfo;
|
||||
}
|
||||
|
||||
public String getNickedInfo()
|
||||
{
|
||||
return nickedInfo;
|
||||
}
|
||||
public void setCheckUser(String checkUser)
|
||||
{
|
||||
this.checkUser = checkUser;
|
||||
}
|
||||
|
||||
public String getCheckUser()
|
||||
{
|
||||
return checkUser;
|
||||
}
|
||||
public void setCheckUserPhone(String checkUserPhone)
|
||||
{
|
||||
this.checkUserPhone = checkUserPhone;
|
||||
}
|
||||
|
||||
public String getCheckUserPhone()
|
||||
{
|
||||
return checkUserPhone;
|
||||
}
|
||||
public void setSmarkUrl(String smarkUrl)
|
||||
{
|
||||
this.smarkUrl = smarkUrl;
|
||||
}
|
||||
|
||||
public String getSmarkUrl()
|
||||
{
|
||||
return smarkUrl;
|
||||
}
|
||||
public void setIsDel(Long isDel)
|
||||
{
|
||||
this.isDel = isDel;
|
||||
}
|
||||
|
||||
public Long getIsDel()
|
||||
{
|
||||
return isDel;
|
||||
}
|
||||
public void setCreateUser(String createUser)
|
||||
{
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public String getCreateUser()
|
||||
{
|
||||
return createUser;
|
||||
}
|
||||
public void setUpdateUser(String updateUser)
|
||||
{
|
||||
this.updateUser = updateUser;
|
||||
}
|
||||
|
||||
public String getUpdateUser()
|
||||
{
|
||||
return updateUser;
|
||||
}
|
||||
public void setDangerType(String dangerType)
|
||||
{
|
||||
this.dangerType = dangerType;
|
||||
}
|
||||
|
||||
public String getDangerType()
|
||||
{
|
||||
return dangerType;
|
||||
}
|
||||
public void setRecheckSend(String recheckSend)
|
||||
{
|
||||
this.recheckSend = recheckSend;
|
||||
}
|
||||
|
||||
public String getRecheckSend()
|
||||
{
|
||||
return recheckSend;
|
||||
}
|
||||
public void setRecheckSendUser(String recheckSendUser)
|
||||
{
|
||||
this.recheckSendUser = recheckSendUser;
|
||||
}
|
||||
|
||||
public String getRecheckSendUser()
|
||||
{
|
||||
return recheckSendUser;
|
||||
}
|
||||
public void setRoleType(Long roleType)
|
||||
{
|
||||
this.roleType = roleType;
|
||||
}
|
||||
|
||||
public Long getRoleType()
|
||||
{
|
||||
return roleType;
|
||||
}
|
||||
public void setProblemType(String problemType)
|
||||
{
|
||||
this.problemType = problemType;
|
||||
}
|
||||
|
||||
public String getProblemType()
|
||||
{
|
||||
return problemType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("comId", getComId())
|
||||
.append("projectId", getProjectId())
|
||||
.append("infoType", getInfoType())
|
||||
.append("marksPicture", getMarksPicture())
|
||||
.append("marksVideo", getMarksVideo())
|
||||
.append("correctionPicture", getCorrectionPicture())
|
||||
.append("problemArea", getProblemArea())
|
||||
.append("workParts", getWorkParts())
|
||||
.append("changeInfo", getChangeInfo())
|
||||
.append("lordSent", getLordSent())
|
||||
.append("lordSentUser", getLordSentUser())
|
||||
.append("copySend", getCopySend())
|
||||
.append("copySendUser", getCopySendUser())
|
||||
.append("checkState", getCheckState())
|
||||
.append("nickedArea", getNickedArea())
|
||||
.append("nickedTime", getNickedTime())
|
||||
.append("projectType", getProjectType())
|
||||
.append("processName", getProcessName())
|
||||
.append("projectName", getProjectName())
|
||||
.append("nickedInfo", getNickedInfo())
|
||||
.append("checkUser", getCheckUser())
|
||||
.append("checkUserPhone", getCheckUserPhone())
|
||||
.append("smarkUrl", getSmarkUrl())
|
||||
.append("isDel", getIsDel())
|
||||
.append("createUser", getCreateUser())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateUser", getUpdateUser())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("dangerType", getDangerType())
|
||||
.append("recheckSend", getRecheckSend())
|
||||
.append("recheckSendUser", getRecheckSendUser())
|
||||
.append("roleType", getRoleType())
|
||||
.append("problemType", getProblemType())
|
||||
.toString();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,462 @@
|
|||
package com.yanzhu.manage.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.yanzhu.common.core.annotation.Excel;
|
||||
import com.yanzhu.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 安全问题草稿对象 smz_ssp_problemmodify_draft
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public class SmzSspProblemmodifyDraft extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 租户ID */
|
||||
@Excel(name = "租户ID")
|
||||
private Long comId;
|
||||
|
||||
/** 项目id */
|
||||
@Excel(name = "项目id")
|
||||
private Long projectId;
|
||||
|
||||
/** 信息类型(0安全,1质量) */
|
||||
@Excel(name = "信息类型", readConverterExp = "0=安全,1质量")
|
||||
private Long infoType;
|
||||
|
||||
/** 留痕图片 */
|
||||
@Excel(name = "留痕图片")
|
||||
private String marksPicture;
|
||||
|
||||
/** 留痕视频 */
|
||||
@Excel(name = "留痕视频")
|
||||
private String marksVideo;
|
||||
|
||||
/** 拍摄位置 */
|
||||
@Excel(name = "拍摄位置")
|
||||
private String problemArea;
|
||||
|
||||
/** 施工部位 */
|
||||
@Excel(name = "施工部位")
|
||||
private String workParts;
|
||||
|
||||
/** 整改要求 */
|
||||
@Excel(name = "整改要求")
|
||||
private String changeInfo;
|
||||
|
||||
/** 主送人姓名 */
|
||||
@Excel(name = "主送人姓名")
|
||||
private String lordSent;
|
||||
|
||||
/** 主送人手机号 */
|
||||
@Excel(name = "主送人手机号")
|
||||
private String lordSentUser;
|
||||
|
||||
/** 抄送人姓名 */
|
||||
@Excel(name = "抄送人姓名")
|
||||
private String copySend;
|
||||
|
||||
/** 抄送人手机号 */
|
||||
@Excel(name = "抄送人手机号")
|
||||
private String copySendUser;
|
||||
|
||||
/** 流程状态(0待整改,1待复检,3复检驳回,4复检通过) */
|
||||
@Excel(name = "流程状态", readConverterExp = "0=待整改,1待复检,3复检驳回,4复检通过")
|
||||
private Long checkState;
|
||||
|
||||
/** 整改定位 */
|
||||
@Excel(name = "整改定位")
|
||||
private String nickedArea;
|
||||
|
||||
/** 整改截至时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "整改截至时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date nickedTime;
|
||||
|
||||
/** 工程类型 */
|
||||
@Excel(name = "工程类型")
|
||||
private String projectType;
|
||||
|
||||
/** 工序名称 */
|
||||
@Excel(name = "工序名称")
|
||||
private String processName;
|
||||
|
||||
/** 工程名称 */
|
||||
@Excel(name = "工程名称")
|
||||
private String projectName;
|
||||
|
||||
/** 留痕说明 */
|
||||
@Excel(name = "留痕说明")
|
||||
private String nickedInfo;
|
||||
|
||||
/** 审核人 */
|
||||
@Excel(name = "审核人")
|
||||
private String checkUser;
|
||||
|
||||
/** 审核人手机号 */
|
||||
@Excel(name = "审核人手机号")
|
||||
private String checkUserPhone;
|
||||
|
||||
/** 智能公司展示的图片url */
|
||||
@Excel(name = "智能公司展示的图片url")
|
||||
private String smarkUrl;
|
||||
|
||||
/** 删除状态(0未删除,1已删除) */
|
||||
@Excel(name = "删除状态", readConverterExp = "0=未删除,1已删除")
|
||||
private Long isDel;
|
||||
|
||||
/** 创建人 */
|
||||
@Excel(name = "创建人")
|
||||
private String createUser;
|
||||
|
||||
/** 修改人 */
|
||||
@Excel(name = "修改人")
|
||||
private String updateUser;
|
||||
|
||||
/** 隐患类型 */
|
||||
@Excel(name = "隐患类型")
|
||||
private String dangerType;
|
||||
|
||||
/** 复检人 */
|
||||
@Excel(name = "复检人")
|
||||
private String recheckSend;
|
||||
|
||||
/** 复检人手机号 */
|
||||
@Excel(name = "复检人手机号")
|
||||
private String recheckSendUser;
|
||||
|
||||
/** 角色类型 */
|
||||
@Excel(name = "角色类型")
|
||||
private Long roleType;
|
||||
|
||||
/** 问题类型(1常规问题,2专项问题) */
|
||||
@Excel(name = "问题类型", readConverterExp = "1=常规问题,2专项问题")
|
||||
private String problemType;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setComId(Long comId)
|
||||
{
|
||||
this.comId = comId;
|
||||
}
|
||||
|
||||
public Long getComId()
|
||||
{
|
||||
return comId;
|
||||
}
|
||||
public void setProjectId(Long projectId)
|
||||
{
|
||||
this.projectId = projectId;
|
||||
}
|
||||
|
||||
public Long getProjectId()
|
||||
{
|
||||
return projectId;
|
||||
}
|
||||
public void setInfoType(Long infoType)
|
||||
{
|
||||
this.infoType = infoType;
|
||||
}
|
||||
|
||||
public Long getInfoType()
|
||||
{
|
||||
return infoType;
|
||||
}
|
||||
public void setMarksPicture(String marksPicture)
|
||||
{
|
||||
this.marksPicture = marksPicture;
|
||||
}
|
||||
|
||||
public String getMarksPicture()
|
||||
{
|
||||
return marksPicture;
|
||||
}
|
||||
public void setMarksVideo(String marksVideo)
|
||||
{
|
||||
this.marksVideo = marksVideo;
|
||||
}
|
||||
|
||||
public String getMarksVideo()
|
||||
{
|
||||
return marksVideo;
|
||||
}
|
||||
public void setProblemArea(String problemArea)
|
||||
{
|
||||
this.problemArea = problemArea;
|
||||
}
|
||||
|
||||
public String getProblemArea()
|
||||
{
|
||||
return problemArea;
|
||||
}
|
||||
public void setWorkParts(String workParts)
|
||||
{
|
||||
this.workParts = workParts;
|
||||
}
|
||||
|
||||
public String getWorkParts()
|
||||
{
|
||||
return workParts;
|
||||
}
|
||||
public void setChangeInfo(String changeInfo)
|
||||
{
|
||||
this.changeInfo = changeInfo;
|
||||
}
|
||||
|
||||
public String getChangeInfo()
|
||||
{
|
||||
return changeInfo;
|
||||
}
|
||||
public void setLordSent(String lordSent)
|
||||
{
|
||||
this.lordSent = lordSent;
|
||||
}
|
||||
|
||||
public String getLordSent()
|
||||
{
|
||||
return lordSent;
|
||||
}
|
||||
public void setLordSentUser(String lordSentUser)
|
||||
{
|
||||
this.lordSentUser = lordSentUser;
|
||||
}
|
||||
|
||||
public String getLordSentUser()
|
||||
{
|
||||
return lordSentUser;
|
||||
}
|
||||
public void setCopySend(String copySend)
|
||||
{
|
||||
this.copySend = copySend;
|
||||
}
|
||||
|
||||
public String getCopySend()
|
||||
{
|
||||
return copySend;
|
||||
}
|
||||
public void setCopySendUser(String copySendUser)
|
||||
{
|
||||
this.copySendUser = copySendUser;
|
||||
}
|
||||
|
||||
public String getCopySendUser()
|
||||
{
|
||||
return copySendUser;
|
||||
}
|
||||
public void setCheckState(Long checkState)
|
||||
{
|
||||
this.checkState = checkState;
|
||||
}
|
||||
|
||||
public Long getCheckState()
|
||||
{
|
||||
return checkState;
|
||||
}
|
||||
public void setNickedArea(String nickedArea)
|
||||
{
|
||||
this.nickedArea = nickedArea;
|
||||
}
|
||||
|
||||
public String getNickedArea()
|
||||
{
|
||||
return nickedArea;
|
||||
}
|
||||
public void setNickedTime(Date nickedTime)
|
||||
{
|
||||
this.nickedTime = nickedTime;
|
||||
}
|
||||
|
||||
public Date getNickedTime()
|
||||
{
|
||||
return nickedTime;
|
||||
}
|
||||
public void setProjectType(String projectType)
|
||||
{
|
||||
this.projectType = projectType;
|
||||
}
|
||||
|
||||
public String getProjectType()
|
||||
{
|
||||
return projectType;
|
||||
}
|
||||
public void setProcessName(String processName)
|
||||
{
|
||||
this.processName = processName;
|
||||
}
|
||||
|
||||
public String getProcessName()
|
||||
{
|
||||
return processName;
|
||||
}
|
||||
public void setProjectName(String projectName)
|
||||
{
|
||||
this.projectName = projectName;
|
||||
}
|
||||
|
||||
public String getProjectName()
|
||||
{
|
||||
return projectName;
|
||||
}
|
||||
public void setNickedInfo(String nickedInfo)
|
||||
{
|
||||
this.nickedInfo = nickedInfo;
|
||||
}
|
||||
|
||||
public String getNickedInfo()
|
||||
{
|
||||
return nickedInfo;
|
||||
}
|
||||
public void setCheckUser(String checkUser)
|
||||
{
|
||||
this.checkUser = checkUser;
|
||||
}
|
||||
|
||||
public String getCheckUser()
|
||||
{
|
||||
return checkUser;
|
||||
}
|
||||
public void setCheckUserPhone(String checkUserPhone)
|
||||
{
|
||||
this.checkUserPhone = checkUserPhone;
|
||||
}
|
||||
|
||||
public String getCheckUserPhone()
|
||||
{
|
||||
return checkUserPhone;
|
||||
}
|
||||
public void setSmarkUrl(String smarkUrl)
|
||||
{
|
||||
this.smarkUrl = smarkUrl;
|
||||
}
|
||||
|
||||
public String getSmarkUrl()
|
||||
{
|
||||
return smarkUrl;
|
||||
}
|
||||
public void setIsDel(Long isDel)
|
||||
{
|
||||
this.isDel = isDel;
|
||||
}
|
||||
|
||||
public Long getIsDel()
|
||||
{
|
||||
return isDel;
|
||||
}
|
||||
public void setCreateUser(String createUser)
|
||||
{
|
||||
this.createUser = createUser;
|
||||
}
|
||||
|
||||
public String getCreateUser()
|
||||
{
|
||||
return createUser;
|
||||
}
|
||||
public void setUpdateUser(String updateUser)
|
||||
{
|
||||
this.updateUser = updateUser;
|
||||
}
|
||||
|
||||
public String getUpdateUser()
|
||||
{
|
||||
return updateUser;
|
||||
}
|
||||
public void setDangerType(String dangerType)
|
||||
{
|
||||
this.dangerType = dangerType;
|
||||
}
|
||||
|
||||
public String getDangerType()
|
||||
{
|
||||
return dangerType;
|
||||
}
|
||||
public void setRecheckSend(String recheckSend)
|
||||
{
|
||||
this.recheckSend = recheckSend;
|
||||
}
|
||||
|
||||
public String getRecheckSend()
|
||||
{
|
||||
return recheckSend;
|
||||
}
|
||||
public void setRecheckSendUser(String recheckSendUser)
|
||||
{
|
||||
this.recheckSendUser = recheckSendUser;
|
||||
}
|
||||
|
||||
public String getRecheckSendUser()
|
||||
{
|
||||
return recheckSendUser;
|
||||
}
|
||||
public void setRoleType(Long roleType)
|
||||
{
|
||||
this.roleType = roleType;
|
||||
}
|
||||
|
||||
public Long getRoleType()
|
||||
{
|
||||
return roleType;
|
||||
}
|
||||
public void setProblemType(String problemType)
|
||||
{
|
||||
this.problemType = problemType;
|
||||
}
|
||||
|
||||
public String getProblemType()
|
||||
{
|
||||
return problemType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("comId", getComId())
|
||||
.append("projectId", getProjectId())
|
||||
.append("infoType", getInfoType())
|
||||
.append("marksPicture", getMarksPicture())
|
||||
.append("marksVideo", getMarksVideo())
|
||||
.append("problemArea", getProblemArea())
|
||||
.append("workParts", getWorkParts())
|
||||
.append("changeInfo", getChangeInfo())
|
||||
.append("lordSent", getLordSent())
|
||||
.append("lordSentUser", getLordSentUser())
|
||||
.append("copySend", getCopySend())
|
||||
.append("copySendUser", getCopySendUser())
|
||||
.append("checkState", getCheckState())
|
||||
.append("nickedArea", getNickedArea())
|
||||
.append("nickedTime", getNickedTime())
|
||||
.append("projectType", getProjectType())
|
||||
.append("processName", getProcessName())
|
||||
.append("projectName", getProjectName())
|
||||
.append("nickedInfo", getNickedInfo())
|
||||
.append("checkUser", getCheckUser())
|
||||
.append("checkUserPhone", getCheckUserPhone())
|
||||
.append("smarkUrl", getSmarkUrl())
|
||||
.append("isDel", getIsDel())
|
||||
.append("createUser", getCreateUser())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateUser", getUpdateUser())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("dangerType", getDangerType())
|
||||
.append("recheckSend", getRecheckSend())
|
||||
.append("recheckSendUser", getRecheckSendUser())
|
||||
.append("roleType", getRoleType())
|
||||
.append("problemType", getProblemType())
|
||||
.toString();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspAuditinfo;
|
||||
|
||||
/**
|
||||
* 隐患流程信息Mapper接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface SmzSspAuditinfoMapper
|
||||
{
|
||||
/**
|
||||
* 查询隐患流程信息
|
||||
*
|
||||
* @param id 隐患流程信息主键
|
||||
* @return 隐患流程信息
|
||||
*/
|
||||
public SmzSspAuditinfo selectSmzSspAuditinfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询隐患流程信息列表
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 隐患流程信息集合
|
||||
*/
|
||||
public List<SmzSspAuditinfo> selectSmzSspAuditinfoList(SmzSspAuditinfo smzSspAuditinfo);
|
||||
|
||||
/**
|
||||
* 新增隐患流程信息
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspAuditinfo(SmzSspAuditinfo smzSspAuditinfo);
|
||||
|
||||
/**
|
||||
* 修改隐患流程信息
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspAuditinfo(SmzSspAuditinfo smzSspAuditinfo);
|
||||
|
||||
/**
|
||||
* 删除隐患流程信息
|
||||
*
|
||||
* @param id 隐患流程信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspAuditinfoById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除隐患流程信息
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspAuditinfoByIds(Long[] ids);
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspFileinfo;
|
||||
|
||||
/**
|
||||
* 隐患文件信息Mapper接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface SmzSspFileinfoMapper
|
||||
{
|
||||
/**
|
||||
* 查询隐患文件信息
|
||||
*
|
||||
* @param id 隐患文件信息主键
|
||||
* @return 隐患文件信息
|
||||
*/
|
||||
public SmzSspFileinfo selectSmzSspFileinfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询隐患文件信息列表
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 隐患文件信息集合
|
||||
*/
|
||||
public List<SmzSspFileinfo> selectSmzSspFileinfoList(SmzSspFileinfo smzSspFileinfo);
|
||||
|
||||
/**
|
||||
* 新增隐患文件信息
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspFileinfo(SmzSspFileinfo smzSspFileinfo);
|
||||
|
||||
/**
|
||||
* 修改隐患文件信息
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspFileinfo(SmzSspFileinfo smzSspFileinfo);
|
||||
|
||||
/**
|
||||
* 删除隐患文件信息
|
||||
*
|
||||
* @param id 隐患文件信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspFileinfoById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除隐患文件信息
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspFileinfoByIds(Long[] ids);
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodifyDraft;
|
||||
|
||||
/**
|
||||
* 安全问题草稿Mapper接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface SmzSspProblemmodifyDraftMapper
|
||||
{
|
||||
/**
|
||||
* 查询安全问题草稿
|
||||
*
|
||||
* @param id 安全问题草稿主键
|
||||
* @return 安全问题草稿
|
||||
*/
|
||||
public SmzSspProblemmodifyDraft selectSmzSspProblemmodifyDraftById(Long id);
|
||||
|
||||
/**
|
||||
* 查询安全问题草稿列表
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 安全问题草稿集合
|
||||
*/
|
||||
public List<SmzSspProblemmodifyDraft> selectSmzSspProblemmodifyDraftList(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft);
|
||||
|
||||
/**
|
||||
* 新增安全问题草稿
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspProblemmodifyDraft(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft);
|
||||
|
||||
/**
|
||||
* 修改安全问题草稿
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspProblemmodifyDraft(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft);
|
||||
|
||||
/**
|
||||
* 删除安全问题草稿
|
||||
*
|
||||
* @param id 安全问题草稿主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyDraftById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除安全问题草稿
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyDraftByIds(Long[] ids);
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodify;
|
||||
|
||||
/**
|
||||
* 安全隐患整改Mapper接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface SmzSspProblemmodifyMapper
|
||||
{
|
||||
/**
|
||||
* 查询安全隐患整改
|
||||
*
|
||||
* @param id 安全隐患整改主键
|
||||
* @return 安全隐患整改
|
||||
*/
|
||||
public SmzSspProblemmodify selectSmzSspProblemmodifyById(Long id);
|
||||
|
||||
/**
|
||||
* 查询安全隐患整改列表
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 安全隐患整改集合
|
||||
*/
|
||||
public List<SmzSspProblemmodify> selectSmzSspProblemmodifyList(SmzSspProblemmodify smzSspProblemmodify);
|
||||
|
||||
/**
|
||||
* 新增安全隐患整改
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspProblemmodify(SmzSspProblemmodify smzSspProblemmodify);
|
||||
|
||||
/**
|
||||
* 修改安全隐患整改
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspProblemmodify(SmzSspProblemmodify smzSspProblemmodify);
|
||||
|
||||
/**
|
||||
* 删除安全隐患整改
|
||||
*
|
||||
* @param id 安全隐患整改主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除安全隐患整改
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyByIds(Long[] ids);
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
<?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.yanzhu.manage.mapper.SmzSspAuditinfoMapper">
|
||||
|
||||
<resultMap type="SmzSspAuditinfo" id="SmzSspAuditinfoResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="mainId" column="mainId" />
|
||||
<result property="processState" column="processState" />
|
||||
<result property="opinion" column="opinion" />
|
||||
<result property="isDel" column="isDel" />
|
||||
<result property="createUser" column="createUser" />
|
||||
<result property="createTime" column="createTime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSmzSspAuditinfoVo">
|
||||
select id, mainId, processState, opinion, isDel, createUser, createTime from smz_ssp_auditinfo
|
||||
</sql>
|
||||
|
||||
<select id="selectSmzSspAuditinfoList" parameterType="SmzSspAuditinfo" resultMap="SmzSspAuditinfoResult">
|
||||
<include refid="selectSmzSspAuditinfoVo"/>
|
||||
<where>
|
||||
<if test="mainId != null "> and mainId = #{mainId}</if>
|
||||
<if test="processState != null and processState != ''"> and processState = #{processState}</if>
|
||||
<if test="opinion != null and opinion != ''"> and opinion = #{opinion}</if>
|
||||
<if test="isDel != null "> and isDel = #{isDel}</if>
|
||||
<if test="createUser != null and createUser != ''"> and createUser = #{createUser}</if>
|
||||
<if test="createTime != null "> and createTime = #{createTime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectSmzSspAuditinfoById" parameterType="Long" resultMap="SmzSspAuditinfoResult">
|
||||
<include refid="selectSmzSspAuditinfoVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertSmzSspAuditinfo" parameterType="SmzSspAuditinfo" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into smz_ssp_auditinfo
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="mainId != null">mainId,</if>
|
||||
<if test="processState != null">processState,</if>
|
||||
<if test="opinion != null">opinion,</if>
|
||||
<if test="isDel != null">isDel,</if>
|
||||
<if test="createUser != null">createUser,</if>
|
||||
<if test="createTime != null">createTime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="mainId != null">#{mainId},</if>
|
||||
<if test="processState != null">#{processState},</if>
|
||||
<if test="opinion != null">#{opinion},</if>
|
||||
<if test="isDel != null">#{isDel},</if>
|
||||
<if test="createUser != null">#{createUser},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateSmzSspAuditinfo" parameterType="SmzSspAuditinfo">
|
||||
update smz_ssp_auditinfo
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="mainId != null">mainId = #{mainId},</if>
|
||||
<if test="processState != null">processState = #{processState},</if>
|
||||
<if test="opinion != null">opinion = #{opinion},</if>
|
||||
<if test="isDel != null">isDel = #{isDel},</if>
|
||||
<if test="createUser != null">createUser = #{createUser},</if>
|
||||
<if test="createTime != null">createTime = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteSmzSspAuditinfoById" parameterType="Long">
|
||||
delete from smz_ssp_auditinfo where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteSmzSspAuditinfoByIds" parameterType="String">
|
||||
delete from smz_ssp_auditinfo where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
|
@ -0,0 +1,91 @@
|
|||
<?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.yanzhu.manage.mapper.SmzSspFileinfoMapper">
|
||||
|
||||
<resultMap type="SmzSspFileinfo" id="SmzSspFileinfoResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="auditId" column="auditId" />
|
||||
<result property="fileType" column="fileType" />
|
||||
<result property="fileUrl" column="fileUrl" />
|
||||
<result property="isDel" column="isDel" />
|
||||
<result property="createUser" column="createUser" />
|
||||
<result property="createTime" column="createTime" />
|
||||
<result property="updateUser" column="updateUser" />
|
||||
<result property="updateTime" column="updateTime" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSmzSspFileinfoVo">
|
||||
select id, auditId, fileType, fileUrl, isDel, createUser, createTime, updateUser, updateTime from smz_ssp_fileinfo
|
||||
</sql>
|
||||
|
||||
<select id="selectSmzSspFileinfoList" parameterType="SmzSspFileinfo" resultMap="SmzSspFileinfoResult">
|
||||
<include refid="selectSmzSspFileinfoVo"/>
|
||||
<where>
|
||||
<if test="auditId != null "> and auditId = #{auditId}</if>
|
||||
<if test="fileType != null "> and fileType = #{fileType}</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and fileUrl = #{fileUrl}</if>
|
||||
<if test="isDel != null "> and isDel = #{isDel}</if>
|
||||
<if test="createUser != null and createUser != ''"> and createUser = #{createUser}</if>
|
||||
<if test="createTime != null "> and createTime = #{createTime}</if>
|
||||
<if test="updateUser != null and updateUser != ''"> and updateUser = #{updateUser}</if>
|
||||
<if test="updateTime != null "> and updateTime = #{updateTime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectSmzSspFileinfoById" parameterType="Long" resultMap="SmzSspFileinfoResult">
|
||||
<include refid="selectSmzSspFileinfoVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertSmzSspFileinfo" parameterType="SmzSspFileinfo" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into smz_ssp_fileinfo
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="auditId != null">auditId,</if>
|
||||
<if test="fileType != null">fileType,</if>
|
||||
<if test="fileUrl != null">fileUrl,</if>
|
||||
<if test="isDel != null">isDel,</if>
|
||||
<if test="createUser != null">createUser,</if>
|
||||
<if test="createTime != null">createTime,</if>
|
||||
<if test="updateUser != null">updateUser,</if>
|
||||
<if test="updateTime != null">updateTime,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="auditId != null">#{auditId},</if>
|
||||
<if test="fileType != null">#{fileType},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="isDel != null">#{isDel},</if>
|
||||
<if test="createUser != null">#{createUser},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateUser != null">#{updateUser},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateSmzSspFileinfo" parameterType="SmzSspFileinfo">
|
||||
update smz_ssp_fileinfo
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="auditId != null">auditId = #{auditId},</if>
|
||||
<if test="fileType != null">fileType = #{fileType},</if>
|
||||
<if test="fileUrl != null">fileUrl = #{fileUrl},</if>
|
||||
<if test="isDel != null">isDel = #{isDel},</if>
|
||||
<if test="createUser != null">createUser = #{createUser},</if>
|
||||
<if test="createTime != null">createTime = #{createTime},</if>
|
||||
<if test="updateUser != null">updateUser = #{updateUser},</if>
|
||||
<if test="updateTime != null">updateTime = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteSmzSspFileinfoById" parameterType="Long">
|
||||
delete from smz_ssp_fileinfo where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteSmzSspFileinfoByIds" parameterType="String">
|
||||
delete from smz_ssp_fileinfo where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
|
@ -0,0 +1,211 @@
|
|||
<?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.yanzhu.manage.mapper.SmzSspProblemmodifyDraftMapper">
|
||||
|
||||
<resultMap type="SmzSspProblemmodifyDraft" id="SmzSspProblemmodifyDraftResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="comId" column="comId" />
|
||||
<result property="projectId" column="projectId" />
|
||||
<result property="infoType" column="infoType" />
|
||||
<result property="marksPicture" column="marks_picture" />
|
||||
<result property="marksVideo" column="marks_video" />
|
||||
<result property="problemArea" column="problemArea" />
|
||||
<result property="workParts" column="workParts" />
|
||||
<result property="changeInfo" column="changeInfo" />
|
||||
<result property="lordSent" column="lordSent" />
|
||||
<result property="lordSentUser" column="lordSentUser" />
|
||||
<result property="copySend" column="copySend" />
|
||||
<result property="copySendUser" column="copySendUser" />
|
||||
<result property="checkState" column="checkState" />
|
||||
<result property="nickedArea" column="nickedArea" />
|
||||
<result property="nickedTime" column="nickedTime" />
|
||||
<result property="projectType" column="projectType" />
|
||||
<result property="processName" column="processName" />
|
||||
<result property="projectName" column="projectName" />
|
||||
<result property="nickedInfo" column="nickedInfo" />
|
||||
<result property="checkUser" column="checkUser" />
|
||||
<result property="checkUserPhone" column="checkUserPhone" />
|
||||
<result property="smarkUrl" column="smark_url" />
|
||||
<result property="isDel" column="isDel" />
|
||||
<result property="createUser" column="createUser" />
|
||||
<result property="createTime" column="createTime" />
|
||||
<result property="updateUser" column="updateUser" />
|
||||
<result property="updateTime" column="updateTime" />
|
||||
<result property="dangerType" column="danger_type" />
|
||||
<result property="recheckSend" column="recheckSend" />
|
||||
<result property="recheckSendUser" column="recheckSendUser" />
|
||||
<result property="roleType" column="roleType" />
|
||||
<result property="problemType" column="problemType" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSmzSspProblemmodifyDraftVo">
|
||||
select id, comId, projectId, infoType, marks_picture, marks_video, problemArea, workParts, changeInfo, lordSent, lordSentUser, copySend, copySendUser, checkState, nickedArea, nickedTime, projectType, processName, projectName, nickedInfo, checkUser, checkUserPhone, smark_url, isDel, createUser, createTime, updateUser, updateTime, danger_type, recheckSend, recheckSendUser, roleType, problemType from smz_ssp_problemmodify_draft
|
||||
</sql>
|
||||
|
||||
<select id="selectSmzSspProblemmodifyDraftList" parameterType="SmzSspProblemmodifyDraft" resultMap="SmzSspProblemmodifyDraftResult">
|
||||
<include refid="selectSmzSspProblemmodifyDraftVo"/>
|
||||
<where>
|
||||
<if test="comId != null "> and comId = #{comId}</if>
|
||||
<if test="projectId != null "> and projectId = #{projectId}</if>
|
||||
<if test="infoType != null "> and infoType = #{infoType}</if>
|
||||
<if test="marksPicture != null and marksPicture != ''"> and marks_picture = #{marksPicture}</if>
|
||||
<if test="marksVideo != null and marksVideo != ''"> and marks_video = #{marksVideo}</if>
|
||||
<if test="problemArea != null and problemArea != ''"> and problemArea = #{problemArea}</if>
|
||||
<if test="workParts != null and workParts != ''"> and workParts = #{workParts}</if>
|
||||
<if test="changeInfo != null and changeInfo != ''"> and changeInfo = #{changeInfo}</if>
|
||||
<if test="lordSent != null and lordSent != ''"> and lordSent = #{lordSent}</if>
|
||||
<if test="lordSentUser != null and lordSentUser != ''"> and lordSentUser = #{lordSentUser}</if>
|
||||
<if test="copySend != null and copySend != ''"> and copySend = #{copySend}</if>
|
||||
<if test="copySendUser != null and copySendUser != ''"> and copySendUser = #{copySendUser}</if>
|
||||
<if test="checkState != null "> and checkState = #{checkState}</if>
|
||||
<if test="nickedArea != null and nickedArea != ''"> and nickedArea = #{nickedArea}</if>
|
||||
<if test="nickedTime != null "> and nickedTime = #{nickedTime}</if>
|
||||
<if test="projectType != null and projectType != ''"> and projectType = #{projectType}</if>
|
||||
<if test="processName != null and processName != ''"> and processName like concat('%', #{processName}, '%')</if>
|
||||
<if test="projectName != null and projectName != ''"> and projectName like concat('%', #{projectName}, '%')</if>
|
||||
<if test="nickedInfo != null and nickedInfo != ''"> and nickedInfo = #{nickedInfo}</if>
|
||||
<if test="checkUser != null and checkUser != ''"> and checkUser = #{checkUser}</if>
|
||||
<if test="checkUserPhone != null and checkUserPhone != ''"> and checkUserPhone = #{checkUserPhone}</if>
|
||||
<if test="smarkUrl != null and smarkUrl != ''"> and smark_url = #{smarkUrl}</if>
|
||||
<if test="isDel != null "> and isDel = #{isDel}</if>
|
||||
<if test="createUser != null and createUser != ''"> and createUser = #{createUser}</if>
|
||||
<if test="createTime != null "> and createTime = #{createTime}</if>
|
||||
<if test="updateUser != null and updateUser != ''"> and updateUser = #{updateUser}</if>
|
||||
<if test="updateTime != null "> and updateTime = #{updateTime}</if>
|
||||
<if test="dangerType != null and dangerType != ''"> and danger_type = #{dangerType}</if>
|
||||
<if test="recheckSend != null and recheckSend != ''"> and recheckSend = #{recheckSend}</if>
|
||||
<if test="recheckSendUser != null and recheckSendUser != ''"> and recheckSendUser = #{recheckSendUser}</if>
|
||||
<if test="roleType != null "> and roleType = #{roleType}</if>
|
||||
<if test="problemType != null and problemType != ''"> and problemType = #{problemType}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectSmzSspProblemmodifyDraftById" parameterType="Long" resultMap="SmzSspProblemmodifyDraftResult">
|
||||
<include refid="selectSmzSspProblemmodifyDraftVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertSmzSspProblemmodifyDraft" parameterType="SmzSspProblemmodifyDraft" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into smz_ssp_problemmodify_draft
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="comId != null">comId,</if>
|
||||
<if test="projectId != null">projectId,</if>
|
||||
<if test="infoType != null">infoType,</if>
|
||||
<if test="marksPicture != null">marks_picture,</if>
|
||||
<if test="marksVideo != null">marks_video,</if>
|
||||
<if test="problemArea != null">problemArea,</if>
|
||||
<if test="workParts != null">workParts,</if>
|
||||
<if test="changeInfo != null">changeInfo,</if>
|
||||
<if test="lordSent != null">lordSent,</if>
|
||||
<if test="lordSentUser != null">lordSentUser,</if>
|
||||
<if test="copySend != null">copySend,</if>
|
||||
<if test="copySendUser != null">copySendUser,</if>
|
||||
<if test="checkState != null">checkState,</if>
|
||||
<if test="nickedArea != null">nickedArea,</if>
|
||||
<if test="nickedTime != null">nickedTime,</if>
|
||||
<if test="projectType != null">projectType,</if>
|
||||
<if test="processName != null">processName,</if>
|
||||
<if test="projectName != null">projectName,</if>
|
||||
<if test="nickedInfo != null">nickedInfo,</if>
|
||||
<if test="checkUser != null">checkUser,</if>
|
||||
<if test="checkUserPhone != null">checkUserPhone,</if>
|
||||
<if test="smarkUrl != null">smark_url,</if>
|
||||
<if test="isDel != null">isDel,</if>
|
||||
<if test="createUser != null">createUser,</if>
|
||||
<if test="createTime != null">createTime,</if>
|
||||
<if test="updateUser != null">updateUser,</if>
|
||||
<if test="updateTime != null">updateTime,</if>
|
||||
<if test="dangerType != null">danger_type,</if>
|
||||
<if test="recheckSend != null">recheckSend,</if>
|
||||
<if test="recheckSendUser != null">recheckSendUser,</if>
|
||||
<if test="roleType != null">roleType,</if>
|
||||
<if test="problemType != null">problemType,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="comId != null">#{comId},</if>
|
||||
<if test="projectId != null">#{projectId},</if>
|
||||
<if test="infoType != null">#{infoType},</if>
|
||||
<if test="marksPicture != null">#{marksPicture},</if>
|
||||
<if test="marksVideo != null">#{marksVideo},</if>
|
||||
<if test="problemArea != null">#{problemArea},</if>
|
||||
<if test="workParts != null">#{workParts},</if>
|
||||
<if test="changeInfo != null">#{changeInfo},</if>
|
||||
<if test="lordSent != null">#{lordSent},</if>
|
||||
<if test="lordSentUser != null">#{lordSentUser},</if>
|
||||
<if test="copySend != null">#{copySend},</if>
|
||||
<if test="copySendUser != null">#{copySendUser},</if>
|
||||
<if test="checkState != null">#{checkState},</if>
|
||||
<if test="nickedArea != null">#{nickedArea},</if>
|
||||
<if test="nickedTime != null">#{nickedTime},</if>
|
||||
<if test="projectType != null">#{projectType},</if>
|
||||
<if test="processName != null">#{processName},</if>
|
||||
<if test="projectName != null">#{projectName},</if>
|
||||
<if test="nickedInfo != null">#{nickedInfo},</if>
|
||||
<if test="checkUser != null">#{checkUser},</if>
|
||||
<if test="checkUserPhone != null">#{checkUserPhone},</if>
|
||||
<if test="smarkUrl != null">#{smarkUrl},</if>
|
||||
<if test="isDel != null">#{isDel},</if>
|
||||
<if test="createUser != null">#{createUser},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateUser != null">#{updateUser},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="dangerType != null">#{dangerType},</if>
|
||||
<if test="recheckSend != null">#{recheckSend},</if>
|
||||
<if test="recheckSendUser != null">#{recheckSendUser},</if>
|
||||
<if test="roleType != null">#{roleType},</if>
|
||||
<if test="problemType != null">#{problemType},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateSmzSspProblemmodifyDraft" parameterType="SmzSspProblemmodifyDraft">
|
||||
update smz_ssp_problemmodify_draft
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="comId != null">comId = #{comId},</if>
|
||||
<if test="projectId != null">projectId = #{projectId},</if>
|
||||
<if test="infoType != null">infoType = #{infoType},</if>
|
||||
<if test="marksPicture != null">marks_picture = #{marksPicture},</if>
|
||||
<if test="marksVideo != null">marks_video = #{marksVideo},</if>
|
||||
<if test="problemArea != null">problemArea = #{problemArea},</if>
|
||||
<if test="workParts != null">workParts = #{workParts},</if>
|
||||
<if test="changeInfo != null">changeInfo = #{changeInfo},</if>
|
||||
<if test="lordSent != null">lordSent = #{lordSent},</if>
|
||||
<if test="lordSentUser != null">lordSentUser = #{lordSentUser},</if>
|
||||
<if test="copySend != null">copySend = #{copySend},</if>
|
||||
<if test="copySendUser != null">copySendUser = #{copySendUser},</if>
|
||||
<if test="checkState != null">checkState = #{checkState},</if>
|
||||
<if test="nickedArea != null">nickedArea = #{nickedArea},</if>
|
||||
<if test="nickedTime != null">nickedTime = #{nickedTime},</if>
|
||||
<if test="projectType != null">projectType = #{projectType},</if>
|
||||
<if test="processName != null">processName = #{processName},</if>
|
||||
<if test="projectName != null">projectName = #{projectName},</if>
|
||||
<if test="nickedInfo != null">nickedInfo = #{nickedInfo},</if>
|
||||
<if test="checkUser != null">checkUser = #{checkUser},</if>
|
||||
<if test="checkUserPhone != null">checkUserPhone = #{checkUserPhone},</if>
|
||||
<if test="smarkUrl != null">smark_url = #{smarkUrl},</if>
|
||||
<if test="isDel != null">isDel = #{isDel},</if>
|
||||
<if test="createUser != null">createUser = #{createUser},</if>
|
||||
<if test="createTime != null">createTime = #{createTime},</if>
|
||||
<if test="updateUser != null">updateUser = #{updateUser},</if>
|
||||
<if test="updateTime != null">updateTime = #{updateTime},</if>
|
||||
<if test="dangerType != null">danger_type = #{dangerType},</if>
|
||||
<if test="recheckSend != null">recheckSend = #{recheckSend},</if>
|
||||
<if test="recheckSendUser != null">recheckSendUser = #{recheckSendUser},</if>
|
||||
<if test="roleType != null">roleType = #{roleType},</if>
|
||||
<if test="problemType != null">problemType = #{problemType},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteSmzSspProblemmodifyDraftById" parameterType="Long">
|
||||
delete from smz_ssp_problemmodify_draft where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteSmzSspProblemmodifyDraftByIds" parameterType="String">
|
||||
delete from smz_ssp_problemmodify_draft where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
|
@ -0,0 +1,216 @@
|
|||
<?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.yanzhu.manage.mapper.SmzSspProblemmodifyMapper">
|
||||
|
||||
<resultMap type="SmzSspProblemmodify" id="SmzSspProblemmodifyResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="comId" column="comId" />
|
||||
<result property="projectId" column="projectId" />
|
||||
<result property="infoType" column="infoType" />
|
||||
<result property="marksPicture" column="marks_picture" />
|
||||
<result property="marksVideo" column="marks_video" />
|
||||
<result property="correctionPicture" column="correction_picture" />
|
||||
<result property="problemArea" column="problemArea" />
|
||||
<result property="workParts" column="workParts" />
|
||||
<result property="changeInfo" column="changeInfo" />
|
||||
<result property="lordSent" column="lordSent" />
|
||||
<result property="lordSentUser" column="lordSentUser" />
|
||||
<result property="copySend" column="copySend" />
|
||||
<result property="copySendUser" column="copySendUser" />
|
||||
<result property="checkState" column="checkState" />
|
||||
<result property="nickedArea" column="nickedArea" />
|
||||
<result property="nickedTime" column="nickedTime" />
|
||||
<result property="projectType" column="projectType" />
|
||||
<result property="processName" column="processName" />
|
||||
<result property="projectName" column="projectName" />
|
||||
<result property="nickedInfo" column="nickedInfo" />
|
||||
<result property="checkUser" column="checkUser" />
|
||||
<result property="checkUserPhone" column="checkUserPhone" />
|
||||
<result property="smarkUrl" column="smark_url" />
|
||||
<result property="isDel" column="isDel" />
|
||||
<result property="createUser" column="createUser" />
|
||||
<result property="createTime" column="createTime" />
|
||||
<result property="updateUser" column="updateUser" />
|
||||
<result property="updateTime" column="updateTime" />
|
||||
<result property="dangerType" column="danger_type" />
|
||||
<result property="recheckSend" column="recheckSend" />
|
||||
<result property="recheckSendUser" column="recheckSendUser" />
|
||||
<result property="roleType" column="roleType" />
|
||||
<result property="problemType" column="problemType" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSmzSspProblemmodifyVo">
|
||||
select id, comId, projectId, infoType, marks_picture, marks_video, correction_picture, problemArea, workParts, changeInfo, lordSent, lordSentUser, copySend, copySendUser, checkState, nickedArea, nickedTime, projectType, processName, projectName, nickedInfo, checkUser, checkUserPhone, smark_url, isDel, createUser, createTime, updateUser, updateTime, danger_type, recheckSend, recheckSendUser, roleType, problemType from smz_ssp_problemmodify
|
||||
</sql>
|
||||
|
||||
<select id="selectSmzSspProblemmodifyList" parameterType="SmzSspProblemmodify" resultMap="SmzSspProblemmodifyResult">
|
||||
<include refid="selectSmzSspProblemmodifyVo"/>
|
||||
<where>
|
||||
<if test="comId != null "> and comId = #{comId}</if>
|
||||
<if test="projectId != null "> and projectId = #{projectId}</if>
|
||||
<if test="infoType != null "> and infoType = #{infoType}</if>
|
||||
<if test="marksPicture != null and marksPicture != ''"> and marks_picture = #{marksPicture}</if>
|
||||
<if test="marksVideo != null and marksVideo != ''"> and marks_video = #{marksVideo}</if>
|
||||
<if test="correctionPicture != null and correctionPicture != ''"> and correction_picture = #{correctionPicture}</if>
|
||||
<if test="problemArea != null and problemArea != ''"> and problemArea = #{problemArea}</if>
|
||||
<if test="workParts != null and workParts != ''"> and workParts = #{workParts}</if>
|
||||
<if test="changeInfo != null and changeInfo != ''"> and changeInfo = #{changeInfo}</if>
|
||||
<if test="lordSent != null and lordSent != ''"> and lordSent = #{lordSent}</if>
|
||||
<if test="lordSentUser != null and lordSentUser != ''"> and lordSentUser = #{lordSentUser}</if>
|
||||
<if test="copySend != null and copySend != ''"> and copySend = #{copySend}</if>
|
||||
<if test="copySendUser != null and copySendUser != ''"> and copySendUser = #{copySendUser}</if>
|
||||
<if test="checkState != null "> and checkState = #{checkState}</if>
|
||||
<if test="nickedArea != null and nickedArea != ''"> and nickedArea = #{nickedArea}</if>
|
||||
<if test="nickedTime != null "> and nickedTime = #{nickedTime}</if>
|
||||
<if test="projectType != null and projectType != ''"> and projectType = #{projectType}</if>
|
||||
<if test="processName != null and processName != ''"> and processName like concat('%', #{processName}, '%')</if>
|
||||
<if test="projectName != null and projectName != ''"> and projectName like concat('%', #{projectName}, '%')</if>
|
||||
<if test="nickedInfo != null and nickedInfo != ''"> and nickedInfo = #{nickedInfo}</if>
|
||||
<if test="checkUser != null and checkUser != ''"> and checkUser = #{checkUser}</if>
|
||||
<if test="checkUserPhone != null and checkUserPhone != ''"> and checkUserPhone = #{checkUserPhone}</if>
|
||||
<if test="smarkUrl != null and smarkUrl != ''"> and smark_url = #{smarkUrl}</if>
|
||||
<if test="isDel != null "> and isDel = #{isDel}</if>
|
||||
<if test="createUser != null and createUser != ''"> and createUser = #{createUser}</if>
|
||||
<if test="createTime != null "> and createTime = #{createTime}</if>
|
||||
<if test="updateUser != null and updateUser != ''"> and updateUser = #{updateUser}</if>
|
||||
<if test="updateTime != null "> and updateTime = #{updateTime}</if>
|
||||
<if test="dangerType != null and dangerType != ''"> and danger_type = #{dangerType}</if>
|
||||
<if test="recheckSend != null and recheckSend != ''"> and recheckSend = #{recheckSend}</if>
|
||||
<if test="recheckSendUser != null and recheckSendUser != ''"> and recheckSendUser = #{recheckSendUser}</if>
|
||||
<if test="roleType != null "> and roleType = #{roleType}</if>
|
||||
<if test="problemType != null and problemType != ''"> and problemType = #{problemType}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectSmzSspProblemmodifyById" parameterType="Long" resultMap="SmzSspProblemmodifyResult">
|
||||
<include refid="selectSmzSspProblemmodifyVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertSmzSspProblemmodify" parameterType="SmzSspProblemmodify" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into smz_ssp_problemmodify
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="comId != null">comId,</if>
|
||||
<if test="projectId != null">projectId,</if>
|
||||
<if test="infoType != null">infoType,</if>
|
||||
<if test="marksPicture != null">marks_picture,</if>
|
||||
<if test="marksVideo != null">marks_video,</if>
|
||||
<if test="correctionPicture != null">correction_picture,</if>
|
||||
<if test="problemArea != null">problemArea,</if>
|
||||
<if test="workParts != null">workParts,</if>
|
||||
<if test="changeInfo != null">changeInfo,</if>
|
||||
<if test="lordSent != null">lordSent,</if>
|
||||
<if test="lordSentUser != null">lordSentUser,</if>
|
||||
<if test="copySend != null">copySend,</if>
|
||||
<if test="copySendUser != null">copySendUser,</if>
|
||||
<if test="checkState != null">checkState,</if>
|
||||
<if test="nickedArea != null">nickedArea,</if>
|
||||
<if test="nickedTime != null">nickedTime,</if>
|
||||
<if test="projectType != null">projectType,</if>
|
||||
<if test="processName != null">processName,</if>
|
||||
<if test="projectName != null">projectName,</if>
|
||||
<if test="nickedInfo != null">nickedInfo,</if>
|
||||
<if test="checkUser != null">checkUser,</if>
|
||||
<if test="checkUserPhone != null">checkUserPhone,</if>
|
||||
<if test="smarkUrl != null">smark_url,</if>
|
||||
<if test="isDel != null">isDel,</if>
|
||||
<if test="createUser != null">createUser,</if>
|
||||
<if test="createTime != null">createTime,</if>
|
||||
<if test="updateUser != null">updateUser,</if>
|
||||
<if test="updateTime != null">updateTime,</if>
|
||||
<if test="dangerType != null">danger_type,</if>
|
||||
<if test="recheckSend != null">recheckSend,</if>
|
||||
<if test="recheckSendUser != null">recheckSendUser,</if>
|
||||
<if test="roleType != null">roleType,</if>
|
||||
<if test="problemType != null">problemType,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="comId != null">#{comId},</if>
|
||||
<if test="projectId != null">#{projectId},</if>
|
||||
<if test="infoType != null">#{infoType},</if>
|
||||
<if test="marksPicture != null">#{marksPicture},</if>
|
||||
<if test="marksVideo != null">#{marksVideo},</if>
|
||||
<if test="correctionPicture != null">#{correctionPicture},</if>
|
||||
<if test="problemArea != null">#{problemArea},</if>
|
||||
<if test="workParts != null">#{workParts},</if>
|
||||
<if test="changeInfo != null">#{changeInfo},</if>
|
||||
<if test="lordSent != null">#{lordSent},</if>
|
||||
<if test="lordSentUser != null">#{lordSentUser},</if>
|
||||
<if test="copySend != null">#{copySend},</if>
|
||||
<if test="copySendUser != null">#{copySendUser},</if>
|
||||
<if test="checkState != null">#{checkState},</if>
|
||||
<if test="nickedArea != null">#{nickedArea},</if>
|
||||
<if test="nickedTime != null">#{nickedTime},</if>
|
||||
<if test="projectType != null">#{projectType},</if>
|
||||
<if test="processName != null">#{processName},</if>
|
||||
<if test="projectName != null">#{projectName},</if>
|
||||
<if test="nickedInfo != null">#{nickedInfo},</if>
|
||||
<if test="checkUser != null">#{checkUser},</if>
|
||||
<if test="checkUserPhone != null">#{checkUserPhone},</if>
|
||||
<if test="smarkUrl != null">#{smarkUrl},</if>
|
||||
<if test="isDel != null">#{isDel},</if>
|
||||
<if test="createUser != null">#{createUser},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateUser != null">#{updateUser},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="dangerType != null">#{dangerType},</if>
|
||||
<if test="recheckSend != null">#{recheckSend},</if>
|
||||
<if test="recheckSendUser != null">#{recheckSendUser},</if>
|
||||
<if test="roleType != null">#{roleType},</if>
|
||||
<if test="problemType != null">#{problemType},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateSmzSspProblemmodify" parameterType="SmzSspProblemmodify">
|
||||
update smz_ssp_problemmodify
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="comId != null">comId = #{comId},</if>
|
||||
<if test="projectId != null">projectId = #{projectId},</if>
|
||||
<if test="infoType != null">infoType = #{infoType},</if>
|
||||
<if test="marksPicture != null">marks_picture = #{marksPicture},</if>
|
||||
<if test="marksVideo != null">marks_video = #{marksVideo},</if>
|
||||
<if test="correctionPicture != null">correction_picture = #{correctionPicture},</if>
|
||||
<if test="problemArea != null">problemArea = #{problemArea},</if>
|
||||
<if test="workParts != null">workParts = #{workParts},</if>
|
||||
<if test="changeInfo != null">changeInfo = #{changeInfo},</if>
|
||||
<if test="lordSent != null">lordSent = #{lordSent},</if>
|
||||
<if test="lordSentUser != null">lordSentUser = #{lordSentUser},</if>
|
||||
<if test="copySend != null">copySend = #{copySend},</if>
|
||||
<if test="copySendUser != null">copySendUser = #{copySendUser},</if>
|
||||
<if test="checkState != null">checkState = #{checkState},</if>
|
||||
<if test="nickedArea != null">nickedArea = #{nickedArea},</if>
|
||||
<if test="nickedTime != null">nickedTime = #{nickedTime},</if>
|
||||
<if test="projectType != null">projectType = #{projectType},</if>
|
||||
<if test="processName != null">processName = #{processName},</if>
|
||||
<if test="projectName != null">projectName = #{projectName},</if>
|
||||
<if test="nickedInfo != null">nickedInfo = #{nickedInfo},</if>
|
||||
<if test="checkUser != null">checkUser = #{checkUser},</if>
|
||||
<if test="checkUserPhone != null">checkUserPhone = #{checkUserPhone},</if>
|
||||
<if test="smarkUrl != null">smark_url = #{smarkUrl},</if>
|
||||
<if test="isDel != null">isDel = #{isDel},</if>
|
||||
<if test="createUser != null">createUser = #{createUser},</if>
|
||||
<if test="createTime != null">createTime = #{createTime},</if>
|
||||
<if test="updateUser != null">updateUser = #{updateUser},</if>
|
||||
<if test="updateTime != null">updateTime = #{updateTime},</if>
|
||||
<if test="dangerType != null">danger_type = #{dangerType},</if>
|
||||
<if test="recheckSend != null">recheckSend = #{recheckSend},</if>
|
||||
<if test="recheckSendUser != null">recheckSendUser = #{recheckSendUser},</if>
|
||||
<if test="roleType != null">roleType = #{roleType},</if>
|
||||
<if test="problemType != null">problemType = #{problemType},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteSmzSspProblemmodifyById" parameterType="Long">
|
||||
delete from smz_ssp_problemmodify where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteSmzSspProblemmodifyByIds" parameterType="String">
|
||||
delete from smz_ssp_problemmodify where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
|
@ -0,0 +1,106 @@
|
|||
package com.yanzhu.manage.controller;
|
||||
|
||||
import java.util.List;
|
||||
import java.io.IOException;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.yanzhu.manage.domain.SmzSspAuditinfo;
|
||||
import com.yanzhu.manage.service.ISmzSspAuditinfoService;
|
||||
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.yanzhu.common.core.utils.poi.ExcelUtil;
|
||||
import com.yanzhu.common.core.web.controller.BaseController;
|
||||
import com.yanzhu.common.core.web.domain.AjaxResult;
|
||||
import com.yanzhu.common.core.web.page.TableDataInfo;
|
||||
import com.yanzhu.common.log.annotation.Log;
|
||||
import com.yanzhu.common.log.enums.BusinessType;
|
||||
import com.yanzhu.common.security.annotation.RequiresPermissions;
|
||||
|
||||
/**
|
||||
* 隐患流程信息Controller
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/auditinfo")
|
||||
public class SmzSspAuditinfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ISmzSspAuditinfoService smzSspAuditinfoService;
|
||||
|
||||
/**
|
||||
* 查询隐患流程信息列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:auditinfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
startPage();
|
||||
List<SmzSspAuditinfo> list = smzSspAuditinfoService.selectSmzSspAuditinfoList(smzSspAuditinfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出隐患流程信息列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:auditinfo:export")
|
||||
@Log(title = "隐患流程信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
List<SmzSspAuditinfo> list = smzSspAuditinfoService.selectSmzSspAuditinfoList(smzSspAuditinfo);
|
||||
ExcelUtil<SmzSspAuditinfo> util = new ExcelUtil<SmzSspAuditinfo>(SmzSspAuditinfo.class);
|
||||
util.exportExcel(response, list, "隐患流程信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取隐患流程信息详细信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:auditinfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(smzSspAuditinfoService.selectSmzSspAuditinfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增隐患流程信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:auditinfo:add")
|
||||
@Log(title = "隐患流程信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
return toAjax(smzSspAuditinfoService.insertSmzSspAuditinfo(smzSspAuditinfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改隐患流程信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:auditinfo:edit")
|
||||
@Log(title = "隐患流程信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
return toAjax(smzSspAuditinfoService.updateSmzSspAuditinfo(smzSspAuditinfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除隐患流程信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:auditinfo:remove")
|
||||
@Log(title = "隐患流程信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(smzSspAuditinfoService.deleteSmzSspAuditinfoByIds(ids));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
package com.yanzhu.manage.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.yanzhu.manage.domain.SmzSspFileinfo;
|
||||
import com.yanzhu.manage.service.ISmzSspFileinfoService;
|
||||
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.yanzhu.common.core.utils.poi.ExcelUtil;
|
||||
import com.yanzhu.common.core.web.controller.BaseController;
|
||||
import com.yanzhu.common.core.web.domain.AjaxResult;
|
||||
import com.yanzhu.common.core.web.page.TableDataInfo;
|
||||
import com.yanzhu.common.log.annotation.Log;
|
||||
import com.yanzhu.common.log.enums.BusinessType;
|
||||
import com.yanzhu.common.security.annotation.RequiresPermissions;
|
||||
|
||||
/**
|
||||
* 隐患文件信息Controller
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/fileinfo")
|
||||
public class SmzSspFileinfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ISmzSspFileinfoService smzSspFileinfoService;
|
||||
|
||||
/**
|
||||
* 查询隐患文件信息列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:fileinfo:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
startPage();
|
||||
List<SmzSspFileinfo> list = smzSspFileinfoService.selectSmzSspFileinfoList(smzSspFileinfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出隐患文件信息列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:fileinfo:export")
|
||||
@Log(title = "隐患文件信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
List<SmzSspFileinfo> list = smzSspFileinfoService.selectSmzSspFileinfoList(smzSspFileinfo);
|
||||
ExcelUtil<SmzSspFileinfo> util = new ExcelUtil<SmzSspFileinfo>(SmzSspFileinfo.class);
|
||||
util.exportExcel(response, list, "隐患文件信息数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取隐患文件信息详细信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:fileinfo:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(smzSspFileinfoService.selectSmzSspFileinfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增隐患文件信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:fileinfo:add")
|
||||
@Log(title = "隐患文件信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
return toAjax(smzSspFileinfoService.insertSmzSspFileinfo(smzSspFileinfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改隐患文件信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:fileinfo:edit")
|
||||
@Log(title = "隐患文件信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
return toAjax(smzSspFileinfoService.updateSmzSspFileinfo(smzSspFileinfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除隐患文件信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:fileinfo:remove")
|
||||
@Log(title = "隐患文件信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(smzSspFileinfoService.deleteSmzSspFileinfoByIds(ids));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
package com.yanzhu.manage.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodify;
|
||||
import com.yanzhu.manage.service.ISmzSspProblemmodifyService;
|
||||
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.yanzhu.common.core.utils.poi.ExcelUtil;
|
||||
import com.yanzhu.common.core.web.controller.BaseController;
|
||||
import com.yanzhu.common.core.web.domain.AjaxResult;
|
||||
import com.yanzhu.common.core.web.page.TableDataInfo;
|
||||
import com.yanzhu.common.log.annotation.Log;
|
||||
import com.yanzhu.common.log.enums.BusinessType;
|
||||
import com.yanzhu.common.security.annotation.RequiresPermissions;
|
||||
|
||||
/**
|
||||
* 安全隐患整改Controller
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/problemmodify")
|
||||
public class SmzSspProblemmodifyController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ISmzSspProblemmodifyService smzSspProblemmodifyService;
|
||||
|
||||
/**
|
||||
* 查询安全隐患整改列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodify:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
startPage();
|
||||
List<SmzSspProblemmodify> list = smzSspProblemmodifyService.selectSmzSspProblemmodifyList(smzSspProblemmodify);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出安全隐患整改列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodify:export")
|
||||
@Log(title = "安全隐患整改", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
List<SmzSspProblemmodify> list = smzSspProblemmodifyService.selectSmzSspProblemmodifyList(smzSspProblemmodify);
|
||||
ExcelUtil<SmzSspProblemmodify> util = new ExcelUtil<SmzSspProblemmodify>(SmzSspProblemmodify.class);
|
||||
util.exportExcel(response, list, "安全隐患整改数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取安全隐患整改详细信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodify:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(smzSspProblemmodifyService.selectSmzSspProblemmodifyById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增安全隐患整改
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodify:add")
|
||||
@Log(title = "安全隐患整改", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
return toAjax(smzSspProblemmodifyService.insertSmzSspProblemmodify(smzSspProblemmodify));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改安全隐患整改
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodify:edit")
|
||||
@Log(title = "安全隐患整改", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
return toAjax(smzSspProblemmodifyService.updateSmzSspProblemmodify(smzSspProblemmodify));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除安全隐患整改
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodify:remove")
|
||||
@Log(title = "安全隐患整改", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(smzSspProblemmodifyService.deleteSmzSspProblemmodifyByIds(ids));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
package com.yanzhu.manage.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodifyDraft;
|
||||
import com.yanzhu.manage.service.ISmzSspProblemmodifyDraftService;
|
||||
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.yanzhu.common.core.utils.poi.ExcelUtil;
|
||||
import com.yanzhu.common.core.web.controller.BaseController;
|
||||
import com.yanzhu.common.core.web.domain.AjaxResult;
|
||||
import com.yanzhu.common.core.web.page.TableDataInfo;
|
||||
import com.yanzhu.common.log.annotation.Log;
|
||||
import com.yanzhu.common.log.enums.BusinessType;
|
||||
import com.yanzhu.common.security.annotation.RequiresPermissions;
|
||||
|
||||
/**
|
||||
* 安全问题草稿Controller
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/problemmodifyDraft")
|
||||
public class SmzSspProblemmodifyDraftController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ISmzSspProblemmodifyDraftService smzSspProblemmodifyDraftService;
|
||||
|
||||
/**
|
||||
* 查询安全问题草稿列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodifyDraft:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
startPage();
|
||||
List<SmzSspProblemmodifyDraft> list = smzSspProblemmodifyDraftService.selectSmzSspProblemmodifyDraftList(smzSspProblemmodifyDraft);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出安全问题草稿列表
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodifyDraft:export")
|
||||
@Log(title = "安全问题草稿", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
List<SmzSspProblemmodifyDraft> list = smzSspProblemmodifyDraftService.selectSmzSspProblemmodifyDraftList(smzSspProblemmodifyDraft);
|
||||
ExcelUtil<SmzSspProblemmodifyDraft> util = new ExcelUtil<SmzSspProblemmodifyDraft>(SmzSspProblemmodifyDraft.class);
|
||||
util.exportExcel(response, list, "安全问题草稿数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取安全问题草稿详细信息
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodifyDraft:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(smzSspProblemmodifyDraftService.selectSmzSspProblemmodifyDraftById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增安全问题草稿
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodifyDraft:add")
|
||||
@Log(title = "安全问题草稿", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
return toAjax(smzSspProblemmodifyDraftService.insertSmzSspProblemmodifyDraft(smzSspProblemmodifyDraft));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改安全问题草稿
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodifyDraft:edit")
|
||||
@Log(title = "安全问题草稿", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
return toAjax(smzSspProblemmodifyDraftService.updateSmzSspProblemmodifyDraft(smzSspProblemmodifyDraft));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除安全问题草稿
|
||||
*/
|
||||
@RequiresPermissions("trouble:problemmodifyDraft:remove")
|
||||
@Log(title = "安全问题草稿", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(smzSspProblemmodifyDraftService.deleteSmzSspProblemmodifyDraftByIds(ids));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspAuditinfo;
|
||||
|
||||
/**
|
||||
* 隐患流程信息Service接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface ISmzSspAuditinfoService
|
||||
{
|
||||
/**
|
||||
* 查询隐患流程信息
|
||||
*
|
||||
* @param id 隐患流程信息主键
|
||||
* @return 隐患流程信息
|
||||
*/
|
||||
public SmzSspAuditinfo selectSmzSspAuditinfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询隐患流程信息列表
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 隐患流程信息集合
|
||||
*/
|
||||
public List<SmzSspAuditinfo> selectSmzSspAuditinfoList(SmzSspAuditinfo smzSspAuditinfo);
|
||||
|
||||
/**
|
||||
* 新增隐患流程信息
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspAuditinfo(SmzSspAuditinfo smzSspAuditinfo);
|
||||
|
||||
/**
|
||||
* 修改隐患流程信息
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspAuditinfo(SmzSspAuditinfo smzSspAuditinfo);
|
||||
|
||||
/**
|
||||
* 批量删除隐患流程信息
|
||||
*
|
||||
* @param ids 需要删除的隐患流程信息主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspAuditinfoByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除隐患流程信息信息
|
||||
*
|
||||
* @param id 隐患流程信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspAuditinfoById(Long id);
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspFileinfo;
|
||||
|
||||
/**
|
||||
* 隐患文件信息Service接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface ISmzSspFileinfoService
|
||||
{
|
||||
/**
|
||||
* 查询隐患文件信息
|
||||
*
|
||||
* @param id 隐患文件信息主键
|
||||
* @return 隐患文件信息
|
||||
*/
|
||||
public SmzSspFileinfo selectSmzSspFileinfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询隐患文件信息列表
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 隐患文件信息集合
|
||||
*/
|
||||
public List<SmzSspFileinfo> selectSmzSspFileinfoList(SmzSspFileinfo smzSspFileinfo);
|
||||
|
||||
/**
|
||||
* 新增隐患文件信息
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspFileinfo(SmzSspFileinfo smzSspFileinfo);
|
||||
|
||||
/**
|
||||
* 修改隐患文件信息
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspFileinfo(SmzSspFileinfo smzSspFileinfo);
|
||||
|
||||
/**
|
||||
* 批量删除隐患文件信息
|
||||
*
|
||||
* @param ids 需要删除的隐患文件信息主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspFileinfoByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除隐患文件信息信息
|
||||
*
|
||||
* @param id 隐患文件信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspFileinfoById(Long id);
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodifyDraft;
|
||||
|
||||
/**
|
||||
* 安全问题草稿Service接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface ISmzSspProblemmodifyDraftService
|
||||
{
|
||||
/**
|
||||
* 查询安全问题草稿
|
||||
*
|
||||
* @param id 安全问题草稿主键
|
||||
* @return 安全问题草稿
|
||||
*/
|
||||
public SmzSspProblemmodifyDraft selectSmzSspProblemmodifyDraftById(Long id);
|
||||
|
||||
/**
|
||||
* 查询安全问题草稿列表
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 安全问题草稿集合
|
||||
*/
|
||||
public List<SmzSspProblemmodifyDraft> selectSmzSspProblemmodifyDraftList(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft);
|
||||
|
||||
/**
|
||||
* 新增安全问题草稿
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspProblemmodifyDraft(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft);
|
||||
|
||||
/**
|
||||
* 修改安全问题草稿
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspProblemmodifyDraft(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft);
|
||||
|
||||
/**
|
||||
* 批量删除安全问题草稿
|
||||
*
|
||||
* @param ids 需要删除的安全问题草稿主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyDraftByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除安全问题草稿信息
|
||||
*
|
||||
* @param id 安全问题草稿主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyDraftById(Long id);
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
package com.yanzhu.manage.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodify;
|
||||
|
||||
/**
|
||||
* 安全隐患整改Service接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
public interface ISmzSspProblemmodifyService
|
||||
{
|
||||
/**
|
||||
* 查询安全隐患整改
|
||||
*
|
||||
* @param id 安全隐患整改主键
|
||||
* @return 安全隐患整改
|
||||
*/
|
||||
public SmzSspProblemmodify selectSmzSspProblemmodifyById(Long id);
|
||||
|
||||
/**
|
||||
* 查询安全隐患整改列表
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 安全隐患整改集合
|
||||
*/
|
||||
public List<SmzSspProblemmodify> selectSmzSspProblemmodifyList(SmzSspProblemmodify smzSspProblemmodify);
|
||||
|
||||
/**
|
||||
* 新增安全隐患整改
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSmzSspProblemmodify(SmzSspProblemmodify smzSspProblemmodify);
|
||||
|
||||
/**
|
||||
* 修改安全隐患整改
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSmzSspProblemmodify(SmzSspProblemmodify smzSspProblemmodify);
|
||||
|
||||
/**
|
||||
* 批量删除安全隐患整改
|
||||
*
|
||||
* @param ids 需要删除的安全隐患整改主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除安全隐患整改信息
|
||||
*
|
||||
* @param id 安全隐患整改主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSmzSspProblemmodifyById(Long id);
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
package com.yanzhu.manage.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.yanzhu.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.yanzhu.manage.mapper.SmzSspAuditinfoMapper;
|
||||
import com.yanzhu.manage.domain.SmzSspAuditinfo;
|
||||
import com.yanzhu.manage.service.ISmzSspAuditinfoService;
|
||||
|
||||
/**
|
||||
* 隐患流程信息Service业务层处理
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@Service
|
||||
public class SmzSspAuditinfoServiceImpl implements ISmzSspAuditinfoService
|
||||
{
|
||||
@Autowired
|
||||
private SmzSspAuditinfoMapper smzSspAuditinfoMapper;
|
||||
|
||||
/**
|
||||
* 查询隐患流程信息
|
||||
*
|
||||
* @param id 隐患流程信息主键
|
||||
* @return 隐患流程信息
|
||||
*/
|
||||
@Override
|
||||
public SmzSspAuditinfo selectSmzSspAuditinfoById(Long id)
|
||||
{
|
||||
return smzSspAuditinfoMapper.selectSmzSspAuditinfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询隐患流程信息列表
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 隐患流程信息
|
||||
*/
|
||||
@Override
|
||||
public List<SmzSspAuditinfo> selectSmzSspAuditinfoList(SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
return smzSspAuditinfoMapper.selectSmzSspAuditinfoList(smzSspAuditinfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增隐患流程信息
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertSmzSspAuditinfo(SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
smzSspAuditinfo.setCreateTime(DateUtils.getNowDate());
|
||||
return smzSspAuditinfoMapper.insertSmzSspAuditinfo(smzSspAuditinfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改隐患流程信息
|
||||
*
|
||||
* @param smzSspAuditinfo 隐患流程信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateSmzSspAuditinfo(SmzSspAuditinfo smzSspAuditinfo)
|
||||
{
|
||||
return smzSspAuditinfoMapper.updateSmzSspAuditinfo(smzSspAuditinfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除隐患流程信息
|
||||
*
|
||||
* @param ids 需要删除的隐患流程信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspAuditinfoByIds(Long[] ids)
|
||||
{
|
||||
return smzSspAuditinfoMapper.deleteSmzSspAuditinfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除隐患流程信息信息
|
||||
*
|
||||
* @param id 隐患流程信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspAuditinfoById(Long id)
|
||||
{
|
||||
return smzSspAuditinfoMapper.deleteSmzSspAuditinfoById(id);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,97 @@
|
|||
package com.yanzhu.manage.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.yanzhu.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.yanzhu.manage.mapper.SmzSspFileinfoMapper;
|
||||
import com.yanzhu.manage.domain.SmzSspFileinfo;
|
||||
import com.yanzhu.manage.service.ISmzSspFileinfoService;
|
||||
|
||||
/**
|
||||
* 隐患文件信息Service业务层处理
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@Service
|
||||
public class SmzSspFileinfoServiceImpl implements ISmzSspFileinfoService
|
||||
{
|
||||
@Autowired
|
||||
private SmzSspFileinfoMapper smzSspFileinfoMapper;
|
||||
|
||||
/**
|
||||
* 查询隐患文件信息
|
||||
*
|
||||
* @param id 隐患文件信息主键
|
||||
* @return 隐患文件信息
|
||||
*/
|
||||
@Override
|
||||
public SmzSspFileinfo selectSmzSspFileinfoById(Long id)
|
||||
{
|
||||
return smzSspFileinfoMapper.selectSmzSspFileinfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询隐患文件信息列表
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 隐患文件信息
|
||||
*/
|
||||
@Override
|
||||
public List<SmzSspFileinfo> selectSmzSspFileinfoList(SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
return smzSspFileinfoMapper.selectSmzSspFileinfoList(smzSspFileinfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增隐患文件信息
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertSmzSspFileinfo(SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
smzSspFileinfo.setCreateTime(DateUtils.getNowDate());
|
||||
return smzSspFileinfoMapper.insertSmzSspFileinfo(smzSspFileinfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改隐患文件信息
|
||||
*
|
||||
* @param smzSspFileinfo 隐患文件信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateSmzSspFileinfo(SmzSspFileinfo smzSspFileinfo)
|
||||
{
|
||||
smzSspFileinfo.setUpdateTime(DateUtils.getNowDate());
|
||||
return smzSspFileinfoMapper.updateSmzSspFileinfo(smzSspFileinfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除隐患文件信息
|
||||
*
|
||||
* @param ids 需要删除的隐患文件信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspFileinfoByIds(Long[] ids)
|
||||
{
|
||||
return smzSspFileinfoMapper.deleteSmzSspFileinfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除隐患文件信息信息
|
||||
*
|
||||
* @param id 隐患文件信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspFileinfoById(Long id)
|
||||
{
|
||||
return smzSspFileinfoMapper.deleteSmzSspFileinfoById(id);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,97 @@
|
|||
package com.yanzhu.manage.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.yanzhu.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.yanzhu.manage.mapper.SmzSspProblemmodifyDraftMapper;
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodifyDraft;
|
||||
import com.yanzhu.manage.service.ISmzSspProblemmodifyDraftService;
|
||||
|
||||
/**
|
||||
* 安全问题草稿Service业务层处理
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@Service
|
||||
public class SmzSspProblemmodifyDraftServiceImpl implements ISmzSspProblemmodifyDraftService
|
||||
{
|
||||
@Autowired
|
||||
private SmzSspProblemmodifyDraftMapper smzSspProblemmodifyDraftMapper;
|
||||
|
||||
/**
|
||||
* 查询安全问题草稿
|
||||
*
|
||||
* @param id 安全问题草稿主键
|
||||
* @return 安全问题草稿
|
||||
*/
|
||||
@Override
|
||||
public SmzSspProblemmodifyDraft selectSmzSspProblemmodifyDraftById(Long id)
|
||||
{
|
||||
return smzSspProblemmodifyDraftMapper.selectSmzSspProblemmodifyDraftById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询安全问题草稿列表
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 安全问题草稿
|
||||
*/
|
||||
@Override
|
||||
public List<SmzSspProblemmodifyDraft> selectSmzSspProblemmodifyDraftList(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
return smzSspProblemmodifyDraftMapper.selectSmzSspProblemmodifyDraftList(smzSspProblemmodifyDraft);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增安全问题草稿
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertSmzSspProblemmodifyDraft(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
smzSspProblemmodifyDraft.setCreateTime(DateUtils.getNowDate());
|
||||
return smzSspProblemmodifyDraftMapper.insertSmzSspProblemmodifyDraft(smzSspProblemmodifyDraft);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改安全问题草稿
|
||||
*
|
||||
* @param smzSspProblemmodifyDraft 安全问题草稿
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateSmzSspProblemmodifyDraft(SmzSspProblemmodifyDraft smzSspProblemmodifyDraft)
|
||||
{
|
||||
smzSspProblemmodifyDraft.setUpdateTime(DateUtils.getNowDate());
|
||||
return smzSspProblemmodifyDraftMapper.updateSmzSspProblemmodifyDraft(smzSspProblemmodifyDraft);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除安全问题草稿
|
||||
*
|
||||
* @param ids 需要删除的安全问题草稿主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspProblemmodifyDraftByIds(Long[] ids)
|
||||
{
|
||||
return smzSspProblemmodifyDraftMapper.deleteSmzSspProblemmodifyDraftByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除安全问题草稿信息
|
||||
*
|
||||
* @param id 安全问题草稿主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspProblemmodifyDraftById(Long id)
|
||||
{
|
||||
return smzSspProblemmodifyDraftMapper.deleteSmzSspProblemmodifyDraftById(id);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,97 @@
|
|||
package com.yanzhu.manage.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.yanzhu.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.yanzhu.manage.mapper.SmzSspProblemmodifyMapper;
|
||||
import com.yanzhu.manage.domain.SmzSspProblemmodify;
|
||||
import com.yanzhu.manage.service.ISmzSspProblemmodifyService;
|
||||
|
||||
/**
|
||||
* 安全隐患整改Service业务层处理
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-02-15
|
||||
*/
|
||||
@Service
|
||||
public class SmzSspProblemmodifyServiceImpl implements ISmzSspProblemmodifyService
|
||||
{
|
||||
@Autowired
|
||||
private SmzSspProblemmodifyMapper smzSspProblemmodifyMapper;
|
||||
|
||||
/**
|
||||
* 查询安全隐患整改
|
||||
*
|
||||
* @param id 安全隐患整改主键
|
||||
* @return 安全隐患整改
|
||||
*/
|
||||
@Override
|
||||
public SmzSspProblemmodify selectSmzSspProblemmodifyById(Long id)
|
||||
{
|
||||
return smzSspProblemmodifyMapper.selectSmzSspProblemmodifyById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询安全隐患整改列表
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 安全隐患整改
|
||||
*/
|
||||
@Override
|
||||
public List<SmzSspProblemmodify> selectSmzSspProblemmodifyList(SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
return smzSspProblemmodifyMapper.selectSmzSspProblemmodifyList(smzSspProblemmodify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增安全隐患整改
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertSmzSspProblemmodify(SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
smzSspProblemmodify.setCreateTime(DateUtils.getNowDate());
|
||||
return smzSspProblemmodifyMapper.insertSmzSspProblemmodify(smzSspProblemmodify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改安全隐患整改
|
||||
*
|
||||
* @param smzSspProblemmodify 安全隐患整改
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateSmzSspProblemmodify(SmzSspProblemmodify smzSspProblemmodify)
|
||||
{
|
||||
smzSspProblemmodify.setUpdateTime(DateUtils.getNowDate());
|
||||
return smzSspProblemmodifyMapper.updateSmzSspProblemmodify(smzSspProblemmodify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除安全隐患整改
|
||||
*
|
||||
* @param ids 需要删除的安全隐患整改主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspProblemmodifyByIds(Long[] ids)
|
||||
{
|
||||
return smzSspProblemmodifyMapper.deleteSmzSspProblemmodifyByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除安全隐患整改信息
|
||||
*
|
||||
* @param id 安全隐患整改主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteSmzSspProblemmodifyById(Long id)
|
||||
{
|
||||
return smzSspProblemmodifyMapper.deleteSmzSspProblemmodifyById(id);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue