提交代码

dev_xd
姜玉琦 2024-08-25 13:31:15 +08:00
parent 8674561038
commit d8f63fa43b
124 changed files with 16413 additions and 0 deletions

View File

@ -0,0 +1,240 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.List;
/**
* bus_exam_info
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusExamInfo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 部门主键 */
@Excel(name = "部门主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 试卷名称 */
@Excel(name = "试卷名称")
private String examTitle;
/** 试卷类型 */
@Excel(name = "试卷类型")
private String examType;
/** 工种类型 */
@Excel(name = "工种类型")
private String craftType;
/** 工种岗位 */
@Excel(name = "工种岗位")
private String craftPost;
/** 单选题数量 */
@Excel(name = "单选题数量")
private String singleNum;
/** 多选题数量 */
@Excel(name = "多选题数量")
private String multipleNum;
/** 判断题数量 */
@Excel(name = "判断题数量")
private String estimateNum;
/** 试卷分数 */
@Excel(name = "试卷分数")
private Long fullMark;
/** 通过分数 */
@Excel(name = "通过分数")
private Long passMark;
/** 答题次数 */
@Excel(name = "答题次数")
private Long useNumber;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
/** 试卷问题信息 */
private List<BusExamInfoQues> busExamInfoQuesList;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setExamTitle(String examTitle)
{
this.examTitle = examTitle;
}
public String getExamTitle()
{
return examTitle;
}
public void setExamType(String examType)
{
this.examType = examType;
}
public String getExamType()
{
return examType;
}
public void setCraftType(String craftType)
{
this.craftType = craftType;
}
public String getCraftType()
{
return craftType;
}
public void setCraftPost(String craftPost)
{
this.craftPost = craftPost;
}
public String getCraftPost()
{
return craftPost;
}
public void setSingleNum(String singleNum)
{
this.singleNum = singleNum;
}
public String getSingleNum()
{
return singleNum;
}
public void setMultipleNum(String multipleNum)
{
this.multipleNum = multipleNum;
}
public String getMultipleNum()
{
return multipleNum;
}
public void setEstimateNum(String estimateNum)
{
this.estimateNum = estimateNum;
}
public String getEstimateNum()
{
return estimateNum;
}
public void setFullMark(Long fullMark)
{
this.fullMark = fullMark;
}
public Long getFullMark()
{
return fullMark;
}
public void setPassMark(Long passMark)
{
this.passMark = passMark;
}
public Long getPassMark()
{
return passMark;
}
public void setUseNumber(Long useNumber)
{
this.useNumber = useNumber;
}
public Long getUseNumber()
{
return useNumber;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
public List<BusExamInfoQues> getBusExamInfoQuesList()
{
return busExamInfoQuesList;
}
public void setBusExamInfoQuesList(List<BusExamInfoQues> busExamInfoQuesList)
{
this.busExamInfoQuesList = busExamInfoQuesList;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("examTitle", getExamTitle())
.append("examType", getExamType())
.append("craftType", getCraftType())
.append("craftPost", getCraftPost())
.append("singleNum", getSingleNum())
.append("multipleNum", getMultipleNum())
.append("estimateNum", getEstimateNum())
.append("fullMark", getFullMark())
.append("passMark", getPassMark())
.append("useNumber", getUseNumber())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("busExamInfoQuesList", getBusExamInfoQuesList())
.toString();
}
}

View File

@ -0,0 +1,80 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* bus_exam_info_ques
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusExamInfoQues extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 试卷主键 */
@Excel(name = "试卷主键")
private Long examId;
/** 问题主键 */
@Excel(name = "问题主键")
private Long questionId;
/** 分数 */
@Excel(name = "分数")
private Long marks;
/** 排序 */
@Excel(name = "排序")
private Long sortBy;
public void setExamId(Long examId)
{
this.examId = examId;
}
public Long getExamId()
{
return examId;
}
public void setQuestionId(Long questionId)
{
this.questionId = questionId;
}
public Long getQuestionId()
{
return questionId;
}
public void setMarks(Long marks)
{
this.marks = marks;
}
public Long getMarks()
{
return marks;
}
public void setSortBy(Long sortBy)
{
this.sortBy = sortBy;
}
public Long getSortBy()
{
return sortBy;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("examId", getExamId())
.append("questionId", getQuestionId())
.append("marks", getMarks())
.append("sortBy", getSortBy())
.toString();
}
}

View File

@ -0,0 +1,184 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.List;
/**
* bus_exam_question
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusExamQuestion extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 单位主键 */
@Excel(name = "单位主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 工种类型 */
@Excel(name = "工种类型")
private String craftType;
/** 工种岗位 */
@Excel(name = "工种岗位")
private String craftPost;
/** 问题难度 */
@Excel(name = "问题难度")
private Long questionDiff;
/** 问题类型 */
@Excel(name = "问题类型")
private Long questionType;
/** 问题描述 */
@Excel(name = "问题描述")
private String questionDesc;
/** 问题答案 */
@Excel(name = "问题答案")
private String questionAnswer;
/** 是否删除 */
@Excel(name = "是否删除")
private Long isDel;
/** 题库问题信息 */
private List<BusExamQuestionResult> busExamQuestionResultList;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setCraftType(String craftType)
{
this.craftType = craftType;
}
public String getCraftType()
{
return craftType;
}
public void setCraftPost(String craftPost)
{
this.craftPost = craftPost;
}
public String getCraftPost()
{
return craftPost;
}
public void setQuestionDiff(Long questionDiff)
{
this.questionDiff = questionDiff;
}
public Long getQuestionDiff()
{
return questionDiff;
}
public void setQuestionType(Long questionType)
{
this.questionType = questionType;
}
public Long getQuestionType()
{
return questionType;
}
public void setQuestionDesc(String questionDesc)
{
this.questionDesc = questionDesc;
}
public String getQuestionDesc()
{
return questionDesc;
}
public void setQuestionAnswer(String questionAnswer)
{
this.questionAnswer = questionAnswer;
}
public String getQuestionAnswer()
{
return questionAnswer;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
public List<BusExamQuestionResult> getBusExamQuestionResultList()
{
return busExamQuestionResultList;
}
public void setBusExamQuestionResultList(List<BusExamQuestionResult> busExamQuestionResultList)
{
this.busExamQuestionResultList = busExamQuestionResultList;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("craftType", getCraftType())
.append("craftPost", getCraftPost())
.append("questionDiff", getQuestionDiff())
.append("questionType", getQuestionType())
.append("questionDesc", getQuestionDesc())
.append("questionAnswer", getQuestionAnswer())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("busExamQuestionResultList", getBusExamQuestionResultList())
.toString();
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* bus_exam_question_result
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusExamQuestionResult extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 问题主键 */
@Excel(name = "问题主键")
private Long questionId;
/** 选项 */
@Excel(name = "选项")
private String opt;
/** 问题选项 */
@Excel(name = "问题选项")
private String result;
/** 是否删除 */
@Excel(name = "是否删除")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setQuestionId(Long questionId)
{
this.questionId = questionId;
}
public Long getQuestionId()
{
return questionId;
}
public void setOpt(String opt)
{
this.opt = opt;
}
public String getOpt()
{
return opt;
}
public void setResult(String result)
{
this.result = result;
}
public String getResult()
{
return result;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("questionId", getQuestionId())
.append("opt", getOpt())
.append("result", getResult())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,238 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* bus_exam_user
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusExamUser extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 部门主键 */
@Excel(name = "部门主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 用户主键 */
@Excel(name = "用户主键")
private Long userId;
/** 试卷名称 */
@Excel(name = "试卷名称")
private String examTitle;
/** 试卷类型 */
@Excel(name = "试卷类型")
private String examType;
/** 工种类型 */
@Excel(name = "工种类型")
private String craftType;
/** 工种岗位 */
@Excel(name = "工种岗位")
private String craftPost;
/** 单选题数量 */
@Excel(name = "单选题数量")
private String singleNum;
/** 多选题数量 */
@Excel(name = "多选题数量")
private String multipleNum;
/** 判断题数量 */
@Excel(name = "判断题数量")
private String estimateNum;
/** 用户分数 */
@Excel(name = "用户分数")
private Long userMark;
/** 结果状态 */
@Excel(name = "结果状态")
private Long resStatus;
/** 答题耗时 */
@Excel(name = "答题耗时")
private String useTimes;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setUserId(Long userId)
{
this.userId = userId;
}
public Long getUserId()
{
return userId;
}
public void setExamTitle(String examTitle)
{
this.examTitle = examTitle;
}
public String getExamTitle()
{
return examTitle;
}
public void setExamType(String examType)
{
this.examType = examType;
}
public String getExamType()
{
return examType;
}
public void setCraftType(String craftType)
{
this.craftType = craftType;
}
public String getCraftType()
{
return craftType;
}
public void setCraftPost(String craftPost)
{
this.craftPost = craftPost;
}
public String getCraftPost()
{
return craftPost;
}
public void setSingleNum(String singleNum)
{
this.singleNum = singleNum;
}
public String getSingleNum()
{
return singleNum;
}
public void setMultipleNum(String multipleNum)
{
this.multipleNum = multipleNum;
}
public String getMultipleNum()
{
return multipleNum;
}
public void setEstimateNum(String estimateNum)
{
this.estimateNum = estimateNum;
}
public String getEstimateNum()
{
return estimateNum;
}
public void setUserMark(Long userMark)
{
this.userMark = userMark;
}
public Long getUserMark()
{
return userMark;
}
public void setResStatus(Long resStatus)
{
this.resStatus = resStatus;
}
public Long getResStatus()
{
return resStatus;
}
public void setUseTimes(String useTimes)
{
this.useTimes = useTimes;
}
public String getUseTimes()
{
return useTimes;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("userId", getUserId())
.append("examTitle", getExamTitle())
.append("examType", getExamType())
.append("craftType", getCraftType())
.append("craftPost", getCraftPost())
.append("singleNum", getSingleNum())
.append("multipleNum", getMultipleNum())
.append("estimateNum", getEstimateNum())
.append("userMark", getUserMark())
.append("resStatus", getResStatus())
.append("useTimes", getUseTimes())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,108 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* bus_exam_user_result
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusExamUserResult extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 用户试卷主键 */
@Excel(name = "用户试卷主键")
private Long examUserId;
/** 问题主键 */
@Excel(name = "问题主键")
private Long questionId;
/** 用户答案 */
@Excel(name = "用户答案")
private String answers;
/** 排序 */
@Excel(name = "排序")
private Long sortBy;
/** 答题结果 */
@Excel(name = "答题结果")
private String useRes;
/** 答题得分 */
@Excel(name = "答题得分")
private String useMark;
public void setExamUserId(Long examUserId)
{
this.examUserId = examUserId;
}
public Long getExamUserId()
{
return examUserId;
}
public void setQuestionId(Long questionId)
{
this.questionId = questionId;
}
public Long getQuestionId()
{
return questionId;
}
public void setAnswers(String answers)
{
this.answers = answers;
}
public String getAnswers()
{
return answers;
}
public void setSortBy(Long sortBy)
{
this.sortBy = sortBy;
}
public Long getSortBy()
{
return sortBy;
}
public void setUseRes(String useRes)
{
this.useRes = useRes;
}
public String getUseRes()
{
return useRes;
}
public void setUseMark(String useMark)
{
this.useMark = useMark;
}
public String getUseMark()
{
return useMark;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("examUserId", getExamUserId())
.append("questionId", getQuestionId())
.append("answers", getAnswers())
.append("sortBy", getSortBy())
.append("useRes", getUseRes())
.append("useMark", getUseMark())
.toString();
}
}

View File

@ -0,0 +1,210 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* bus_training_video
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusTrainingVideo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 部门主键 */
@Excel(name = "部门主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 培训名称 */
@Excel(name = "培训名称")
private String trainTitle;
/** 培训类型 */
@Excel(name = "培训类型")
private String trainType;
/** 培训级别 */
@Excel(name = "培训级别")
private String trainLevel;
/** 工种类型 */
@Excel(name = "工种类型")
private String craftType;
/** 工种岗位 */
@Excel(name = "工种岗位")
private String craftPost;
/** 培训文件类型 */
@Excel(name = "培训文件类型")
private String trainFileType;
/** 培训文件地址 */
@Excel(name = "培训文件地址")
private String trainFilePath;
/** 培训文件主图 */
@Excel(name = "培训文件主图")
private String trainFileImage;
/** 培训文件时长 */
@Excel(name = "培训文件时长")
private String trainFileTimes;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setTrainTitle(String trainTitle)
{
this.trainTitle = trainTitle;
}
public String getTrainTitle()
{
return trainTitle;
}
public void setTrainType(String trainType)
{
this.trainType = trainType;
}
public String getTrainType()
{
return trainType;
}
public void setTrainLevel(String trainLevel)
{
this.trainLevel = trainLevel;
}
public String getTrainLevel()
{
return trainLevel;
}
public void setCraftType(String craftType)
{
this.craftType = craftType;
}
public String getCraftType()
{
return craftType;
}
public void setCraftPost(String craftPost)
{
this.craftPost = craftPost;
}
public String getCraftPost()
{
return craftPost;
}
public void setTrainFileType(String trainFileType)
{
this.trainFileType = trainFileType;
}
public String getTrainFileType()
{
return trainFileType;
}
public void setTrainFilePath(String trainFilePath)
{
this.trainFilePath = trainFilePath;
}
public String getTrainFilePath()
{
return trainFilePath;
}
public void setTrainFileImage(String trainFileImage)
{
this.trainFileImage = trainFileImage;
}
public String getTrainFileImage()
{
return trainFileImage;
}
public void setTrainFileTimes(String trainFileTimes)
{
this.trainFileTimes = trainFileTimes;
}
public String getTrainFileTimes()
{
return trainFileTimes;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("trainTitle", getTrainTitle())
.append("trainType", getTrainType())
.append("trainLevel", getTrainLevel())
.append("craftType", getCraftType())
.append("craftPost", getCraftPost())
.append("trainFileType", getTrainFileType())
.append("trainFilePath", getTrainFilePath())
.append("trainFileImage", getTrainFileImage())
.append("trainFileTimes", getTrainFileTimes())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,140 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* bus_training_video_user
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class BusTrainingVideoUser extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 部门主键 */
@Excel(name = "部门主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 用户主键 */
@Excel(name = "用户主键")
private Long userId;
/** 视频主键 */
@Excel(name = "视频主键")
private Long videoId;
/** 播放状态 */
@Excel(name = "播放状态")
private Long playStatus;
/** 排序 */
@Excel(name = "排序")
private Long sortBy;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setUserId(Long userId)
{
this.userId = userId;
}
public Long getUserId()
{
return userId;
}
public void setVideoId(Long videoId)
{
this.videoId = videoId;
}
public Long getVideoId()
{
return videoId;
}
public void setPlayStatus(Long playStatus)
{
this.playStatus = playStatus;
}
public Long getPlayStatus()
{
return playStatus;
}
public void setSortBy(Long sortBy)
{
this.sortBy = sortBy;
}
public Long getSortBy()
{
return sortBy;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("userId", getUserId())
.append("videoId", getVideoId())
.append("playStatus", getPlayStatus())
.append("sortBy", getSortBy())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,504 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* pro_project_info
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class ProProjectInfo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 所属单位 */
@Excel(name = "所属单位")
private Long deptId;
/** 部门主键 */
@Excel(name = "部门主键")
private Long visDeptId;
/** 显示部门 */
@Excel(name = "显示部门")
private Long disDeptId;
/** 项目名称 */
@Excel(name = "项目名称")
private String projectName;
/** 项目编号 */
@Excel(name = "项目编号")
private String projectCode;
/** 项目简称 */
@Excel(name = "项目简称")
private String simpleName;
/** 项目类型 */
@Excel(name = "项目类型")
private String projectType;
/** 项目等级 */
@Excel(name = "项目等级")
private String projiectLevel;
/** 项目区县 */
@Excel(name = "项目区县")
private String projectRegional;
/** 项目地址 */
@Excel(name = "项目地址")
private String projectAddress;
/** 项目建设属性 */
@Excel(name = "项目建设属性")
private String projectNature;
/** 许可证号 */
@Excel(name = "许可证号")
private String licenceNumber;
/** 项目负责人 */
@Excel(name = "项目负责人")
private String projectPerson;
/** 负责人电话 */
@Excel(name = "负责人电话")
private String projectPersonPhone;
/** 经度 */
@Excel(name = "经度")
private String longitude;
/** 纬度 */
@Excel(name = "纬度")
private String latitude;
/** 项目工期 */
@Excel(name = "项目工期")
private Long projectTimeLimit;
/** 总投资 */
@Excel(name = "总投资")
private String totalInvestment;
/** 建筑面积 */
@Excel(name = "建筑面积")
private String floorArea;
/** 开累产值 */
@Excel(name = "开累产值")
private String totalOutputValue;
/** 计划完工时间 */
@Excel(name = "计划完工时间")
private String plannedCompletionTime;
/** 计划开始时间 */
@Excel(name = "计划开始时间")
private String scheduledStartTime;
/** 实际开始时间 */
@Excel(name = "实际开始时间")
private String actualOperatingTime;
/** 实际完工时间 */
@Excel(name = "实际完工时间")
private String actualCompletionTime;
/** 合同总金额 */
@Excel(name = "合同总金额")
private String contractAmount;
/** 已支付金额 */
@Excel(name = "已支付金额")
private String paidAmount;
/** 挂账金额 */
@Excel(name = "挂账金额")
private String onAccountAmount;
/** 项目进度 */
@Excel(name = "项目进度")
private String projectSchedule;
/** 项目概述 */
@Excel(name = "项目概述")
private String projectSummarize;
/** 项目二维码 */
@Excel(name = "项目二维码")
private String projectQrCode;
/** 项目状态 */
@Excel(name = "项目状态")
private String projectStatus;
/** 项目排序 */
@Excel(name = "项目排序")
private Long projectSort;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setVisDeptId(Long visDeptId)
{
this.visDeptId = visDeptId;
}
public Long getVisDeptId()
{
return visDeptId;
}
public void setDisDeptId(Long disDeptId)
{
this.disDeptId = disDeptId;
}
public Long getDisDeptId()
{
return disDeptId;
}
public void setProjectName(String projectName)
{
this.projectName = projectName;
}
public String getProjectName()
{
return projectName;
}
public void setProjectCode(String projectCode)
{
this.projectCode = projectCode;
}
public String getProjectCode()
{
return projectCode;
}
public void setSimpleName(String simpleName)
{
this.simpleName = simpleName;
}
public String getSimpleName()
{
return simpleName;
}
public void setProjectType(String projectType)
{
this.projectType = projectType;
}
public String getProjectType()
{
return projectType;
}
public void setProjiectLevel(String projiectLevel)
{
this.projiectLevel = projiectLevel;
}
public String getProjiectLevel()
{
return projiectLevel;
}
public void setProjectRegional(String projectRegional)
{
this.projectRegional = projectRegional;
}
public String getProjectRegional()
{
return projectRegional;
}
public void setProjectAddress(String projectAddress)
{
this.projectAddress = projectAddress;
}
public String getProjectAddress()
{
return projectAddress;
}
public void setProjectNature(String projectNature)
{
this.projectNature = projectNature;
}
public String getProjectNature()
{
return projectNature;
}
public void setLicenceNumber(String licenceNumber)
{
this.licenceNumber = licenceNumber;
}
public String getLicenceNumber()
{
return licenceNumber;
}
public void setProjectPerson(String projectPerson)
{
this.projectPerson = projectPerson;
}
public String getProjectPerson()
{
return projectPerson;
}
public void setProjectPersonPhone(String projectPersonPhone)
{
this.projectPersonPhone = projectPersonPhone;
}
public String getProjectPersonPhone()
{
return projectPersonPhone;
}
public void setLongitude(String longitude)
{
this.longitude = longitude;
}
public String getLongitude()
{
return longitude;
}
public void setLatitude(String latitude)
{
this.latitude = latitude;
}
public String getLatitude()
{
return latitude;
}
public void setProjectTimeLimit(Long projectTimeLimit)
{
this.projectTimeLimit = projectTimeLimit;
}
public Long getProjectTimeLimit()
{
return projectTimeLimit;
}
public void setTotalInvestment(String totalInvestment)
{
this.totalInvestment = totalInvestment;
}
public String getTotalInvestment()
{
return totalInvestment;
}
public void setFloorArea(String floorArea)
{
this.floorArea = floorArea;
}
public String getFloorArea()
{
return floorArea;
}
public void setTotalOutputValue(String totalOutputValue)
{
this.totalOutputValue = totalOutputValue;
}
public String getTotalOutputValue()
{
return totalOutputValue;
}
public void setPlannedCompletionTime(String plannedCompletionTime)
{
this.plannedCompletionTime = plannedCompletionTime;
}
public String getPlannedCompletionTime()
{
return plannedCompletionTime;
}
public void setScheduledStartTime(String scheduledStartTime)
{
this.scheduledStartTime = scheduledStartTime;
}
public String getScheduledStartTime()
{
return scheduledStartTime;
}
public void setActualOperatingTime(String actualOperatingTime)
{
this.actualOperatingTime = actualOperatingTime;
}
public String getActualOperatingTime()
{
return actualOperatingTime;
}
public void setActualCompletionTime(String actualCompletionTime)
{
this.actualCompletionTime = actualCompletionTime;
}
public String getActualCompletionTime()
{
return actualCompletionTime;
}
public void setContractAmount(String contractAmount)
{
this.contractAmount = contractAmount;
}
public String getContractAmount()
{
return contractAmount;
}
public void setPaidAmount(String paidAmount)
{
this.paidAmount = paidAmount;
}
public String getPaidAmount()
{
return paidAmount;
}
public void setOnAccountAmount(String onAccountAmount)
{
this.onAccountAmount = onAccountAmount;
}
public String getOnAccountAmount()
{
return onAccountAmount;
}
public void setProjectSchedule(String projectSchedule)
{
this.projectSchedule = projectSchedule;
}
public String getProjectSchedule()
{
return projectSchedule;
}
public void setProjectSummarize(String projectSummarize)
{
this.projectSummarize = projectSummarize;
}
public String getProjectSummarize()
{
return projectSummarize;
}
public void setProjectQrCode(String projectQrCode)
{
this.projectQrCode = projectQrCode;
}
public String getProjectQrCode()
{
return projectQrCode;
}
public void setProjectStatus(String projectStatus)
{
this.projectStatus = projectStatus;
}
public String getProjectStatus()
{
return projectStatus;
}
public void setProjectSort(Long projectSort)
{
this.projectSort = projectSort;
}
public Long getProjectSort()
{
return projectSort;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("visDeptId", getVisDeptId())
.append("disDeptId", getDisDeptId())
.append("projectName", getProjectName())
.append("projectCode", getProjectCode())
.append("simpleName", getSimpleName())
.append("projectType", getProjectType())
.append("projiectLevel", getProjiectLevel())
.append("projectRegional", getProjectRegional())
.append("projectAddress", getProjectAddress())
.append("projectNature", getProjectNature())
.append("licenceNumber", getLicenceNumber())
.append("projectPerson", getProjectPerson())
.append("projectPersonPhone", getProjectPersonPhone())
.append("longitude", getLongitude())
.append("latitude", getLatitude())
.append("projectTimeLimit", getProjectTimeLimit())
.append("totalInvestment", getTotalInvestment())
.append("floorArea", getFloorArea())
.append("totalOutputValue", getTotalOutputValue())
.append("plannedCompletionTime", getPlannedCompletionTime())
.append("scheduledStartTime", getScheduledStartTime())
.append("actualOperatingTime", getActualOperatingTime())
.append("actualCompletionTime", getActualCompletionTime())
.append("contractAmount", getContractAmount())
.append("paidAmount", getPaidAmount())
.append("onAccountAmount", getOnAccountAmount())
.append("projectSchedule", getProjectSchedule())
.append("projectSummarize", getProjectSummarize())
.append("projectQrCode", getProjectQrCode())
.append("projectStatus", getProjectStatus())
.append("projectSort", getProjectSort())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,112 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* pro_project_info_depts
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class ProProjectInfoDepts extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 参建单位类型 */
@Excel(name = "参建单位类型")
private String deptType;
/** 参建单位名称 */
@Excel(name = "参建单位名称")
private String deptName;
/** 参建单位编号 */
@Excel(name = "参建单位编号")
private String deptCode;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setDeptType(String deptType)
{
this.deptType = deptType;
}
public String getDeptType()
{
return deptType;
}
public void setDeptName(String deptName)
{
this.deptName = deptName;
}
public String getDeptName()
{
return deptName;
}
public void setDeptCode(String deptCode)
{
this.deptCode = deptCode;
}
public String getDeptCode()
{
return deptCode;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("projectId", getProjectId())
.append("deptType", getDeptType())
.append("deptName", getDeptName())
.append("deptCode", getDeptCode())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,140 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* pro_project_info_setting
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class ProProjectInfoSetting extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 显示名称 */
@Excel(name = "显示名称")
private String orgName;
/** 显示LOGO */
@Excel(name = "显示LOGO")
private String orgLogo;
/** 项目图片 */
@Excel(name = "项目图片")
private String orgImage;
/** 项目视频 */
@Excel(name = "项目视频")
private String orgVideo;
/** 项目平面图 */
@Excel(name = "项目平面图")
private String orgPlane;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setOrgName(String orgName)
{
this.orgName = orgName;
}
public String getOrgName()
{
return orgName;
}
public void setOrgLogo(String orgLogo)
{
this.orgLogo = orgLogo;
}
public String getOrgLogo()
{
return orgLogo;
}
public void setOrgImage(String orgImage)
{
this.orgImage = orgImage;
}
public String getOrgImage()
{
return orgImage;
}
public void setOrgVideo(String orgVideo)
{
this.orgVideo = orgVideo;
}
public String getOrgVideo()
{
return orgVideo;
}
public void setOrgPlane(String orgPlane)
{
this.orgPlane = orgPlane;
}
public String getOrgPlane()
{
return orgPlane;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("projectId", getProjectId())
.append("orgName", getOrgName())
.append("orgLogo", getOrgLogo())
.append("orgImage", getOrgImage())
.append("orgVideo", getOrgVideo())
.append("orgPlane", getOrgPlane())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,238 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* pro_project_info_subdepts
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class ProProjectInfoSubdepts extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 单位主键 */
@Excel(name = "单位主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 分包单位 */
@Excel(name = "分包单位")
private Long subDeptId;
/** 分包单位类型 */
@Excel(name = "分包单位类型")
private String subDeptType;
/** 分包单位名称 */
@Excel(name = "分包单位名称")
private String subDeptName;
/** 分包单位编号 */
@Excel(name = "分包单位编号")
private String subDeptCode;
/** 负责人主键 */
@Excel(name = "负责人主键")
private Long subDeptLeaderId;
/** 负责人姓名 */
@Excel(name = "负责人姓名")
private String subDeptLeaderName;
/** 负责人证件号码 */
@Excel(name = "负责人证件号码")
private String subDeptLeaderCode;
/** 负责人电话 */
@Excel(name = "负责人电话")
private String subDeptLeaderPhone;
/** 进场状态 */
@Excel(name = "进场状态")
private String useStatus;
/** 审批状态 */
@Excel(name = "审批状态")
private Long approveStatus;
/** 二维码 */
@Excel(name = "二维码")
private String qrCode;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setSubDeptId(Long subDeptId)
{
this.subDeptId = subDeptId;
}
public Long getSubDeptId()
{
return subDeptId;
}
public void setSubDeptType(String subDeptType)
{
this.subDeptType = subDeptType;
}
public String getSubDeptType()
{
return subDeptType;
}
public void setSubDeptName(String subDeptName)
{
this.subDeptName = subDeptName;
}
public String getSubDeptName()
{
return subDeptName;
}
public void setSubDeptCode(String subDeptCode)
{
this.subDeptCode = subDeptCode;
}
public String getSubDeptCode()
{
return subDeptCode;
}
public void setSubDeptLeaderId(Long subDeptLeaderId)
{
this.subDeptLeaderId = subDeptLeaderId;
}
public Long getSubDeptLeaderId()
{
return subDeptLeaderId;
}
public void setSubDeptLeaderName(String subDeptLeaderName)
{
this.subDeptLeaderName = subDeptLeaderName;
}
public String getSubDeptLeaderName()
{
return subDeptLeaderName;
}
public void setSubDeptLeaderCode(String subDeptLeaderCode)
{
this.subDeptLeaderCode = subDeptLeaderCode;
}
public String getSubDeptLeaderCode()
{
return subDeptLeaderCode;
}
public void setSubDeptLeaderPhone(String subDeptLeaderPhone)
{
this.subDeptLeaderPhone = subDeptLeaderPhone;
}
public String getSubDeptLeaderPhone()
{
return subDeptLeaderPhone;
}
public void setUseStatus(String useStatus)
{
this.useStatus = useStatus;
}
public String getUseStatus()
{
return useStatus;
}
public void setApproveStatus(Long approveStatus)
{
this.approveStatus = approveStatus;
}
public Long getApproveStatus()
{
return approveStatus;
}
public void setQrCode(String qrCode)
{
this.qrCode = qrCode;
}
public String getQrCode()
{
return qrCode;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("subDeptId", getSubDeptId())
.append("subDeptType", getSubDeptType())
.append("subDeptName", getSubDeptName())
.append("subDeptCode", getSubDeptCode())
.append("subDeptLeaderId", getSubDeptLeaderId())
.append("subDeptLeaderName", getSubDeptLeaderName())
.append("subDeptLeaderCode", getSubDeptLeaderCode())
.append("subDeptLeaderPhone", getSubDeptLeaderPhone())
.append("useStatus", getUseStatus())
.append("approveStatus", getApproveStatus())
.append("qrCode", getQrCode())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,266 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* pro_project_info_subdepts_group
*
* @author JiangYuqi
* @date 2024-08-25
*/
public class ProProjectInfoSubdeptsGroup extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 分包单位 */
@Excel(name = "分包单位")
private Long subDeptId;
/** 分包单位类型 */
@Excel(name = "分包单位类型")
private String subDeptType;
/** 分包单位名称 */
@Excel(name = "分包单位名称")
private String subDeptName;
/** 分包单位编号 */
@Excel(name = "分包单位编号")
private String subDeptCode;
/** 班组名称 */
@Excel(name = "班组名称")
private String groupName;
/** 班组编号 */
@Excel(name = "班组编号")
private String groupCode;
/** 工种类型 */
@Excel(name = "工种类型")
private String craftType;
/** 工种岗位 */
@Excel(name = "工种岗位")
private String craftPost;
/** 负责人姓名 */
@Excel(name = "负责人姓名")
private String groupLeaderName;
/** 负责人证件号码 */
@Excel(name = "负责人证件号码")
private String groupLeaderCode;
/** 负责人电话 */
@Excel(name = "负责人电话")
private String groupLeaderPhone;
/** 进场状态 */
@Excel(name = "进场状态")
private String useStatus;
/** 审批状态 */
@Excel(name = "审批状态")
private Long approveStatus;
/** 二维码 */
@Excel(name = "二维码")
private String qrCode;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setSubDeptId(Long subDeptId)
{
this.subDeptId = subDeptId;
}
public Long getSubDeptId()
{
return subDeptId;
}
public void setSubDeptType(String subDeptType)
{
this.subDeptType = subDeptType;
}
public String getSubDeptType()
{
return subDeptType;
}
public void setSubDeptName(String subDeptName)
{
this.subDeptName = subDeptName;
}
public String getSubDeptName()
{
return subDeptName;
}
public void setSubDeptCode(String subDeptCode)
{
this.subDeptCode = subDeptCode;
}
public String getSubDeptCode()
{
return subDeptCode;
}
public void setGroupName(String groupName)
{
this.groupName = groupName;
}
public String getGroupName()
{
return groupName;
}
public void setGroupCode(String groupCode)
{
this.groupCode = groupCode;
}
public String getGroupCode()
{
return groupCode;
}
public void setCraftType(String craftType)
{
this.craftType = craftType;
}
public String getCraftType()
{
return craftType;
}
public void setCraftPost(String craftPost)
{
this.craftPost = craftPost;
}
public String getCraftPost()
{
return craftPost;
}
public void setGroupLeaderName(String groupLeaderName)
{
this.groupLeaderName = groupLeaderName;
}
public String getGroupLeaderName()
{
return groupLeaderName;
}
public void setGroupLeaderCode(String groupLeaderCode)
{
this.groupLeaderCode = groupLeaderCode;
}
public String getGroupLeaderCode()
{
return groupLeaderCode;
}
public void setGroupLeaderPhone(String groupLeaderPhone)
{
this.groupLeaderPhone = groupLeaderPhone;
}
public String getGroupLeaderPhone()
{
return groupLeaderPhone;
}
public void setUseStatus(String useStatus)
{
this.useStatus = useStatus;
}
public String getUseStatus()
{
return useStatus;
}
public void setApproveStatus(Long approveStatus)
{
this.approveStatus = approveStatus;
}
public Long getApproveStatus()
{
return approveStatus;
}
public void setQrCode(String qrCode)
{
this.qrCode = qrCode;
}
public String getQrCode()
{
return qrCode;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("projectId", getProjectId())
.append("subDeptId", getSubDeptId())
.append("subDeptType", getSubDeptType())
.append("subDeptName", getSubDeptName())
.append("subDeptCode", getSubDeptCode())
.append("groupName", getGroupName())
.append("groupCode", getGroupCode())
.append("craftType", getCraftType())
.append("craftPost", getCraftPost())
.append("groupLeaderName", getGroupLeaderName())
.append("groupLeaderCode", getGroupLeaderCode())
.append("groupLeaderPhone", getGroupLeaderPhone())
.append("useStatus", getUseStatus())
.append("approveStatus", getApproveStatus())
.append("qrCode", getQrCode())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,284 @@
package com.yanzhu.manage.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* pro_project_info_subdepts_users
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class ProProjectInfoSubdeptsUsers extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 分包单位 */
@Excel(name = "分包单位")
private Long subDeptId;
/** 分包单位名称 */
@Excel(name = "分包单位名称")
private String subDeptName;
/** 用户主键 */
@Excel(name = "用户主键")
private Long userId;
/** 工人姓名 */
@Excel(name = "工人姓名")
private String userName;
/** 工种类型 */
@Excel(name = "工种类型")
private String craftType;
/** 工种岗位 */
@Excel(name = "工种岗位")
private String craftPost;
/** 学习状态 */
@Excel(name = "学习状态")
private String eduStatus;
/** 学习文件地址 */
@Excel(name = "学习文件地址")
private String eduFilePath;
/** 学习签名地址 */
@Excel(name = "学习签名地址")
private String eduSignPath;
/** 学习时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "学习时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date eduDate;
/** 审批状态 */
@Excel(name = "审批状态")
private Long approveStatus;
/** 进场状态 */
@Excel(name = "进场状态")
private String useStatus;
/** 进行步骤 */
@Excel(name = "进行步骤")
private Long subStep;
/** 疾病状态 */
@Excel(name = "疾病状态")
private Long illnessStatus;
/** 严重疾病状态 */
@Excel(name = "严重疾病状态")
private Long supIllnessStatus;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setSubDeptId(Long subDeptId)
{
this.subDeptId = subDeptId;
}
public Long getSubDeptId()
{
return subDeptId;
}
public void setSubDeptName(String subDeptName)
{
this.subDeptName = subDeptName;
}
public String getSubDeptName()
{
return subDeptName;
}
public void setUserId(Long userId)
{
this.userId = userId;
}
public Long getUserId()
{
return userId;
}
public void setUserName(String userName)
{
this.userName = userName;
}
public String getUserName()
{
return userName;
}
public void setCraftType(String craftType)
{
this.craftType = craftType;
}
public String getCraftType()
{
return craftType;
}
public void setCraftPost(String craftPost)
{
this.craftPost = craftPost;
}
public String getCraftPost()
{
return craftPost;
}
public void setEduStatus(String eduStatus)
{
this.eduStatus = eduStatus;
}
public String getEduStatus()
{
return eduStatus;
}
public void setEduFilePath(String eduFilePath)
{
this.eduFilePath = eduFilePath;
}
public String getEduFilePath()
{
return eduFilePath;
}
public void setEduSignPath(String eduSignPath)
{
this.eduSignPath = eduSignPath;
}
public String getEduSignPath()
{
return eduSignPath;
}
public void setEduDate(Date eduDate)
{
this.eduDate = eduDate;
}
public Date getEduDate()
{
return eduDate;
}
public void setApproveStatus(Long approveStatus)
{
this.approveStatus = approveStatus;
}
public Long getApproveStatus()
{
return approveStatus;
}
public void setUseStatus(String useStatus)
{
this.useStatus = useStatus;
}
public String getUseStatus()
{
return useStatus;
}
public void setSubStep(Long subStep)
{
this.subStep = subStep;
}
public Long getSubStep()
{
return subStep;
}
public void setIllnessStatus(Long illnessStatus)
{
this.illnessStatus = illnessStatus;
}
public Long getIllnessStatus()
{
return illnessStatus;
}
public void setSupIllnessStatus(Long supIllnessStatus)
{
this.supIllnessStatus = supIllnessStatus;
}
public Long getSupIllnessStatus()
{
return supIllnessStatus;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("projectId", getProjectId())
.append("subDeptId", getSubDeptId())
.append("subDeptName", getSubDeptName())
.append("userId", getUserId())
.append("userName", getUserName())
.append("craftType", getCraftType())
.append("craftPost", getCraftPost())
.append("eduStatus", getEduStatus())
.append("eduFilePath", getEduFilePath())
.append("eduSignPath", getEduSignPath())
.append("eduDate", getEduDate())
.append("approveStatus", getApproveStatus())
.append("useStatus", getUseStatus())
.append("subStep", getSubStep())
.append("illnessStatus", getIllnessStatus())
.append("supIllnessStatus", getSupIllnessStatus())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,154 @@
package com.yanzhu.manage.domain;
import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* pro_project_info_users
*
* @author JiangYuQi
* @date 2024-08-25
*/
public class ProProjectInfoUsers extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 单位主键 */
@Excel(name = "单位主键")
private Long deptId;
/** 项目主键 */
@Excel(name = "项目主键")
private Long projectId;
/** 用户主键 */
@Excel(name = "用户主键")
private Long userId;
/** 用户姓名 */
@Excel(name = "用户姓名")
private String userName;
/** 用户编号 */
@Excel(name = "用户编号")
private String userCode;
/** 用户电话 */
@Excel(name = "用户电话")
private String userPhone;
/** 进场状态 */
@Excel(name = "进场状态")
private String useStatus;
/** 删除标识 */
@Excel(name = "删除标识")
private Long isDel;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setProjectId(Long projectId)
{
this.projectId = projectId;
}
public Long getProjectId()
{
return projectId;
}
public void setUserId(Long userId)
{
this.userId = userId;
}
public Long getUserId()
{
return userId;
}
public void setUserName(String userName)
{
this.userName = userName;
}
public String getUserName()
{
return userName;
}
public void setUserCode(String userCode)
{
this.userCode = userCode;
}
public String getUserCode()
{
return userCode;
}
public void setUserPhone(String userPhone)
{
this.userPhone = userPhone;
}
public String getUserPhone()
{
return userPhone;
}
public void setUseStatus(String useStatus)
{
this.useStatus = useStatus;
}
public String getUseStatus()
{
return useStatus;
}
public void setIsDel(Long isDel)
{
this.isDel = isDel;
}
public Long getIsDel()
{
return isDel;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("projectId", getProjectId())
.append("userId", getUserId())
.append("userName", getUserName())
.append("userCode", getUserCode())
.append("userPhone", getUserPhone())
.append("useStatus", getUseStatus())
.append("isDel", getIsDel())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,87 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusExamInfo;
import com.yanzhu.manage.domain.BusExamInfoQues;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusExamInfoMapper
{
/**
*
*
* @param id
* @return
*/
public BusExamInfo selectBusExamInfoById(Long id);
/**
*
*
* @param busExamInfo
* @return
*/
public List<BusExamInfo> selectBusExamInfoList(BusExamInfo busExamInfo);
/**
*
*
* @param busExamInfo
* @return
*/
public int insertBusExamInfo(BusExamInfo busExamInfo);
/**
*
*
* @param busExamInfo
* @return
*/
public int updateBusExamInfo(BusExamInfo busExamInfo);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamInfoById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamInfoByIds(Long[] ids);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamInfoQuesByExamIds(Long[] ids);
/**
*
*
* @param busExamInfoQuesList
* @return
*/
public int batchBusExamInfoQues(List<BusExamInfoQues> busExamInfoQuesList);
/**
*
*
* @param id ID
* @return
*/
public int deleteBusExamInfoQuesByExamId(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusExamInfoQues;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusExamInfoQuesMapper
{
/**
*
*
* @param examId
* @return
*/
public BusExamInfoQues selectBusExamInfoQuesByExamId(Long examId);
/**
*
*
* @param busExamInfoQues
* @return
*/
public List<BusExamInfoQues> selectBusExamInfoQuesList(BusExamInfoQues busExamInfoQues);
/**
*
*
* @param busExamInfoQues
* @return
*/
public int insertBusExamInfoQues(BusExamInfoQues busExamInfoQues);
/**
*
*
* @param busExamInfoQues
* @return
*/
public int updateBusExamInfoQues(BusExamInfoQues busExamInfoQues);
/**
*
*
* @param examId
* @return
*/
public int deleteBusExamInfoQuesByExamId(Long examId);
/**
*
*
* @param examIds
* @return
*/
public int deleteBusExamInfoQuesByExamIds(Long[] examIds);
}

View File

@ -0,0 +1,87 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusExamQuestion;
import com.yanzhu.manage.domain.BusExamQuestionResult;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusExamQuestionMapper
{
/**
*
*
* @param id
* @return
*/
public BusExamQuestion selectBusExamQuestionById(Long id);
/**
*
*
* @param busExamQuestion
* @return
*/
public List<BusExamQuestion> selectBusExamQuestionList(BusExamQuestion busExamQuestion);
/**
*
*
* @param busExamQuestion
* @return
*/
public int insertBusExamQuestion(BusExamQuestion busExamQuestion);
/**
*
*
* @param busExamQuestion
* @return
*/
public int updateBusExamQuestion(BusExamQuestion busExamQuestion);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamQuestionById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamQuestionByIds(Long[] ids);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamQuestionResultByQuestionIds(Long[] ids);
/**
*
*
* @param busExamQuestionResultList
* @return
*/
public int batchBusExamQuestionResult(List<BusExamQuestionResult> busExamQuestionResultList);
/**
*
*
* @param id ID
* @return
*/
public int deleteBusExamQuestionResultByQuestionId(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusExamQuestionResult;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusExamQuestionResultMapper
{
/**
*
*
* @param id
* @return
*/
public BusExamQuestionResult selectBusExamQuestionResultById(Long id);
/**
*
*
* @param busExamQuestionResult
* @return
*/
public List<BusExamQuestionResult> selectBusExamQuestionResultList(BusExamQuestionResult busExamQuestionResult);
/**
*
*
* @param busExamQuestionResult
* @return
*/
public int insertBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult);
/**
*
*
* @param busExamQuestionResult
* @return
*/
public int updateBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamQuestionResultById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamQuestionResultByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusExamUser;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusExamUserMapper
{
/**
*
*
* @param id
* @return
*/
public BusExamUser selectBusExamUserById(Long id);
/**
*
*
* @param busExamUser
* @return
*/
public List<BusExamUser> selectBusExamUserList(BusExamUser busExamUser);
/**
*
*
* @param busExamUser
* @return
*/
public int insertBusExamUser(BusExamUser busExamUser);
/**
*
*
* @param busExamUser
* @return
*/
public int updateBusExamUser(BusExamUser busExamUser);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamUserById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamUserByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusExamUserResult;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusExamUserResultMapper
{
/**
*
*
* @param examUserId
* @return
*/
public BusExamUserResult selectBusExamUserResultByExamUserId(Long examUserId);
/**
*
*
* @param busExamUserResult
* @return
*/
public List<BusExamUserResult> selectBusExamUserResultList(BusExamUserResult busExamUserResult);
/**
*
*
* @param busExamUserResult
* @return
*/
public int insertBusExamUserResult(BusExamUserResult busExamUserResult);
/**
*
*
* @param busExamUserResult
* @return
*/
public int updateBusExamUserResult(BusExamUserResult busExamUserResult);
/**
*
*
* @param examUserId
* @return
*/
public int deleteBusExamUserResultByExamUserId(Long examUserId);
/**
*
*
* @param examUserIds
* @return
*/
public int deleteBusExamUserResultByExamUserIds(Long[] examUserIds);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.BusTrainingVideo;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusTrainingVideoMapper
{
/**
*
*
* @param id
* @return
*/
public BusTrainingVideo selectBusTrainingVideoById(Long id);
/**
*
*
* @param busTrainingVideo
* @return
*/
public List<BusTrainingVideo> selectBusTrainingVideoList(BusTrainingVideo busTrainingVideo);
/**
*
*
* @param busTrainingVideo
* @return
*/
public int insertBusTrainingVideo(BusTrainingVideo busTrainingVideo);
/**
*
*
* @param busTrainingVideo
* @return
*/
public int updateBusTrainingVideo(BusTrainingVideo busTrainingVideo);
/**
*
*
* @param id
* @return
*/
public int deleteBusTrainingVideoById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteBusTrainingVideoByIds(Long[] ids);
}

View File

@ -0,0 +1,62 @@
package com.yanzhu.manage.mapper;
import com.yanzhu.manage.domain.BusTrainingVideoUser;
import java.util.List;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface BusTrainingVideoUserMapper
{
/**
*
*
* @param id
* @return
*/
public BusTrainingVideoUser selectBusTrainingVideoUserById(Long id);
/**
*
*
* @param busTrainingVideoUser
* @return
*/
public List<BusTrainingVideoUser> selectBusTrainingVideoUserList(BusTrainingVideoUser busTrainingVideoUser);
/**
*
*
* @param busTrainingVideoUser
* @return
*/
public int insertBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser);
/**
*
*
* @param busTrainingVideoUser
* @return
*/
public int updateBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser);
/**
*
*
* @param id
* @return
*/
public int deleteBusTrainingVideoUserById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteBusTrainingVideoUserByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoDepts;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface ProProjectInfoDeptsMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoDepts selectProProjectInfoDeptsById(Long id);
/**
*
*
* @param proProjectInfoDepts
* @return
*/
public List<ProProjectInfoDepts> selectProProjectInfoDeptsList(ProProjectInfoDepts proProjectInfoDepts);
/**
*
*
* @param proProjectInfoDepts
* @return
*/
public int insertProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts);
/**
*
*
* @param proProjectInfoDepts
* @return
*/
public int updateProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoDeptsById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoDeptsByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfo;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface ProProjectInfoMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfo selectProProjectInfoById(Long id);
/**
*
*
* @param proProjectInfo
* @return
*/
public List<ProProjectInfo> selectProProjectInfoList(ProProjectInfo proProjectInfo);
/**
*
*
* @param proProjectInfo
* @return
*/
public int insertProProjectInfo(ProProjectInfo proProjectInfo);
/**
*
*
* @param proProjectInfo
* @return
*/
public int updateProProjectInfo(ProProjectInfo proProjectInfo);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSetting;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface ProProjectInfoSettingMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSetting selectProProjectInfoSettingById(Long id);
/**
*
*
* @param proProjectInfoSetting
* @return
*/
public List<ProProjectInfoSetting> selectProProjectInfoSettingList(ProProjectInfoSetting proProjectInfoSetting);
/**
*
*
* @param proProjectInfoSetting
* @return
*/
public int insertProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting);
/**
*
*
* @param proProjectInfoSetting
* @return
*/
public int updateProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSettingById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSettingByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup;
/**
* Mapper
*
* @author JiangYuqi
* @date 2024-08-25
*/
public interface ProProjectInfoSubdeptsGroupMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSubdeptsGroup selectProProjectInfoSubdeptsGroupById(Long id);
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
public List<ProProjectInfoSubdeptsGroup> selectProProjectInfoSubdeptsGroupList(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup);
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
public int insertProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup);
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
public int updateProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSubdeptsGroupById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSubdeptsGroupByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSubdepts;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface ProProjectInfoSubdeptsMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSubdepts selectProProjectInfoSubdeptsById(Long id);
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
public List<ProProjectInfoSubdepts> selectProProjectInfoSubdeptsList(ProProjectInfoSubdepts proProjectInfoSubdepts);
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
public int insertProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts);
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
public int updateProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSubdeptsById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSubdeptsByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface ProProjectInfoSubdeptsUsersMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSubdeptsUsers selectProProjectInfoSubdeptsUsersById(Long id);
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
public List<ProProjectInfoSubdeptsUsers> selectProProjectInfoSubdeptsUsersList(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers);
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
public int insertProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers);
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
public int updateProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSubdeptsUsersById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSubdeptsUsersByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.mapper;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoUsers;
/**
* Mapper
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface ProProjectInfoUsersMapper
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoUsers selectProProjectInfoUsersById(Long id);
/**
*
*
* @param proProjectInfoUsers
* @return
*/
public List<ProProjectInfoUsers> selectProProjectInfoUsersList(ProProjectInfoUsers proProjectInfoUsers);
/**
*
*
* @param proProjectInfoUsers
* @return
*/
public int insertProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers);
/**
*
*
* @param proProjectInfoUsers
* @return
*/
public int updateProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoUsersById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoUsersByIds(Long[] ids);
}

View File

@ -0,0 +1,168 @@
<?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.BusExamInfoMapper">
<resultMap type="BusExamInfo" id="BusExamInfoResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="examTitle" column="exam_title" />
<result property="examType" column="exam_type" />
<result property="craftType" column="craft_type" />
<result property="craftPost" column="craft_post" />
<result property="singleNum" column="single_num" />
<result property="multipleNum" column="multiple_num" />
<result property="estimateNum" column="estimate_num" />
<result property="fullMark" column="full_mark" />
<result property="passMark" column="pass_mark" />
<result property="useNumber" column="use_number" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<resultMap id="BusExamInfoBusExamInfoQuesResult" type="BusExamInfo" extends="BusExamInfoResult">
<collection property="busExamInfoQuesList" notNullColumn="sub_exam_id" javaType="java.util.List" resultMap="BusExamInfoQuesResult" />
</resultMap>
<resultMap type="BusExamInfoQues" id="BusExamInfoQuesResult">
<result property="examId" column="sub_exam_id" />
<result property="questionId" column="sub_question_id" />
<result property="marks" column="sub_marks" />
<result property="sortBy" column="sub_sort_by" />
</resultMap>
<sql id="selectBusExamInfoVo">
select id, dept_id, project_id, exam_title, exam_type, craft_type, craft_post, single_num, multiple_num, estimate_num, full_mark, pass_mark, use_number, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_info
</sql>
<select id="selectBusExamInfoList" parameterType="BusExamInfo" resultMap="BusExamInfoResult">
<include refid="selectBusExamInfoVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="examTitle != null and examTitle != ''"> and exam_title = #{examTitle}</if>
<if test="examType != null and examType != ''"> and exam_type = #{examType}</if>
<if test="craftType != null and craftType != ''"> and craft_type = #{craftType}</if>
<if test="craftPost != null and craftPost != ''"> and craft_post = #{craftPost}</if>
<if test="singleNum != null and singleNum != ''"> and single_num = #{singleNum}</if>
<if test="multipleNum != null and multipleNum != ''"> and multiple_num = #{multipleNum}</if>
<if test="estimateNum != null and estimateNum != ''"> and estimate_num = #{estimateNum}</if>
<if test="fullMark != null "> and full_mark = #{fullMark}</if>
<if test="passMark != null "> and pass_mark = #{passMark}</if>
<if test="useNumber != null "> and use_number = #{useNumber}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectBusExamInfoById" parameterType="Long" resultMap="BusExamInfoBusExamInfoQuesResult">
select a.id, a.dept_id, a.project_id, a.exam_title, a.exam_type, a.craft_type, a.craft_post, a.single_num, a.multiple_num, a.estimate_num, a.full_mark, a.pass_mark, a.use_number, a.is_del, a.create_by, a.create_time, a.update_by, a.update_time, a.remark,
b.exam_id as sub_exam_id, b.question_id as sub_question_id, b.marks as sub_marks, b.sort_by as sub_sort_by
from bus_exam_info a
left join bus_exam_info_ques b on b.exam_id = a.id
where a.id = #{id}
</select>
<insert id="insertBusExamInfo" parameterType="BusExamInfo" useGeneratedKeys="true" keyProperty="id">
insert into bus_exam_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="examTitle != null">exam_title,</if>
<if test="examType != null">exam_type,</if>
<if test="craftType != null">craft_type,</if>
<if test="craftPost != null">craft_post,</if>
<if test="singleNum != null">single_num,</if>
<if test="multipleNum != null">multiple_num,</if>
<if test="estimateNum != null">estimate_num,</if>
<if test="fullMark != null">full_mark,</if>
<if test="passMark != null">pass_mark,</if>
<if test="useNumber != null">use_number,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="examTitle != null">#{examTitle},</if>
<if test="examType != null">#{examType},</if>
<if test="craftType != null">#{craftType},</if>
<if test="craftPost != null">#{craftPost},</if>
<if test="singleNum != null">#{singleNum},</if>
<if test="multipleNum != null">#{multipleNum},</if>
<if test="estimateNum != null">#{estimateNum},</if>
<if test="fullMark != null">#{fullMark},</if>
<if test="passMark != null">#{passMark},</if>
<if test="useNumber != null">#{useNumber},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateBusExamInfo" parameterType="BusExamInfo">
update bus_exam_info
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="examTitle != null">exam_title = #{examTitle},</if>
<if test="examType != null">exam_type = #{examType},</if>
<if test="craftType != null">craft_type = #{craftType},</if>
<if test="craftPost != null">craft_post = #{craftPost},</if>
<if test="singleNum != null">single_num = #{singleNum},</if>
<if test="multipleNum != null">multiple_num = #{multipleNum},</if>
<if test="estimateNum != null">estimate_num = #{estimateNum},</if>
<if test="fullMark != null">full_mark = #{fullMark},</if>
<if test="passMark != null">pass_mark = #{passMark},</if>
<if test="useNumber != null">use_number = #{useNumber},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteBusExamInfoById" parameterType="Long">
delete from bus_exam_info where id = #{id}
</delete>
<delete id="deleteBusExamInfoByIds" parameterType="String">
delete from bus_exam_info where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
<delete id="deleteBusExamInfoQuesByExamIds" parameterType="String">
delete from bus_exam_info_ques where exam_id in
<foreach item="examId" collection="array" open="(" separator="," close=")">
#{examId}
</foreach>
</delete>
<delete id="deleteBusExamInfoQuesByExamId" parameterType="Long">
delete from bus_exam_info_ques where exam_id = #{examId}
</delete>
<insert id="batchBusExamInfoQues">
insert into bus_exam_info_ques( exam_id, question_id, marks, sort_by) values
<foreach item="item" index="index" collection="list" separator=",">
( #{item.examId}, #{item.questionId}, #{item.marks}, #{item.sortBy})
</foreach>
</insert>
</mapper>

View File

@ -0,0 +1,69 @@
<?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.BusExamInfoQuesMapper">
<resultMap type="BusExamInfoQues" id="BusExamInfoQuesResult">
<result property="examId" column="exam_id" />
<result property="questionId" column="question_id" />
<result property="marks" column="marks" />
<result property="sortBy" column="sort_by" />
</resultMap>
<sql id="selectBusExamInfoQuesVo">
select exam_id, question_id, marks, sort_by from bus_exam_info_ques
</sql>
<select id="selectBusExamInfoQuesList" parameterType="BusExamInfoQues" resultMap="BusExamInfoQuesResult">
<include refid="selectBusExamInfoQuesVo"/>
<where>
<if test="examId != null "> and exam_id = #{examId}</if>
<if test="questionId != null "> and question_id = #{questionId}</if>
<if test="marks != null "> and marks = #{marks}</if>
<if test="sortBy != null "> and sort_by = #{sortBy}</if>
</where>
</select>
<select id="selectBusExamInfoQuesByExamId" parameterType="Long" resultMap="BusExamInfoQuesResult">
<include refid="selectBusExamInfoQuesVo"/>
where exam_id = #{examId}
</select>
<insert id="insertBusExamInfoQues" parameterType="BusExamInfoQues">
insert into bus_exam_info_ques
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="examId != null">exam_id,</if>
<if test="questionId != null">question_id,</if>
<if test="marks != null">marks,</if>
<if test="sortBy != null">sort_by,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="examId != null">#{examId},</if>
<if test="questionId != null">#{questionId},</if>
<if test="marks != null">#{marks},</if>
<if test="sortBy != null">#{sortBy},</if>
</trim>
</insert>
<update id="updateBusExamInfoQues" parameterType="BusExamInfoQues">
update bus_exam_info_ques
<trim prefix="SET" suffixOverrides=",">
<if test="questionId != null">question_id = #{questionId},</if>
<if test="marks != null">marks = #{marks},</if>
<if test="sortBy != null">sort_by = #{sortBy},</if>
</trim>
where exam_id = #{examId}
</update>
<delete id="deleteBusExamInfoQuesByExamId" parameterType="Long">
delete from bus_exam_info_ques where exam_id = #{examId}
</delete>
<delete id="deleteBusExamInfoQuesByExamIds" parameterType="String">
delete from bus_exam_info_ques where exam_id in
<foreach item="examId" collection="array" open="(" separator="," close=")">
#{examId}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,154 @@
<?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.BusExamQuestionMapper">
<resultMap type="BusExamQuestion" id="BusExamQuestionResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="craftType" column="craft_type" />
<result property="craftPost" column="craft_post" />
<result property="questionDiff" column="question_diff" />
<result property="questionType" column="question_type" />
<result property="questionDesc" column="question_desc" />
<result property="questionAnswer" column="question_answer" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<resultMap id="BusExamQuestionBusExamQuestionResultResult" type="BusExamQuestion" extends="BusExamQuestionResult">
<collection property="busExamQuestionResultList" notNullColumn="sub_id" javaType="java.util.List" resultMap="BusExamQuestionResultResult" />
</resultMap>
<resultMap type="BusExamQuestionResult" id="BusExamQuestionResultResult">
<result property="id" column="sub_id" />
<result property="questionId" column="sub_question_id" />
<result property="opt" column="sub_opt" />
<result property="result" column="sub_result" />
<result property="isDel" column="sub_is_del" />
<result property="createBy" column="sub_create_by" />
<result property="createTime" column="sub_create_time" />
<result property="updateBy" column="sub_update_by" />
<result property="updateTime" column="sub_update_time" />
<result property="remark" column="sub_remark" />
</resultMap>
<sql id="selectBusExamQuestionVo">
select id, dept_id, project_id, craft_type, craft_post, question_diff, question_type, question_desc, question_answer, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_question
</sql>
<select id="selectBusExamQuestionList" parameterType="BusExamQuestion" resultMap="BusExamQuestionResult">
<include refid="selectBusExamQuestionVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="craftType != null and craftType != ''"> and craft_type = #{craftType}</if>
<if test="craftPost != null and craftPost != ''"> and craft_post = #{craftPost}</if>
<if test="questionDiff != null "> and question_diff = #{questionDiff}</if>
<if test="questionType != null "> and question_type = #{questionType}</if>
<if test="questionDesc != null and questionDesc != ''"> and question_desc = #{questionDesc}</if>
<if test="questionAnswer != null and questionAnswer != ''"> and question_answer = #{questionAnswer}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectBusExamQuestionById" parameterType="Long" resultMap="BusExamQuestionBusExamQuestionResultResult">
select a.id, a.dept_id, a.project_id, a.craft_type, a.craft_post, a.question_diff, a.question_type, a.question_desc, a.question_answer, a.is_del, a.create_by, a.create_time, a.update_by, a.update_time, a.remark,
b.id as sub_id, b.question_id as sub_question_id, b.opt as sub_opt, b.result as sub_result, b.is_del as sub_is_del, b.create_by as sub_create_by, b.create_time as sub_create_time, b.update_by as sub_update_by, b.update_time as sub_update_time, b.remark as sub_remark
from bus_exam_question a
left join bus_exam_question_result b on b.question_id = a.id
where a.id = #{id}
</select>
<insert id="insertBusExamQuestion" parameterType="BusExamQuestion" useGeneratedKeys="true" keyProperty="id">
insert into bus_exam_question
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="craftType != null">craft_type,</if>
<if test="craftPost != null">craft_post,</if>
<if test="questionDiff != null">question_diff,</if>
<if test="questionType != null">question_type,</if>
<if test="questionDesc != null">question_desc,</if>
<if test="questionAnswer != null">question_answer,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="craftType != null">#{craftType},</if>
<if test="craftPost != null">#{craftPost},</if>
<if test="questionDiff != null">#{questionDiff},</if>
<if test="questionType != null">#{questionType},</if>
<if test="questionDesc != null">#{questionDesc},</if>
<if test="questionAnswer != null">#{questionAnswer},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateBusExamQuestion" parameterType="BusExamQuestion">
update bus_exam_question
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="craftType != null">craft_type = #{craftType},</if>
<if test="craftPost != null">craft_post = #{craftPost},</if>
<if test="questionDiff != null">question_diff = #{questionDiff},</if>
<if test="questionType != null">question_type = #{questionType},</if>
<if test="questionDesc != null">question_desc = #{questionDesc},</if>
<if test="questionAnswer != null">question_answer = #{questionAnswer},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteBusExamQuestionById" parameterType="Long">
delete from bus_exam_question where id = #{id}
</delete>
<delete id="deleteBusExamQuestionByIds" parameterType="String">
delete from bus_exam_question where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
<delete id="deleteBusExamQuestionResultByQuestionIds" parameterType="String">
delete from bus_exam_question_result where question_id in
<foreach item="questionId" collection="array" open="(" separator="," close=")">
#{questionId}
</foreach>
</delete>
<delete id="deleteBusExamQuestionResultByQuestionId" parameterType="Long">
delete from bus_exam_question_result where question_id = #{questionId}
</delete>
<insert id="batchBusExamQuestionResult">
insert into bus_exam_question_result( id, question_id, opt, result, is_del, create_by, create_time, update_by, update_time, remark) values
<foreach item="item" index="index" collection="list" separator=",">
( #{item.id}, #{item.questionId}, #{item.opt}, #{item.result}, #{item.isDel}, #{item.createBy}, #{item.createTime}, #{item.updateBy}, #{item.updateTime}, #{item.remark})
</foreach>
</insert>
</mapper>

View File

@ -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.BusExamQuestionResultMapper">
<resultMap type="BusExamQuestionResult" id="BusExamQuestionResultResult">
<result property="id" column="id" />
<result property="questionId" column="question_id" />
<result property="opt" column="opt" />
<result property="result" column="result" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectBusExamQuestionResultVo">
select id, question_id, opt, result, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_question_result
</sql>
<select id="selectBusExamQuestionResultList" parameterType="BusExamQuestionResult" resultMap="BusExamQuestionResultResult">
<include refid="selectBusExamQuestionResultVo"/>
<where>
<if test="questionId != null "> and question_id = #{questionId}</if>
<if test="opt != null and opt != ''"> and opt = #{opt}</if>
<if test="result != null and result != ''"> and result like concat('%', #{result}, '%')</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectBusExamQuestionResultById" parameterType="Long" resultMap="BusExamQuestionResultResult">
<include refid="selectBusExamQuestionResultVo"/>
where id = #{id}
</select>
<insert id="insertBusExamQuestionResult" parameterType="BusExamQuestionResult" useGeneratedKeys="true" keyProperty="id">
insert into bus_exam_question_result
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="questionId != null">question_id,</if>
<if test="opt != null">opt,</if>
<if test="result != null">result,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="questionId != null">#{questionId},</if>
<if test="opt != null">#{opt},</if>
<if test="result != null">#{result},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateBusExamQuestionResult" parameterType="BusExamQuestionResult">
update bus_exam_question_result
<trim prefix="SET" suffixOverrides=",">
<if test="questionId != null">question_id = #{questionId},</if>
<if test="opt != null">opt = #{opt},</if>
<if test="result != null">result = #{result},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteBusExamQuestionResultById" parameterType="Long">
delete from bus_exam_question_result where id = #{id}
</delete>
<delete id="deleteBusExamQuestionResultByIds" parameterType="String">
delete from bus_exam_question_result where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,141 @@
<?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.BusExamUserMapper">
<resultMap type="BusExamUser" id="BusExamUserResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="userId" column="user_id" />
<result property="examTitle" column="exam_title" />
<result property="examType" column="exam_type" />
<result property="craftType" column="craft_type" />
<result property="craftPost" column="craft_post" />
<result property="singleNum" column="single_num" />
<result property="multipleNum" column="multiple_num" />
<result property="estimateNum" column="estimate_num" />
<result property="userMark" column="user_mark" />
<result property="resStatus" column="res_status" />
<result property="useTimes" column="use_times" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectBusExamUserVo">
select id, dept_id, project_id, user_id, exam_title, exam_type, craft_type, craft_post, single_num, multiple_num, estimate_num, user_mark, res_status, use_times, is_del, create_by, create_time, update_by, update_time, remark from bus_exam_user
</sql>
<select id="selectBusExamUserList" parameterType="BusExamUser" resultMap="BusExamUserResult">
<include refid="selectBusExamUserVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="examTitle != null and examTitle != ''"> and exam_title = #{examTitle}</if>
<if test="examType != null and examType != ''"> and exam_type = #{examType}</if>
<if test="craftType != null and craftType != ''"> and craft_type = #{craftType}</if>
<if test="craftPost != null and craftPost != ''"> and craft_post = #{craftPost}</if>
<if test="singleNum != null and singleNum != ''"> and single_num = #{singleNum}</if>
<if test="multipleNum != null and multipleNum != ''"> and multiple_num = #{multipleNum}</if>
<if test="estimateNum != null and estimateNum != ''"> and estimate_num = #{estimateNum}</if>
<if test="userMark != null "> and user_mark = #{userMark}</if>
<if test="resStatus != null "> and res_status = #{resStatus}</if>
<if test="useTimes != null and useTimes != ''"> and use_times = #{useTimes}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectBusExamUserById" parameterType="Long" resultMap="BusExamUserResult">
<include refid="selectBusExamUserVo"/>
where id = #{id}
</select>
<insert id="insertBusExamUser" parameterType="BusExamUser" useGeneratedKeys="true" keyProperty="id">
insert into bus_exam_user
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="userId != null">user_id,</if>
<if test="examTitle != null">exam_title,</if>
<if test="examType != null">exam_type,</if>
<if test="craftType != null">craft_type,</if>
<if test="craftPost != null">craft_post,</if>
<if test="singleNum != null">single_num,</if>
<if test="multipleNum != null">multiple_num,</if>
<if test="estimateNum != null">estimate_num,</if>
<if test="userMark != null">user_mark,</if>
<if test="resStatus != null">res_status,</if>
<if test="useTimes != null">use_times,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="userId != null">#{userId},</if>
<if test="examTitle != null">#{examTitle},</if>
<if test="examType != null">#{examType},</if>
<if test="craftType != null">#{craftType},</if>
<if test="craftPost != null">#{craftPost},</if>
<if test="singleNum != null">#{singleNum},</if>
<if test="multipleNum != null">#{multipleNum},</if>
<if test="estimateNum != null">#{estimateNum},</if>
<if test="userMark != null">#{userMark},</if>
<if test="resStatus != null">#{resStatus},</if>
<if test="useTimes != null">#{useTimes},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateBusExamUser" parameterType="BusExamUser">
update bus_exam_user
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="userId != null">user_id = #{userId},</if>
<if test="examTitle != null">exam_title = #{examTitle},</if>
<if test="examType != null">exam_type = #{examType},</if>
<if test="craftType != null">craft_type = #{craftType},</if>
<if test="craftPost != null">craft_post = #{craftPost},</if>
<if test="singleNum != null">single_num = #{singleNum},</if>
<if test="multipleNum != null">multiple_num = #{multipleNum},</if>
<if test="estimateNum != null">estimate_num = #{estimateNum},</if>
<if test="userMark != null">user_mark = #{userMark},</if>
<if test="resStatus != null">res_status = #{resStatus},</if>
<if test="useTimes != null">use_times = #{useTimes},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteBusExamUserById" parameterType="Long">
delete from bus_exam_user where id = #{id}
</delete>
<delete id="deleteBusExamUserByIds" parameterType="String">
delete from bus_exam_user where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,79 @@
<?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.BusExamUserResultMapper">
<resultMap type="BusExamUserResult" id="BusExamUserResultResult">
<result property="examUserId" column="exam_user_id" />
<result property="questionId" column="question_id" />
<result property="answers" column="answers" />
<result property="sortBy" column="sort_by" />
<result property="useRes" column="use_res" />
<result property="useMark" column="use_mark" />
</resultMap>
<sql id="selectBusExamUserResultVo">
select exam_user_id, question_id, answers, sort_by, use_res, use_mark from bus_exam_user_result
</sql>
<select id="selectBusExamUserResultList" parameterType="BusExamUserResult" resultMap="BusExamUserResultResult">
<include refid="selectBusExamUserResultVo"/>
<where>
<if test="examUserId != null "> and exam_user_id = #{examUserId}</if>
<if test="questionId != null "> and question_id = #{questionId}</if>
<if test="answers != null and answers != ''"> and answers = #{answers}</if>
<if test="sortBy != null "> and sort_by = #{sortBy}</if>
<if test="useRes != null and useRes != ''"> and use_res = #{useRes}</if>
<if test="useMark != null and useMark != ''"> and use_mark = #{useMark}</if>
</where>
</select>
<select id="selectBusExamUserResultByExamUserId" parameterType="Long" resultMap="BusExamUserResultResult">
<include refid="selectBusExamUserResultVo"/>
where exam_user_id = #{examUserId}
</select>
<insert id="insertBusExamUserResult" parameterType="BusExamUserResult">
insert into bus_exam_user_result
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="examUserId != null">exam_user_id,</if>
<if test="questionId != null">question_id,</if>
<if test="answers != null">answers,</if>
<if test="sortBy != null">sort_by,</if>
<if test="useRes != null">use_res,</if>
<if test="useMark != null">use_mark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="examUserId != null">#{examUserId},</if>
<if test="questionId != null">#{questionId},</if>
<if test="answers != null">#{answers},</if>
<if test="sortBy != null">#{sortBy},</if>
<if test="useRes != null">#{useRes},</if>
<if test="useMark != null">#{useMark},</if>
</trim>
</insert>
<update id="updateBusExamUserResult" parameterType="BusExamUserResult">
update bus_exam_user_result
<trim prefix="SET" suffixOverrides=",">
<if test="questionId != null">question_id = #{questionId},</if>
<if test="answers != null">answers = #{answers},</if>
<if test="sortBy != null">sort_by = #{sortBy},</if>
<if test="useRes != null">use_res = #{useRes},</if>
<if test="useMark != null">use_mark = #{useMark},</if>
</trim>
where exam_user_id = #{examUserId}
</update>
<delete id="deleteBusExamUserResultByExamUserId" parameterType="Long">
delete from bus_exam_user_result where exam_user_id = #{examUserId}
</delete>
<delete id="deleteBusExamUserResultByExamUserIds" parameterType="String">
delete from bus_exam_user_result where exam_user_id in
<foreach item="examUserId" collection="array" open="(" separator="," close=")">
#{examUserId}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,128 @@
<?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.BusTrainingVideoMapper">
<resultMap type="BusTrainingVideo" id="BusTrainingVideoResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="trainTitle" column="train_title" />
<result property="trainType" column="train_type" />
<result property="trainLevel" column="train_level" />
<result property="craftType" column="craft_type" />
<result property="craftPost" column="craft_post" />
<result property="trainFileType" column="train_file_type" />
<result property="trainFilePath" column="train_file_path" />
<result property="trainFileImage" column="train_file_image" />
<result property="trainFileTimes" column="train_file_times" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectBusTrainingVideoVo">
select id, dept_id, project_id, train_title, train_type, train_level, craft_type, craft_post, train_file_type, train_file_path, train_file_image, train_file_times, is_del, create_by, create_time, update_by, update_time, remark from bus_training_video
</sql>
<select id="selectBusTrainingVideoList" parameterType="BusTrainingVideo" resultMap="BusTrainingVideoResult">
<include refid="selectBusTrainingVideoVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="trainTitle != null and trainTitle != ''"> and train_title like concat('%', #{trainTitle}, '%')</if>
<if test="trainType != null and trainType != ''"> and train_type = #{trainType}</if>
<if test="trainLevel != null and trainLevel != ''"> and train_level = #{trainLevel}</if>
<if test="craftType != null and craftType != ''"> and craft_type = #{craftType}</if>
<if test="craftPost != null and craftPost != ''"> and craft_post = #{craftPost}</if>
<if test="trainFileType != null and trainFileType != ''"> and train_file_type = #{trainFileType}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectBusTrainingVideoById" parameterType="Long" resultMap="BusTrainingVideoResult">
<include refid="selectBusTrainingVideoVo"/>
where id = #{id}
</select>
<insert id="insertBusTrainingVideo" parameterType="BusTrainingVideo" useGeneratedKeys="true" keyProperty="id">
insert into bus_training_video
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="trainTitle != null">train_title,</if>
<if test="trainType != null">train_type,</if>
<if test="trainLevel != null">train_level,</if>
<if test="craftType != null">craft_type,</if>
<if test="craftPost != null">craft_post,</if>
<if test="trainFileType != null">train_file_type,</if>
<if test="trainFilePath != null">train_file_path,</if>
<if test="trainFileImage != null">train_file_image,</if>
<if test="trainFileTimes != null">train_file_times,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="trainTitle != null">#{trainTitle},</if>
<if test="trainType != null">#{trainType},</if>
<if test="trainLevel != null">#{trainLevel},</if>
<if test="craftType != null">#{craftType},</if>
<if test="craftPost != null">#{craftPost},</if>
<if test="trainFileType != null">#{trainFileType},</if>
<if test="trainFilePath != null">#{trainFilePath},</if>
<if test="trainFileImage != null">#{trainFileImage},</if>
<if test="trainFileTimes != null">#{trainFileTimes},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateBusTrainingVideo" parameterType="BusTrainingVideo">
update bus_training_video
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="trainTitle != null">train_title = #{trainTitle},</if>
<if test="trainType != null">train_type = #{trainType},</if>
<if test="trainLevel != null">train_level = #{trainLevel},</if>
<if test="craftType != null">craft_type = #{craftType},</if>
<if test="craftPost != null">craft_post = #{craftPost},</if>
<if test="trainFileType != null">train_file_type = #{trainFileType},</if>
<if test="trainFilePath != null">train_file_path = #{trainFilePath},</if>
<if test="trainFileImage != null">train_file_image = #{trainFileImage},</if>
<if test="trainFileTimes != null">train_file_times = #{trainFileTimes},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteBusTrainingVideoById" parameterType="Long">
delete from bus_training_video where id = #{id}
</delete>
<delete id="deleteBusTrainingVideoByIds" parameterType="String">
delete from bus_training_video where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,106 @@
<?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.BusTrainingVideoUserMapper">
<resultMap type="BusTrainingVideoUser" id="BusTrainingVideoUserResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="userId" column="user_id" />
<result property="videoId" column="video_id" />
<result property="playStatus" column="play_status" />
<result property="sortBy" column="sort_by" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectBusTrainingVideoUserVo">
select id, dept_id, project_id, user_id, video_id, play_status, sort_by, is_del, create_by, create_time, update_by, update_time, remark from bus_training_video_user
</sql>
<select id="selectBusTrainingVideoUserList" parameterType="BusTrainingVideoUser" resultMap="BusTrainingVideoUserResult">
<include refid="selectBusTrainingVideoUserVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="videoId != null "> and video_id = #{videoId}</if>
<if test="playStatus != null "> and play_status = #{playStatus}</if>
<if test="sortBy != null "> and sort_by = #{sortBy}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectBusTrainingVideoUserById" parameterType="Long" resultMap="BusTrainingVideoUserResult">
<include refid="selectBusTrainingVideoUserVo"/>
where id = #{id}
</select>
<insert id="insertBusTrainingVideoUser" parameterType="BusTrainingVideoUser" useGeneratedKeys="true" keyProperty="id">
insert into bus_training_video_user
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="userId != null">user_id,</if>
<if test="videoId != null">video_id,</if>
<if test="playStatus != null">play_status,</if>
<if test="sortBy != null">sort_by,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="userId != null">#{userId},</if>
<if test="videoId != null">#{videoId},</if>
<if test="playStatus != null">#{playStatus},</if>
<if test="sortBy != null">#{sortBy},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateBusTrainingVideoUser" parameterType="BusTrainingVideoUser">
update bus_training_video_user
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="userId != null">user_id = #{userId},</if>
<if test="videoId != null">video_id = #{videoId},</if>
<if test="playStatus != null">play_status = #{playStatus},</if>
<if test="sortBy != null">sort_by = #{sortBy},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteBusTrainingVideoUserById" parameterType="Long">
delete from bus_training_video_user where id = #{id}
</delete>
<delete id="deleteBusTrainingVideoUserByIds" parameterType="String">
delete from bus_training_video_user where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,96 @@
<?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.ProProjectInfoDeptsMapper">
<resultMap type="ProProjectInfoDepts" id="ProProjectInfoDeptsResult">
<result property="id" column="id" />
<result property="projectId" column="project_id" />
<result property="deptType" column="dept_type" />
<result property="deptName" column="dept_name" />
<result property="deptCode" column="dept_code" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoDeptsVo">
select id, project_id, dept_type, dept_name, dept_code, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_depts
</sql>
<select id="selectProProjectInfoDeptsList" parameterType="ProProjectInfoDepts" resultMap="ProProjectInfoDeptsResult">
<include refid="selectProProjectInfoDeptsVo"/>
<where>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="deptType != null and deptType != ''"> and dept_type = #{deptType}</if>
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
<if test="deptCode != null and deptCode != ''"> and dept_code = #{deptCode}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoDeptsById" parameterType="Long" resultMap="ProProjectInfoDeptsResult">
<include refid="selectProProjectInfoDeptsVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfoDepts" parameterType="ProProjectInfoDepts" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info_depts
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="projectId != null">project_id,</if>
<if test="deptType != null">dept_type,</if>
<if test="deptName != null">dept_name,</if>
<if test="deptCode != null">dept_code,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="projectId != null">#{projectId},</if>
<if test="deptType != null">#{deptType},</if>
<if test="deptName != null">#{deptName},</if>
<if test="deptCode != null">#{deptCode},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfoDepts" parameterType="ProProjectInfoDepts">
update pro_project_info_depts
<trim prefix="SET" suffixOverrides=",">
<if test="projectId != null">project_id = #{projectId},</if>
<if test="deptType != null">dept_type = #{deptType},</if>
<if test="deptName != null">dept_name = #{deptName},</if>
<if test="deptCode != null">dept_code = #{deptCode},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoDeptsById" parameterType="Long">
delete from pro_project_info_depts where id = #{id}
</delete>
<delete id="deleteProProjectInfoDeptsByIds" parameterType="String">
delete from pro_project_info_depts where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,215 @@
<?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.ProProjectInfoMapper">
<resultMap type="ProProjectInfo" id="ProProjectInfoResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="visDeptId" column="vis_dept_id" />
<result property="disDeptId" column="dis_dept_id" />
<result property="projectName" column="project_name" />
<result property="projectCode" column="project_code" />
<result property="simpleName" column="simple_name" />
<result property="projectType" column="project_type" />
<result property="projiectLevel" column="projiect_level" />
<result property="projectRegional" column="project_regional" />
<result property="projectAddress" column="project_address" />
<result property="projectNature" column="project_nature" />
<result property="licenceNumber" column="licence_number" />
<result property="projectPerson" column="project_person" />
<result property="projectPersonPhone" column="project_person_phone" />
<result property="longitude" column="longitude" />
<result property="latitude" column="latitude" />
<result property="projectTimeLimit" column="project_time_limit" />
<result property="totalInvestment" column="total_investment" />
<result property="floorArea" column="floor_area" />
<result property="totalOutputValue" column="total_output_value" />
<result property="plannedCompletionTime" column="planned_completion_time" />
<result property="scheduledStartTime" column="scheduled_start_time" />
<result property="actualOperatingTime" column="actual_operating_time" />
<result property="actualCompletionTime" column="actual_completion_time" />
<result property="contractAmount" column="contract_amount" />
<result property="paidAmount" column="paid_amount" />
<result property="onAccountAmount" column="on_account_amount" />
<result property="projectSchedule" column="project_schedule" />
<result property="projectSummarize" column="project_summarize" />
<result property="projectQrCode" column="project_qr_code" />
<result property="projectStatus" column="project_status" />
<result property="projectSort" column="project_sort" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoVo">
select id, dept_id, vis_dept_id, dis_dept_id, project_name, project_code, simple_name, project_type, projiect_level, project_regional, project_address, project_nature, licence_number, project_person, project_person_phone, longitude, latitude, project_time_limit, total_investment, floor_area, total_output_value, planned_completion_time, scheduled_start_time, actual_operating_time, actual_completion_time, contract_amount, paid_amount, on_account_amount, project_schedule, project_summarize, project_qr_code, project_status, project_sort, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info
</sql>
<select id="selectProProjectInfoList" parameterType="ProProjectInfo" resultMap="ProProjectInfoResult">
<include refid="selectProProjectInfoVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="visDeptId != null "> and vis_dept_id = #{visDeptId}</if>
<if test="disDeptId != null "> and dis_dept_id = #{disDeptId}</if>
<if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if>
<if test="projectCode != null and projectCode != ''"> and project_code = #{projectCode}</if>
<if test="simpleName != null and simpleName != ''"> and simple_name like concat('%', #{simpleName}, '%')</if>
<if test="projectType != null and projectType != ''"> and project_type = #{projectType}</if>
<if test="projiectLevel != null and projiectLevel != ''"> and projiect_level = #{projiectLevel}</if>
<if test="projectPerson != null and projectPerson != ''"> and project_person = #{projectPerson}</if>
<if test="projectPersonPhone != null and projectPersonPhone != ''"> and project_person_phone = #{projectPersonPhone}</if>
<if test="projectStatus != null and projectStatus != ''"> and project_status = #{projectStatus}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoById" parameterType="Long" resultMap="ProProjectInfoResult">
<include refid="selectProProjectInfoVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfo" parameterType="ProProjectInfo" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="visDeptId != null">vis_dept_id,</if>
<if test="disDeptId != null">dis_dept_id,</if>
<if test="projectName != null">project_name,</if>
<if test="projectCode != null">project_code,</if>
<if test="simpleName != null">simple_name,</if>
<if test="projectType != null">project_type,</if>
<if test="projiectLevel != null">projiect_level,</if>
<if test="projectRegional != null">project_regional,</if>
<if test="projectAddress != null">project_address,</if>
<if test="projectNature != null">project_nature,</if>
<if test="licenceNumber != null">licence_number,</if>
<if test="projectPerson != null">project_person,</if>
<if test="projectPersonPhone != null">project_person_phone,</if>
<if test="longitude != null">longitude,</if>
<if test="latitude != null">latitude,</if>
<if test="projectTimeLimit != null">project_time_limit,</if>
<if test="totalInvestment != null">total_investment,</if>
<if test="floorArea != null">floor_area,</if>
<if test="totalOutputValue != null">total_output_value,</if>
<if test="plannedCompletionTime != null">planned_completion_time,</if>
<if test="scheduledStartTime != null">scheduled_start_time,</if>
<if test="actualOperatingTime != null">actual_operating_time,</if>
<if test="actualCompletionTime != null">actual_completion_time,</if>
<if test="contractAmount != null">contract_amount,</if>
<if test="paidAmount != null">paid_amount,</if>
<if test="onAccountAmount != null">on_account_amount,</if>
<if test="projectSchedule != null">project_schedule,</if>
<if test="projectSummarize != null">project_summarize,</if>
<if test="projectQrCode != null">project_qr_code,</if>
<if test="projectStatus != null">project_status,</if>
<if test="projectSort != null">project_sort,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="visDeptId != null">#{visDeptId},</if>
<if test="disDeptId != null">#{disDeptId},</if>
<if test="projectName != null">#{projectName},</if>
<if test="projectCode != null">#{projectCode},</if>
<if test="simpleName != null">#{simpleName},</if>
<if test="projectType != null">#{projectType},</if>
<if test="projiectLevel != null">#{projiectLevel},</if>
<if test="projectRegional != null">#{projectRegional},</if>
<if test="projectAddress != null">#{projectAddress},</if>
<if test="projectNature != null">#{projectNature},</if>
<if test="licenceNumber != null">#{licenceNumber},</if>
<if test="projectPerson != null">#{projectPerson},</if>
<if test="projectPersonPhone != null">#{projectPersonPhone},</if>
<if test="longitude != null">#{longitude},</if>
<if test="latitude != null">#{latitude},</if>
<if test="projectTimeLimit != null">#{projectTimeLimit},</if>
<if test="totalInvestment != null">#{totalInvestment},</if>
<if test="floorArea != null">#{floorArea},</if>
<if test="totalOutputValue != null">#{totalOutputValue},</if>
<if test="plannedCompletionTime != null">#{plannedCompletionTime},</if>
<if test="scheduledStartTime != null">#{scheduledStartTime},</if>
<if test="actualOperatingTime != null">#{actualOperatingTime},</if>
<if test="actualCompletionTime != null">#{actualCompletionTime},</if>
<if test="contractAmount != null">#{contractAmount},</if>
<if test="paidAmount != null">#{paidAmount},</if>
<if test="onAccountAmount != null">#{onAccountAmount},</if>
<if test="projectSchedule != null">#{projectSchedule},</if>
<if test="projectSummarize != null">#{projectSummarize},</if>
<if test="projectQrCode != null">#{projectQrCode},</if>
<if test="projectStatus != null">#{projectStatus},</if>
<if test="projectSort != null">#{projectSort},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfo" parameterType="ProProjectInfo">
update pro_project_info
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="visDeptId != null">vis_dept_id = #{visDeptId},</if>
<if test="disDeptId != null">dis_dept_id = #{disDeptId},</if>
<if test="projectName != null">project_name = #{projectName},</if>
<if test="projectCode != null">project_code = #{projectCode},</if>
<if test="simpleName != null">simple_name = #{simpleName},</if>
<if test="projectType != null">project_type = #{projectType},</if>
<if test="projiectLevel != null">projiect_level = #{projiectLevel},</if>
<if test="projectRegional != null">project_regional = #{projectRegional},</if>
<if test="projectAddress != null">project_address = #{projectAddress},</if>
<if test="projectNature != null">project_nature = #{projectNature},</if>
<if test="licenceNumber != null">licence_number = #{licenceNumber},</if>
<if test="projectPerson != null">project_person = #{projectPerson},</if>
<if test="projectPersonPhone != null">project_person_phone = #{projectPersonPhone},</if>
<if test="longitude != null">longitude = #{longitude},</if>
<if test="latitude != null">latitude = #{latitude},</if>
<if test="projectTimeLimit != null">project_time_limit = #{projectTimeLimit},</if>
<if test="totalInvestment != null">total_investment = #{totalInvestment},</if>
<if test="floorArea != null">floor_area = #{floorArea},</if>
<if test="totalOutputValue != null">total_output_value = #{totalOutputValue},</if>
<if test="plannedCompletionTime != null">planned_completion_time = #{plannedCompletionTime},</if>
<if test="scheduledStartTime != null">scheduled_start_time = #{scheduledStartTime},</if>
<if test="actualOperatingTime != null">actual_operating_time = #{actualOperatingTime},</if>
<if test="actualCompletionTime != null">actual_completion_time = #{actualCompletionTime},</if>
<if test="contractAmount != null">contract_amount = #{contractAmount},</if>
<if test="paidAmount != null">paid_amount = #{paidAmount},</if>
<if test="onAccountAmount != null">on_account_amount = #{onAccountAmount},</if>
<if test="projectSchedule != null">project_schedule = #{projectSchedule},</if>
<if test="projectSummarize != null">project_summarize = #{projectSummarize},</if>
<if test="projectQrCode != null">project_qr_code = #{projectQrCode},</if>
<if test="projectStatus != null">project_status = #{projectStatus},</if>
<if test="projectSort != null">project_sort = #{projectSort},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoById" parameterType="Long">
delete from pro_project_info where id = #{id}
</delete>
<delete id="deleteProProjectInfoByIds" parameterType="String">
delete from pro_project_info where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,106 @@
<?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.ProProjectInfoSettingMapper">
<resultMap type="ProProjectInfoSetting" id="ProProjectInfoSettingResult">
<result property="id" column="id" />
<result property="projectId" column="project_id" />
<result property="orgName" column="org_name" />
<result property="orgLogo" column="org_logo" />
<result property="orgImage" column="org_image" />
<result property="orgVideo" column="org_video" />
<result property="orgPlane" column="org_plane" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoSettingVo">
select id, project_id, org_name, org_logo, org_image, org_video, org_plane, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_setting
</sql>
<select id="selectProProjectInfoSettingList" parameterType="ProProjectInfoSetting" resultMap="ProProjectInfoSettingResult">
<include refid="selectProProjectInfoSettingVo"/>
<where>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="orgName != null and orgName != ''"> and org_name like concat('%', #{orgName}, '%')</if>
<if test="orgLogo != null and orgLogo != ''"> and org_logo = #{orgLogo}</if>
<if test="orgImage != null and orgImage != ''"> and org_image = #{orgImage}</if>
<if test="orgVideo != null and orgVideo != ''"> and org_video = #{orgVideo}</if>
<if test="orgPlane != null and orgPlane != ''"> and org_plane = #{orgPlane}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoSettingById" parameterType="Long" resultMap="ProProjectInfoSettingResult">
<include refid="selectProProjectInfoSettingVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfoSetting" parameterType="ProProjectInfoSetting" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info_setting
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="projectId != null">project_id,</if>
<if test="orgName != null">org_name,</if>
<if test="orgLogo != null">org_logo,</if>
<if test="orgImage != null">org_image,</if>
<if test="orgVideo != null">org_video,</if>
<if test="orgPlane != null">org_plane,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="projectId != null">#{projectId},</if>
<if test="orgName != null">#{orgName},</if>
<if test="orgLogo != null">#{orgLogo},</if>
<if test="orgImage != null">#{orgImage},</if>
<if test="orgVideo != null">#{orgVideo},</if>
<if test="orgPlane != null">#{orgPlane},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfoSetting" parameterType="ProProjectInfoSetting">
update pro_project_info_setting
<trim prefix="SET" suffixOverrides=",">
<if test="projectId != null">project_id = #{projectId},</if>
<if test="orgName != null">org_name = #{orgName},</if>
<if test="orgLogo != null">org_logo = #{orgLogo},</if>
<if test="orgImage != null">org_image = #{orgImage},</if>
<if test="orgVideo != null">org_video = #{orgVideo},</if>
<if test="orgPlane != null">org_plane = #{orgPlane},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoSettingById" parameterType="Long">
delete from pro_project_info_setting where id = #{id}
</delete>
<delete id="deleteProProjectInfoSettingByIds" parameterType="String">
delete from pro_project_info_setting where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,151 @@
<?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.ProProjectInfoSubdeptsGroupMapper">
<resultMap type="ProProjectInfoSubdeptsGroup" id="ProProjectInfoSubdeptsGroupResult">
<result property="id" column="id" />
<result property="projectId" column="project_id" />
<result property="subDeptId" column="sub_dept_id" />
<result property="subDeptType" column="sub_dept_type" />
<result property="subDeptName" column="sub_dept_name" />
<result property="subDeptCode" column="sub_dept_code" />
<result property="groupName" column="group_name" />
<result property="groupCode" column="group_code" />
<result property="craftType" column="craft_type" />
<result property="craftPost" column="craft_post" />
<result property="groupLeaderName" column="group_leader_name" />
<result property="groupLeaderCode" column="group_leader_code" />
<result property="groupLeaderPhone" column="group_leader_phone" />
<result property="useStatus" column="use_status" />
<result property="approveStatus" column="approve_status" />
<result property="qrCode" column="qr_code" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoSubdeptsGroupVo">
select id, project_id, sub_dept_id, sub_dept_type, sub_dept_name, sub_dept_code, group_name, group_code, craft_type, craft_post, group_leader_name, group_leader_code, group_leader_phone, use_status, approve_status, qr_code, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_subdepts_group
</sql>
<select id="selectProProjectInfoSubdeptsGroupList" parameterType="ProProjectInfoSubdeptsGroup" resultMap="ProProjectInfoSubdeptsGroupResult">
<include refid="selectProProjectInfoSubdeptsGroupVo"/>
<where>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="subDeptId != null "> and sub_dept_id = #{subDeptId}</if>
<if test="subDeptType != null and subDeptType != ''"> and sub_dept_type = #{subDeptType}</if>
<if test="subDeptName != null and subDeptName != ''"> and sub_dept_name like concat('%', #{subDeptName}, '%')</if>
<if test="subDeptCode != null and subDeptCode != ''"> and sub_dept_code = #{subDeptCode}</if>
<if test="groupName != null and groupName != ''"> and group_name like concat('%', #{groupName}, '%')</if>
<if test="groupCode != null and groupCode != ''"> and group_code = #{groupCode}</if>
<if test="craftType != null and craftType != ''"> and craft_type = #{craftType}</if>
<if test="craftPost != null and craftPost != ''"> and craft_post = #{craftPost}</if>
<if test="groupLeaderName != null and groupLeaderName != ''"> and group_leader_name like concat('%', #{groupLeaderName}, '%')</if>
<if test="groupLeaderCode != null and groupLeaderCode != ''"> and group_leader_code = #{groupLeaderCode}</if>
<if test="groupLeaderPhone != null and groupLeaderPhone != ''"> and group_leader_phone = #{groupLeaderPhone}</if>
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
<if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
<if test="qrCode != null and qrCode != ''"> and qr_code = #{qrCode}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoSubdeptsGroupById" parameterType="Long" resultMap="ProProjectInfoSubdeptsGroupResult">
<include refid="selectProProjectInfoSubdeptsGroupVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfoSubdeptsGroup" parameterType="ProProjectInfoSubdeptsGroup" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info_subdepts_group
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="projectId != null">project_id,</if>
<if test="subDeptId != null">sub_dept_id,</if>
<if test="subDeptType != null">sub_dept_type,</if>
<if test="subDeptName != null">sub_dept_name,</if>
<if test="subDeptCode != null">sub_dept_code,</if>
<if test="groupName != null">group_name,</if>
<if test="groupCode != null">group_code,</if>
<if test="craftType != null">craft_type,</if>
<if test="craftPost != null">craft_post,</if>
<if test="groupLeaderName != null">group_leader_name,</if>
<if test="groupLeaderCode != null">group_leader_code,</if>
<if test="groupLeaderPhone != null">group_leader_phone,</if>
<if test="useStatus != null">use_status,</if>
<if test="approveStatus != null">approve_status,</if>
<if test="qrCode != null">qr_code,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="projectId != null">#{projectId},</if>
<if test="subDeptId != null">#{subDeptId},</if>
<if test="subDeptType != null">#{subDeptType},</if>
<if test="subDeptName != null">#{subDeptName},</if>
<if test="subDeptCode != null">#{subDeptCode},</if>
<if test="groupName != null">#{groupName},</if>
<if test="groupCode != null">#{groupCode},</if>
<if test="craftType != null">#{craftType},</if>
<if test="craftPost != null">#{craftPost},</if>
<if test="groupLeaderName != null">#{groupLeaderName},</if>
<if test="groupLeaderCode != null">#{groupLeaderCode},</if>
<if test="groupLeaderPhone != null">#{groupLeaderPhone},</if>
<if test="useStatus != null">#{useStatus},</if>
<if test="approveStatus != null">#{approveStatus},</if>
<if test="qrCode != null">#{qrCode},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfoSubdeptsGroup" parameterType="ProProjectInfoSubdeptsGroup">
update pro_project_info_subdepts_group
<trim prefix="SET" suffixOverrides=",">
<if test="projectId != null">project_id = #{projectId},</if>
<if test="subDeptId != null">sub_dept_id = #{subDeptId},</if>
<if test="subDeptType != null">sub_dept_type = #{subDeptType},</if>
<if test="subDeptName != null">sub_dept_name = #{subDeptName},</if>
<if test="subDeptCode != null">sub_dept_code = #{subDeptCode},</if>
<if test="groupName != null">group_name = #{groupName},</if>
<if test="groupCode != null">group_code = #{groupCode},</if>
<if test="craftType != null">craft_type = #{craftType},</if>
<if test="craftPost != null">craft_post = #{craftPost},</if>
<if test="groupLeaderName != null">group_leader_name = #{groupLeaderName},</if>
<if test="groupLeaderCode != null">group_leader_code = #{groupLeaderCode},</if>
<if test="groupLeaderPhone != null">group_leader_phone = #{groupLeaderPhone},</if>
<if test="useStatus != null">use_status = #{useStatus},</if>
<if test="approveStatus != null">approve_status = #{approveStatus},</if>
<if test="qrCode != null">qr_code = #{qrCode},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoSubdeptsGroupById" parameterType="Long">
delete from pro_project_info_subdepts_group where id = #{id}
</delete>
<delete id="deleteProProjectInfoSubdeptsGroupByIds" parameterType="String">
delete from pro_project_info_subdepts_group where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,141 @@
<?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.ProProjectInfoSubdeptsMapper">
<resultMap type="ProProjectInfoSubdepts" id="ProProjectInfoSubdeptsResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="subDeptId" column="sub_dept_id" />
<result property="subDeptType" column="sub_dept_type" />
<result property="subDeptName" column="sub_dept_name" />
<result property="subDeptCode" column="sub_dept_code" />
<result property="subDeptLeaderId" column="sub_dept_leader_id" />
<result property="subDeptLeaderName" column="sub_dept_leader_name" />
<result property="subDeptLeaderCode" column="sub_dept_leader_code" />
<result property="subDeptLeaderPhone" column="sub_dept_leader_phone" />
<result property="useStatus" column="use_status" />
<result property="approveStatus" column="approve_status" />
<result property="qrCode" column="qr_code" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoSubdeptsVo">
select id, dept_id, project_id, sub_dept_id, sub_dept_type, sub_dept_name, sub_dept_code, sub_dept_leader_id, sub_dept_leader_name, sub_dept_leader_code, sub_dept_leader_phone, use_status, approve_status, qr_code, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_subdepts
</sql>
<select id="selectProProjectInfoSubdeptsList" parameterType="ProProjectInfoSubdepts" resultMap="ProProjectInfoSubdeptsResult">
<include refid="selectProProjectInfoSubdeptsVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="subDeptId != null "> and sub_dept_id = #{subDeptId}</if>
<if test="subDeptType != null and subDeptType != ''"> and sub_dept_type = #{subDeptType}</if>
<if test="subDeptName != null and subDeptName != ''"> and sub_dept_name like concat('%', #{subDeptName}, '%')</if>
<if test="subDeptCode != null and subDeptCode != ''"> and sub_dept_code = #{subDeptCode}</if>
<if test="subDeptLeaderId != null "> and sub_dept_leader_id = #{subDeptLeaderId}</if>
<if test="subDeptLeaderName != null and subDeptLeaderName != ''"> and sub_dept_leader_name like concat('%', #{subDeptLeaderName}, '%')</if>
<if test="subDeptLeaderCode != null and subDeptLeaderCode != ''"> and sub_dept_leader_code = #{subDeptLeaderCode}</if>
<if test="subDeptLeaderPhone != null and subDeptLeaderPhone != ''"> and sub_dept_leader_phone = #{subDeptLeaderPhone}</if>
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
<if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
<if test="qrCode != null and qrCode != ''"> and qr_code = #{qrCode}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoSubdeptsById" parameterType="Long" resultMap="ProProjectInfoSubdeptsResult">
<include refid="selectProProjectInfoSubdeptsVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfoSubdepts" parameterType="ProProjectInfoSubdepts" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info_subdepts
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="subDeptId != null">sub_dept_id,</if>
<if test="subDeptType != null">sub_dept_type,</if>
<if test="subDeptName != null">sub_dept_name,</if>
<if test="subDeptCode != null">sub_dept_code,</if>
<if test="subDeptLeaderId != null">sub_dept_leader_id,</if>
<if test="subDeptLeaderName != null">sub_dept_leader_name,</if>
<if test="subDeptLeaderCode != null">sub_dept_leader_code,</if>
<if test="subDeptLeaderPhone != null">sub_dept_leader_phone,</if>
<if test="useStatus != null">use_status,</if>
<if test="approveStatus != null">approve_status,</if>
<if test="qrCode != null">qr_code,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="subDeptId != null">#{subDeptId},</if>
<if test="subDeptType != null">#{subDeptType},</if>
<if test="subDeptName != null">#{subDeptName},</if>
<if test="subDeptCode != null">#{subDeptCode},</if>
<if test="subDeptLeaderId != null">#{subDeptLeaderId},</if>
<if test="subDeptLeaderName != null">#{subDeptLeaderName},</if>
<if test="subDeptLeaderCode != null">#{subDeptLeaderCode},</if>
<if test="subDeptLeaderPhone != null">#{subDeptLeaderPhone},</if>
<if test="useStatus != null">#{useStatus},</if>
<if test="approveStatus != null">#{approveStatus},</if>
<if test="qrCode != null">#{qrCode},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfoSubdepts" parameterType="ProProjectInfoSubdepts">
update pro_project_info_subdepts
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="subDeptId != null">sub_dept_id = #{subDeptId},</if>
<if test="subDeptType != null">sub_dept_type = #{subDeptType},</if>
<if test="subDeptName != null">sub_dept_name = #{subDeptName},</if>
<if test="subDeptCode != null">sub_dept_code = #{subDeptCode},</if>
<if test="subDeptLeaderId != null">sub_dept_leader_id = #{subDeptLeaderId},</if>
<if test="subDeptLeaderName != null">sub_dept_leader_name = #{subDeptLeaderName},</if>
<if test="subDeptLeaderCode != null">sub_dept_leader_code = #{subDeptLeaderCode},</if>
<if test="subDeptLeaderPhone != null">sub_dept_leader_phone = #{subDeptLeaderPhone},</if>
<if test="useStatus != null">use_status = #{useStatus},</if>
<if test="approveStatus != null">approve_status = #{approveStatus},</if>
<if test="qrCode != null">qr_code = #{qrCode},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoSubdeptsById" parameterType="Long">
delete from pro_project_info_subdepts where id = #{id}
</delete>
<delete id="deleteProProjectInfoSubdeptsByIds" parameterType="String">
delete from pro_project_info_subdepts where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,156 @@
<?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.ProProjectInfoSubdeptsUsersMapper">
<resultMap type="ProProjectInfoSubdeptsUsers" id="ProProjectInfoSubdeptsUsersResult">
<result property="id" column="id" />
<result property="projectId" column="project_id" />
<result property="subDeptId" column="sub_dept_id" />
<result property="subDeptName" column="sub_dept_name" />
<result property="userId" column="user_id" />
<result property="userName" column="user_name" />
<result property="craftType" column="craft_type" />
<result property="craftPost" column="craft_post" />
<result property="eduStatus" column="edu_status" />
<result property="eduFilePath" column="edu_file_path" />
<result property="eduSignPath" column="edu_sign_path" />
<result property="eduDate" column="edu_date" />
<result property="approveStatus" column="approve_status" />
<result property="useStatus" column="use_status" />
<result property="subStep" column="sub_step" />
<result property="illnessStatus" column="illness_status" />
<result property="supIllnessStatus" column="sup_illness_status" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoSubdeptsUsersVo">
select id, project_id, sub_dept_id, sub_dept_name, user_id, user_name, craft_type, craft_post, edu_status, edu_file_path, edu_sign_path, edu_date, approve_status, use_status, sub_step, illness_status, sup_illness_status, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_subdepts_users
</sql>
<select id="selectProProjectInfoSubdeptsUsersList" parameterType="ProProjectInfoSubdeptsUsers" resultMap="ProProjectInfoSubdeptsUsersResult">
<include refid="selectProProjectInfoSubdeptsUsersVo"/>
<where>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="subDeptId != null "> and sub_dept_id = #{subDeptId}</if>
<if test="subDeptName != null and subDeptName != ''"> and sub_dept_name like concat('%', #{subDeptName}, '%')</if>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
<if test="craftType != null and craftType != ''"> and craft_type = #{craftType}</if>
<if test="craftPost != null and craftPost != ''"> and craft_post = #{craftPost}</if>
<if test="eduStatus != null and eduStatus != ''"> and edu_status = #{eduStatus}</if>
<if test="eduFilePath != null and eduFilePath != ''"> and edu_file_path = #{eduFilePath}</if>
<if test="eduSignPath != null and eduSignPath != ''"> and edu_sign_path = #{eduSignPath}</if>
<if test="eduDate != null "> and edu_date = #{eduDate}</if>
<if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
<if test="subStep != null "> and sub_step = #{subStep}</if>
<if test="illnessStatus != null "> and illness_status = #{illnessStatus}</if>
<if test="supIllnessStatus != null "> and sup_illness_status = #{supIllnessStatus}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoSubdeptsUsersById" parameterType="Long" resultMap="ProProjectInfoSubdeptsUsersResult">
<include refid="selectProProjectInfoSubdeptsUsersVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfoSubdeptsUsers" parameterType="ProProjectInfoSubdeptsUsers" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info_subdepts_users
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="projectId != null">project_id,</if>
<if test="subDeptId != null">sub_dept_id,</if>
<if test="subDeptName != null">sub_dept_name,</if>
<if test="userId != null">user_id,</if>
<if test="userName != null">user_name,</if>
<if test="craftType != null">craft_type,</if>
<if test="craftPost != null">craft_post,</if>
<if test="eduStatus != null">edu_status,</if>
<if test="eduFilePath != null">edu_file_path,</if>
<if test="eduSignPath != null">edu_sign_path,</if>
<if test="eduDate != null">edu_date,</if>
<if test="approveStatus != null">approve_status,</if>
<if test="useStatus != null">use_status,</if>
<if test="subStep != null">sub_step,</if>
<if test="illnessStatus != null">illness_status,</if>
<if test="supIllnessStatus != null">sup_illness_status,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="projectId != null">#{projectId},</if>
<if test="subDeptId != null">#{subDeptId},</if>
<if test="subDeptName != null">#{subDeptName},</if>
<if test="userId != null">#{userId},</if>
<if test="userName != null">#{userName},</if>
<if test="craftType != null">#{craftType},</if>
<if test="craftPost != null">#{craftPost},</if>
<if test="eduStatus != null">#{eduStatus},</if>
<if test="eduFilePath != null">#{eduFilePath},</if>
<if test="eduSignPath != null">#{eduSignPath},</if>
<if test="eduDate != null">#{eduDate},</if>
<if test="approveStatus != null">#{approveStatus},</if>
<if test="useStatus != null">#{useStatus},</if>
<if test="subStep != null">#{subStep},</if>
<if test="illnessStatus != null">#{illnessStatus},</if>
<if test="supIllnessStatus != null">#{supIllnessStatus},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfoSubdeptsUsers" parameterType="ProProjectInfoSubdeptsUsers">
update pro_project_info_subdepts_users
<trim prefix="SET" suffixOverrides=",">
<if test="projectId != null">project_id = #{projectId},</if>
<if test="subDeptId != null">sub_dept_id = #{subDeptId},</if>
<if test="subDeptName != null">sub_dept_name = #{subDeptName},</if>
<if test="userId != null">user_id = #{userId},</if>
<if test="userName != null">user_name = #{userName},</if>
<if test="craftType != null">craft_type = #{craftType},</if>
<if test="craftPost != null">craft_post = #{craftPost},</if>
<if test="eduStatus != null">edu_status = #{eduStatus},</if>
<if test="eduFilePath != null">edu_file_path = #{eduFilePath},</if>
<if test="eduSignPath != null">edu_sign_path = #{eduSignPath},</if>
<if test="eduDate != null">edu_date = #{eduDate},</if>
<if test="approveStatus != null">approve_status = #{approveStatus},</if>
<if test="useStatus != null">use_status = #{useStatus},</if>
<if test="subStep != null">sub_step = #{subStep},</if>
<if test="illnessStatus != null">illness_status = #{illnessStatus},</if>
<if test="supIllnessStatus != null">sup_illness_status = #{supIllnessStatus},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoSubdeptsUsersById" parameterType="Long">
delete from pro_project_info_subdepts_users where id = #{id}
</delete>
<delete id="deleteProProjectInfoSubdeptsUsersByIds" parameterType="String">
delete from pro_project_info_subdepts_users where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,111 @@
<?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.ProProjectInfoUsersMapper">
<resultMap type="ProProjectInfoUsers" id="ProProjectInfoUsersResult">
<result property="id" column="id" />
<result property="deptId" column="dept_id" />
<result property="projectId" column="project_id" />
<result property="userId" column="user_id" />
<result property="userName" column="user_name" />
<result property="userCode" column="user_code" />
<result property="userPhone" column="user_phone" />
<result property="useStatus" column="use_status" />
<result property="isDel" column="is_del" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectProProjectInfoUsersVo">
select id, dept_id, project_id, user_id, user_name, user_code, user_phone, use_status, is_del, create_by, create_time, update_by, update_time, remark from pro_project_info_users
</sql>
<select id="selectProProjectInfoUsersList" parameterType="ProProjectInfoUsers" resultMap="ProProjectInfoUsersResult">
<include refid="selectProProjectInfoUsersVo"/>
<where>
<if test="deptId != null "> and dept_id = #{deptId}</if>
<if test="projectId != null "> and project_id = #{projectId}</if>
<if test="userId != null "> and user_id = #{userId}</if>
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
<if test="userCode != null and userCode != ''"> and user_code = #{userCode}</if>
<if test="userPhone != null and userPhone != ''"> and user_phone = #{userPhone}</if>
<if test="useStatus != null and useStatus != ''"> and use_status = #{useStatus}</if>
<if test="isDel != null "> and is_del = #{isDel}</if>
</where>
</select>
<select id="selectProProjectInfoUsersById" parameterType="Long" resultMap="ProProjectInfoUsersResult">
<include refid="selectProProjectInfoUsersVo"/>
where id = #{id}
</select>
<insert id="insertProProjectInfoUsers" parameterType="ProProjectInfoUsers" useGeneratedKeys="true" keyProperty="id">
insert into pro_project_info_users
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="deptId != null">dept_id,</if>
<if test="projectId != null">project_id,</if>
<if test="userId != null">user_id,</if>
<if test="userName != null">user_name,</if>
<if test="userCode != null">user_code,</if>
<if test="userPhone != null">user_phone,</if>
<if test="useStatus != null">use_status,</if>
<if test="isDel != null">is_del,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="deptId != null">#{deptId},</if>
<if test="projectId != null">#{projectId},</if>
<if test="userId != null">#{userId},</if>
<if test="userName != null">#{userName},</if>
<if test="userCode != null">#{userCode},</if>
<if test="userPhone != null">#{userPhone},</if>
<if test="useStatus != null">#{useStatus},</if>
<if test="isDel != null">#{isDel},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateProProjectInfoUsers" parameterType="ProProjectInfoUsers">
update pro_project_info_users
<trim prefix="SET" suffixOverrides=",">
<if test="deptId != null">dept_id = #{deptId},</if>
<if test="projectId != null">project_id = #{projectId},</if>
<if test="userId != null">user_id = #{userId},</if>
<if test="userName != null">user_name = #{userName},</if>
<if test="userCode != null">user_code = #{userCode},</if>
<if test="userPhone != null">user_phone = #{userPhone},</if>
<if test="useStatus != null">use_status = #{useStatus},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteProProjectInfoUsersById" parameterType="Long">
delete from pro_project_info_users where id = #{id}
</delete>
<delete id="deleteProProjectInfoUsersByIds" parameterType="String">
delete from pro_project_info_users where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusExamInfo;
import com.yanzhu.manage.service.IBusExamInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busExamInfo")
public class BusExamInfoController extends BaseController
{
@Autowired
private IBusExamInfoService busExamInfoService;
/**
*
*/
@RequiresPermissions("manage:busExamInfo:list")
@GetMapping("/list")
public TableDataInfo list(BusExamInfo busExamInfo)
{
startPage();
List<BusExamInfo> list = busExamInfoService.selectBusExamInfoList(busExamInfo);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busExamInfo:export")
@Log(title = "基础试卷", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusExamInfo busExamInfo)
{
List<BusExamInfo> list = busExamInfoService.selectBusExamInfoList(busExamInfo);
ExcelUtil<BusExamInfo> util = new ExcelUtil<BusExamInfo>(BusExamInfo.class);
util.exportExcel(response, list, "基础试卷数据");
}
/**
*
*/
@RequiresPermissions("manage:busExamInfo:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(busExamInfoService.selectBusExamInfoById(id));
}
/**
*
*/
@RequiresPermissions("manage:busExamInfo:add")
@Log(title = "基础试卷", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusExamInfo busExamInfo)
{
return toAjax(busExamInfoService.insertBusExamInfo(busExamInfo));
}
/**
*
*/
@RequiresPermissions("manage:busExamInfo:edit")
@Log(title = "基础试卷", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusExamInfo busExamInfo)
{
return toAjax(busExamInfoService.updateBusExamInfo(busExamInfo));
}
/**
*
*/
@RequiresPermissions("manage:busExamInfo:remove")
@Log(title = "基础试卷", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(busExamInfoService.deleteBusExamInfoByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusExamInfoQues;
import com.yanzhu.manage.service.IBusExamInfoQuesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busExamInfoQues")
public class BusExamInfoQuesController extends BaseController
{
@Autowired
private IBusExamInfoQuesService busExamInfoQuesService;
/**
*
*/
@RequiresPermissions("manage:busExamInfoQues:list")
@GetMapping("/list")
public TableDataInfo list(BusExamInfoQues busExamInfoQues)
{
startPage();
List<BusExamInfoQues> list = busExamInfoQuesService.selectBusExamInfoQuesList(busExamInfoQues);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busExamInfoQues:export")
@Log(title = "试卷问题", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusExamInfoQues busExamInfoQues)
{
List<BusExamInfoQues> list = busExamInfoQuesService.selectBusExamInfoQuesList(busExamInfoQues);
ExcelUtil<BusExamInfoQues> util = new ExcelUtil<BusExamInfoQues>(BusExamInfoQues.class);
util.exportExcel(response, list, "试卷问题数据");
}
/**
*
*/
@RequiresPermissions("manage:busExamInfoQues:query")
@GetMapping(value = "/{examId}")
public AjaxResult getInfo(@PathVariable("examId") Long examId)
{
return success(busExamInfoQuesService.selectBusExamInfoQuesByExamId(examId));
}
/**
*
*/
@RequiresPermissions("manage:busExamInfoQues:add")
@Log(title = "试卷问题", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusExamInfoQues busExamInfoQues)
{
return toAjax(busExamInfoQuesService.insertBusExamInfoQues(busExamInfoQues));
}
/**
*
*/
@RequiresPermissions("manage:busExamInfoQues:edit")
@Log(title = "试卷问题", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusExamInfoQues busExamInfoQues)
{
return toAjax(busExamInfoQuesService.updateBusExamInfoQues(busExamInfoQues));
}
/**
*
*/
@RequiresPermissions("manage:busExamInfoQues:remove")
@Log(title = "试卷问题", businessType = BusinessType.DELETE)
@DeleteMapping("/{examIds}")
public AjaxResult remove(@PathVariable Long[] examIds)
{
return toAjax(busExamInfoQuesService.deleteBusExamInfoQuesByExamIds(examIds));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusExamQuestion;
import com.yanzhu.manage.service.IBusExamQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busExamQuestion")
public class BusExamQuestionController extends BaseController
{
@Autowired
private IBusExamQuestionService busExamQuestionService;
/**
*
*/
@RequiresPermissions("manage:busExamQuestion:list")
@GetMapping("/list")
public TableDataInfo list(BusExamQuestion busExamQuestion)
{
startPage();
List<BusExamQuestion> list = busExamQuestionService.selectBusExamQuestionList(busExamQuestion);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestion:export")
@Log(title = "基础题库", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusExamQuestion busExamQuestion)
{
List<BusExamQuestion> list = busExamQuestionService.selectBusExamQuestionList(busExamQuestion);
ExcelUtil<BusExamQuestion> util = new ExcelUtil<BusExamQuestion>(BusExamQuestion.class);
util.exportExcel(response, list, "基础题库数据");
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestion:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(busExamQuestionService.selectBusExamQuestionById(id));
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestion:add")
@Log(title = "基础题库", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusExamQuestion busExamQuestion)
{
return toAjax(busExamQuestionService.insertBusExamQuestion(busExamQuestion));
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestion:edit")
@Log(title = "基础题库", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusExamQuestion busExamQuestion)
{
return toAjax(busExamQuestionService.updateBusExamQuestion(busExamQuestion));
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestion:remove")
@Log(title = "基础题库", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(busExamQuestionService.deleteBusExamQuestionByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusExamQuestionResult;
import com.yanzhu.manage.service.IBusExamQuestionResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busExamQuestionResult")
public class BusExamQuestionResultController extends BaseController
{
@Autowired
private IBusExamQuestionResultService busExamQuestionResultService;
/**
*
*/
@RequiresPermissions("manage:busExamQuestionResult:list")
@GetMapping("/list")
public TableDataInfo list(BusExamQuestionResult busExamQuestionResult)
{
startPage();
List<BusExamQuestionResult> list = busExamQuestionResultService.selectBusExamQuestionResultList(busExamQuestionResult);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestionResult:export")
@Log(title = "题库问题", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusExamQuestionResult busExamQuestionResult)
{
List<BusExamQuestionResult> list = busExamQuestionResultService.selectBusExamQuestionResultList(busExamQuestionResult);
ExcelUtil<BusExamQuestionResult> util = new ExcelUtil<BusExamQuestionResult>(BusExamQuestionResult.class);
util.exportExcel(response, list, "题库问题数据");
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestionResult:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(busExamQuestionResultService.selectBusExamQuestionResultById(id));
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestionResult:add")
@Log(title = "题库问题", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusExamQuestionResult busExamQuestionResult)
{
return toAjax(busExamQuestionResultService.insertBusExamQuestionResult(busExamQuestionResult));
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestionResult:edit")
@Log(title = "题库问题", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusExamQuestionResult busExamQuestionResult)
{
return toAjax(busExamQuestionResultService.updateBusExamQuestionResult(busExamQuestionResult));
}
/**
*
*/
@RequiresPermissions("manage:busExamQuestionResult:remove")
@Log(title = "题库问题", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(busExamQuestionResultService.deleteBusExamQuestionResultByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusExamUser;
import com.yanzhu.manage.service.IBusExamUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busExamUser")
public class BusExamUserController extends BaseController
{
@Autowired
private IBusExamUserService busExamUserService;
/**
*
*/
@RequiresPermissions("manage:busExamUser:list")
@GetMapping("/list")
public TableDataInfo list(BusExamUser busExamUser)
{
startPage();
List<BusExamUser> list = busExamUserService.selectBusExamUserList(busExamUser);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busExamUser:export")
@Log(title = "用户试卷", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusExamUser busExamUser)
{
List<BusExamUser> list = busExamUserService.selectBusExamUserList(busExamUser);
ExcelUtil<BusExamUser> util = new ExcelUtil<BusExamUser>(BusExamUser.class);
util.exportExcel(response, list, "用户试卷数据");
}
/**
*
*/
@RequiresPermissions("manage:busExamUser:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(busExamUserService.selectBusExamUserById(id));
}
/**
*
*/
@RequiresPermissions("manage:busExamUser:add")
@Log(title = "用户试卷", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusExamUser busExamUser)
{
return toAjax(busExamUserService.insertBusExamUser(busExamUser));
}
/**
*
*/
@RequiresPermissions("manage:busExamUser:edit")
@Log(title = "用户试卷", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusExamUser busExamUser)
{
return toAjax(busExamUserService.updateBusExamUser(busExamUser));
}
/**
*
*/
@RequiresPermissions("manage:busExamUser:remove")
@Log(title = "用户试卷", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(busExamUserService.deleteBusExamUserByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusExamUserResult;
import com.yanzhu.manage.service.IBusExamUserResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busExamUserResult")
public class BusExamUserResultController extends BaseController
{
@Autowired
private IBusExamUserResultService busExamUserResultService;
/**
*
*/
@RequiresPermissions("manage:busExamUserResult:list")
@GetMapping("/list")
public TableDataInfo list(BusExamUserResult busExamUserResult)
{
startPage();
List<BusExamUserResult> list = busExamUserResultService.selectBusExamUserResultList(busExamUserResult);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busExamUserResult:export")
@Log(title = "用户试卷结果", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusExamUserResult busExamUserResult)
{
List<BusExamUserResult> list = busExamUserResultService.selectBusExamUserResultList(busExamUserResult);
ExcelUtil<BusExamUserResult> util = new ExcelUtil<BusExamUserResult>(BusExamUserResult.class);
util.exportExcel(response, list, "用户试卷结果数据");
}
/**
*
*/
@RequiresPermissions("manage:busExamUserResult:query")
@GetMapping(value = "/{examUserId}")
public AjaxResult getInfo(@PathVariable("examUserId") Long examUserId)
{
return success(busExamUserResultService.selectBusExamUserResultByExamUserId(examUserId));
}
/**
*
*/
@RequiresPermissions("manage:busExamUserResult:add")
@Log(title = "用户试卷结果", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusExamUserResult busExamUserResult)
{
return toAjax(busExamUserResultService.insertBusExamUserResult(busExamUserResult));
}
/**
*
*/
@RequiresPermissions("manage:busExamUserResult:edit")
@Log(title = "用户试卷结果", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusExamUserResult busExamUserResult)
{
return toAjax(busExamUserResultService.updateBusExamUserResult(busExamUserResult));
}
/**
*
*/
@RequiresPermissions("manage:busExamUserResult:remove")
@Log(title = "用户试卷结果", businessType = BusinessType.DELETE)
@DeleteMapping("/{examUserIds}")
public AjaxResult remove(@PathVariable Long[] examUserIds)
{
return toAjax(busExamUserResultService.deleteBusExamUserResultByExamUserIds(examUserIds));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusTrainingVideo;
import com.yanzhu.manage.service.IBusTrainingVideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busTrainingVideo")
public class BusTrainingVideoController extends BaseController
{
@Autowired
private IBusTrainingVideoService busTrainingVideoService;
/**
*
*/
@RequiresPermissions("manage:busTrainingVideo:list")
@GetMapping("/list")
public TableDataInfo list(BusTrainingVideo busTrainingVideo)
{
startPage();
List<BusTrainingVideo> list = busTrainingVideoService.selectBusTrainingVideoList(busTrainingVideo);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideo:export")
@Log(title = "培训视频", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusTrainingVideo busTrainingVideo)
{
List<BusTrainingVideo> list = busTrainingVideoService.selectBusTrainingVideoList(busTrainingVideo);
ExcelUtil<BusTrainingVideo> util = new ExcelUtil<BusTrainingVideo>(BusTrainingVideo.class);
util.exportExcel(response, list, "培训视频数据");
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideo:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(busTrainingVideoService.selectBusTrainingVideoById(id));
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideo:add")
@Log(title = "培训视频", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusTrainingVideo busTrainingVideo)
{
return toAjax(busTrainingVideoService.insertBusTrainingVideo(busTrainingVideo));
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideo:edit")
@Log(title = "培训视频", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusTrainingVideo busTrainingVideo)
{
return toAjax(busTrainingVideoService.updateBusTrainingVideo(busTrainingVideo));
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideo:remove")
@Log(title = "培训视频", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(busTrainingVideoService.deleteBusTrainingVideoByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.BusTrainingVideoUser;
import com.yanzhu.manage.service.IBusTrainingVideoUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/busTrainingVideoUser")
public class BusTrainingVideoUserController extends BaseController
{
@Autowired
private IBusTrainingVideoUserService busTrainingVideoUserService;
/**
*
*/
@RequiresPermissions("manage:busTrainingVideoUser:list")
@GetMapping("/list")
public TableDataInfo list(BusTrainingVideoUser busTrainingVideoUser)
{
startPage();
List<BusTrainingVideoUser> list = busTrainingVideoUserService.selectBusTrainingVideoUserList(busTrainingVideoUser);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideoUser:export")
@Log(title = "用户培训视频", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, BusTrainingVideoUser busTrainingVideoUser)
{
List<BusTrainingVideoUser> list = busTrainingVideoUserService.selectBusTrainingVideoUserList(busTrainingVideoUser);
ExcelUtil<BusTrainingVideoUser> util = new ExcelUtil<BusTrainingVideoUser>(BusTrainingVideoUser.class);
util.exportExcel(response, list, "用户培训视频数据");
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideoUser:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(busTrainingVideoUserService.selectBusTrainingVideoUserById(id));
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideoUser:add")
@Log(title = "用户培训视频", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody BusTrainingVideoUser busTrainingVideoUser)
{
return toAjax(busTrainingVideoUserService.insertBusTrainingVideoUser(busTrainingVideoUser));
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideoUser:edit")
@Log(title = "用户培训视频", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BusTrainingVideoUser busTrainingVideoUser)
{
return toAjax(busTrainingVideoUserService.updateBusTrainingVideoUser(busTrainingVideoUser));
}
/**
*
*/
@RequiresPermissions("manage:busTrainingVideoUser:remove")
@Log(title = "用户培训视频", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(busTrainingVideoUserService.deleteBusTrainingVideoUserByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfo;
import com.yanzhu.manage.service.IProProjectInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfo")
public class ProProjectInfoController extends BaseController
{
@Autowired
private IProProjectInfoService proProjectInfoService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfo:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfo proProjectInfo)
{
startPage();
List<ProProjectInfo> list = proProjectInfoService.selectProProjectInfoList(proProjectInfo);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfo:export")
@Log(title = "项目信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfo proProjectInfo)
{
List<ProProjectInfo> list = proProjectInfoService.selectProProjectInfoList(proProjectInfo);
ExcelUtil<ProProjectInfo> util = new ExcelUtil<ProProjectInfo>(ProProjectInfo.class);
util.exportExcel(response, list, "项目信息数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfo:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoService.selectProProjectInfoById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfo:add")
@Log(title = "项目信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfo proProjectInfo)
{
return toAjax(proProjectInfoService.insertProProjectInfo(proProjectInfo));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfo:edit")
@Log(title = "项目信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfo proProjectInfo)
{
return toAjax(proProjectInfoService.updateProProjectInfo(proProjectInfo));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfo:remove")
@Log(title = "项目信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoService.deleteProProjectInfoByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfoDepts;
import com.yanzhu.manage.service.IProProjectInfoDeptsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfoDepts")
public class ProProjectInfoDeptsController extends BaseController
{
@Autowired
private IProProjectInfoDeptsService proProjectInfoDeptsService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfoDepts:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfoDepts proProjectInfoDepts)
{
startPage();
List<ProProjectInfoDepts> list = proProjectInfoDeptsService.selectProProjectInfoDeptsList(proProjectInfoDepts);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoDepts:export")
@Log(title = "参建单位", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfoDepts proProjectInfoDepts)
{
List<ProProjectInfoDepts> list = proProjectInfoDeptsService.selectProProjectInfoDeptsList(proProjectInfoDepts);
ExcelUtil<ProProjectInfoDepts> util = new ExcelUtil<ProProjectInfoDepts>(ProProjectInfoDepts.class);
util.exportExcel(response, list, "参建单位数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoDepts:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoDeptsService.selectProProjectInfoDeptsById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoDepts:add")
@Log(title = "参建单位", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfoDepts proProjectInfoDepts)
{
return toAjax(proProjectInfoDeptsService.insertProProjectInfoDepts(proProjectInfoDepts));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoDepts:edit")
@Log(title = "参建单位", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfoDepts proProjectInfoDepts)
{
return toAjax(proProjectInfoDeptsService.updateProProjectInfoDepts(proProjectInfoDepts));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoDepts:remove")
@Log(title = "参建单位", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoDeptsService.deleteProProjectInfoDeptsByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfoSetting;
import com.yanzhu.manage.service.IProProjectInfoSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfoSetting")
public class ProProjectInfoSettingController extends BaseController
{
@Autowired
private IProProjectInfoSettingService proProjectInfoSettingService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSetting:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfoSetting proProjectInfoSetting)
{
startPage();
List<ProProjectInfoSetting> list = proProjectInfoSettingService.selectProProjectInfoSettingList(proProjectInfoSetting);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSetting:export")
@Log(title = "项目设置", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfoSetting proProjectInfoSetting)
{
List<ProProjectInfoSetting> list = proProjectInfoSettingService.selectProProjectInfoSettingList(proProjectInfoSetting);
ExcelUtil<ProProjectInfoSetting> util = new ExcelUtil<ProProjectInfoSetting>(ProProjectInfoSetting.class);
util.exportExcel(response, list, "项目设置数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSetting:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoSettingService.selectProProjectInfoSettingById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSetting:add")
@Log(title = "项目设置", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfoSetting proProjectInfoSetting)
{
return toAjax(proProjectInfoSettingService.insertProProjectInfoSetting(proProjectInfoSetting));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSetting:edit")
@Log(title = "项目设置", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfoSetting proProjectInfoSetting)
{
return toAjax(proProjectInfoSettingService.updateProProjectInfoSetting(proProjectInfoSetting));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSetting:remove")
@Log(title = "项目设置", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoSettingService.deleteProProjectInfoSettingByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfoSubdepts;
import com.yanzhu.manage.service.IProProjectInfoSubdeptsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfoSubdepts")
public class ProProjectInfoSubdeptsController extends BaseController
{
@Autowired
private IProProjectInfoSubdeptsService proProjectInfoSubdeptsService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdepts:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfoSubdepts proProjectInfoSubdepts)
{
startPage();
List<ProProjectInfoSubdepts> list = proProjectInfoSubdeptsService.selectProProjectInfoSubdeptsList(proProjectInfoSubdepts);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdepts:export")
@Log(title = "分包单位", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfoSubdepts proProjectInfoSubdepts)
{
List<ProProjectInfoSubdepts> list = proProjectInfoSubdeptsService.selectProProjectInfoSubdeptsList(proProjectInfoSubdepts);
ExcelUtil<ProProjectInfoSubdepts> util = new ExcelUtil<ProProjectInfoSubdepts>(ProProjectInfoSubdepts.class);
util.exportExcel(response, list, "分包单位数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdepts:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoSubdeptsService.selectProProjectInfoSubdeptsById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdepts:add")
@Log(title = "分包单位", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfoSubdepts proProjectInfoSubdepts)
{
return toAjax(proProjectInfoSubdeptsService.insertProProjectInfoSubdepts(proProjectInfoSubdepts));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdepts:edit")
@Log(title = "分包单位", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfoSubdepts proProjectInfoSubdepts)
{
return toAjax(proProjectInfoSubdeptsService.updateProProjectInfoSubdepts(proProjectInfoSubdepts));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdepts:remove")
@Log(title = "分包单位", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoSubdeptsService.deleteProProjectInfoSubdeptsByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup;
import com.yanzhu.manage.service.IProProjectInfoSubdeptsGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuqi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfoSubdeptsGroup")
public class ProProjectInfoSubdeptsGroupController extends BaseController
{
@Autowired
private IProProjectInfoSubdeptsGroupService proProjectInfoSubdeptsGroupService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsGroup:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
startPage();
List<ProProjectInfoSubdeptsGroup> list = proProjectInfoSubdeptsGroupService.selectProProjectInfoSubdeptsGroupList(proProjectInfoSubdeptsGroup);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsGroup:export")
@Log(title = "分包单位班组", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
List<ProProjectInfoSubdeptsGroup> list = proProjectInfoSubdeptsGroupService.selectProProjectInfoSubdeptsGroupList(proProjectInfoSubdeptsGroup);
ExcelUtil<ProProjectInfoSubdeptsGroup> util = new ExcelUtil<ProProjectInfoSubdeptsGroup>(ProProjectInfoSubdeptsGroup.class);
util.exportExcel(response, list, "分包单位班组数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsGroup:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoSubdeptsGroupService.selectProProjectInfoSubdeptsGroupById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsGroup:add")
@Log(title = "分包单位班组", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
return toAjax(proProjectInfoSubdeptsGroupService.insertProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsGroup:edit")
@Log(title = "分包单位班组", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
return toAjax(proProjectInfoSubdeptsGroupService.updateProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsGroup:remove")
@Log(title = "分包单位班组", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoSubdeptsGroupService.deleteProProjectInfoSubdeptsGroupByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers;
import com.yanzhu.manage.service.IProProjectInfoSubdeptsUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfoSubdeptsUsers")
public class ProProjectInfoSubdeptsUsersController extends BaseController
{
@Autowired
private IProProjectInfoSubdeptsUsersService proProjectInfoSubdeptsUsersService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsUsers:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
startPage();
List<ProProjectInfoSubdeptsUsers> list = proProjectInfoSubdeptsUsersService.selectProProjectInfoSubdeptsUsersList(proProjectInfoSubdeptsUsers);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsUsers:export")
@Log(title = "分包单位工人", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
List<ProProjectInfoSubdeptsUsers> list = proProjectInfoSubdeptsUsersService.selectProProjectInfoSubdeptsUsersList(proProjectInfoSubdeptsUsers);
ExcelUtil<ProProjectInfoSubdeptsUsers> util = new ExcelUtil<ProProjectInfoSubdeptsUsers>(ProProjectInfoSubdeptsUsers.class);
util.exportExcel(response, list, "分包单位工人数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsUsers:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoSubdeptsUsersService.selectProProjectInfoSubdeptsUsersById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsUsers:add")
@Log(title = "分包单位工人", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
return toAjax(proProjectInfoSubdeptsUsersService.insertProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsUsers:edit")
@Log(title = "分包单位工人", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
return toAjax(proProjectInfoSubdeptsUsersService.updateProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoSubdeptsUsers:remove")
@Log(title = "分包单位工人", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoSubdeptsUsersService.deleteProProjectInfoSubdeptsUsersByIds(ids));
}
}

View File

@ -0,0 +1,98 @@
package com.yanzhu.manage.controller;
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;
import com.yanzhu.manage.domain.ProProjectInfoUsers;
import com.yanzhu.manage.service.IProProjectInfoUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
* @author JiangYuQi
* @date 2024-08-25
*/
@RestController
@RequestMapping("/proProjectInfoUsers")
public class ProProjectInfoUsersController extends BaseController
{
@Autowired
private IProProjectInfoUsersService proProjectInfoUsersService;
/**
*
*/
@RequiresPermissions("manage:proProjectInfoUsers:list")
@GetMapping("/list")
public TableDataInfo list(ProProjectInfoUsers proProjectInfoUsers)
{
startPage();
List<ProProjectInfoUsers> list = proProjectInfoUsersService.selectProProjectInfoUsersList(proProjectInfoUsers);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoUsers:export")
@Log(title = "项目人员", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, ProProjectInfoUsers proProjectInfoUsers)
{
List<ProProjectInfoUsers> list = proProjectInfoUsersService.selectProProjectInfoUsersList(proProjectInfoUsers);
ExcelUtil<ProProjectInfoUsers> util = new ExcelUtil<ProProjectInfoUsers>(ProProjectInfoUsers.class);
util.exportExcel(response, list, "项目人员数据");
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoUsers:query")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(proProjectInfoUsersService.selectProProjectInfoUsersById(id));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoUsers:add")
@Log(title = "项目人员", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody ProProjectInfoUsers proProjectInfoUsers)
{
return toAjax(proProjectInfoUsersService.insertProProjectInfoUsers(proProjectInfoUsers));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoUsers:edit")
@Log(title = "项目人员", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody ProProjectInfoUsers proProjectInfoUsers)
{
return toAjax(proProjectInfoUsersService.updateProProjectInfoUsers(proProjectInfoUsers));
}
/**
*
*/
@RequiresPermissions("manage:proProjectInfoUsers:remove")
@Log(title = "项目人员", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(proProjectInfoUsersService.deleteProProjectInfoUsersByIds(ids));
}
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusExamInfoQues;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusExamInfoQuesService
{
/**
*
*
* @param examId
* @return
*/
public BusExamInfoQues selectBusExamInfoQuesByExamId(Long examId);
/**
*
*
* @param busExamInfoQues
* @return
*/
public List<BusExamInfoQues> selectBusExamInfoQuesList(BusExamInfoQues busExamInfoQues);
/**
*
*
* @param busExamInfoQues
* @return
*/
public int insertBusExamInfoQues(BusExamInfoQues busExamInfoQues);
/**
*
*
* @param busExamInfoQues
* @return
*/
public int updateBusExamInfoQues(BusExamInfoQues busExamInfoQues);
/**
*
*
* @param examIds
* @return
*/
public int deleteBusExamInfoQuesByExamIds(Long[] examIds);
/**
*
*
* @param examId
* @return
*/
public int deleteBusExamInfoQuesByExamId(Long examId);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusExamInfo;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusExamInfoService
{
/**
*
*
* @param id
* @return
*/
public BusExamInfo selectBusExamInfoById(Long id);
/**
*
*
* @param busExamInfo
* @return
*/
public List<BusExamInfo> selectBusExamInfoList(BusExamInfo busExamInfo);
/**
*
*
* @param busExamInfo
* @return
*/
public int insertBusExamInfo(BusExamInfo busExamInfo);
/**
*
*
* @param busExamInfo
* @return
*/
public int updateBusExamInfo(BusExamInfo busExamInfo);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamInfoByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamInfoById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusExamQuestionResult;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusExamQuestionResultService
{
/**
*
*
* @param id
* @return
*/
public BusExamQuestionResult selectBusExamQuestionResultById(Long id);
/**
*
*
* @param busExamQuestionResult
* @return
*/
public List<BusExamQuestionResult> selectBusExamQuestionResultList(BusExamQuestionResult busExamQuestionResult);
/**
*
*
* @param busExamQuestionResult
* @return
*/
public int insertBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult);
/**
*
*
* @param busExamQuestionResult
* @return
*/
public int updateBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamQuestionResultByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamQuestionResultById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusExamQuestion;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusExamQuestionService
{
/**
*
*
* @param id
* @return
*/
public BusExamQuestion selectBusExamQuestionById(Long id);
/**
*
*
* @param busExamQuestion
* @return
*/
public List<BusExamQuestion> selectBusExamQuestionList(BusExamQuestion busExamQuestion);
/**
*
*
* @param busExamQuestion
* @return
*/
public int insertBusExamQuestion(BusExamQuestion busExamQuestion);
/**
*
*
* @param busExamQuestion
* @return
*/
public int updateBusExamQuestion(BusExamQuestion busExamQuestion);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamQuestionByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamQuestionById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusExamUserResult;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusExamUserResultService
{
/**
*
*
* @param examUserId
* @return
*/
public BusExamUserResult selectBusExamUserResultByExamUserId(Long examUserId);
/**
*
*
* @param busExamUserResult
* @return
*/
public List<BusExamUserResult> selectBusExamUserResultList(BusExamUserResult busExamUserResult);
/**
*
*
* @param busExamUserResult
* @return
*/
public int insertBusExamUserResult(BusExamUserResult busExamUserResult);
/**
*
*
* @param busExamUserResult
* @return
*/
public int updateBusExamUserResult(BusExamUserResult busExamUserResult);
/**
*
*
* @param examUserIds
* @return
*/
public int deleteBusExamUserResultByExamUserIds(Long[] examUserIds);
/**
*
*
* @param examUserId
* @return
*/
public int deleteBusExamUserResultByExamUserId(Long examUserId);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusExamUser;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusExamUserService
{
/**
*
*
* @param id
* @return
*/
public BusExamUser selectBusExamUserById(Long id);
/**
*
*
* @param busExamUser
* @return
*/
public List<BusExamUser> selectBusExamUserList(BusExamUser busExamUser);
/**
*
*
* @param busExamUser
* @return
*/
public int insertBusExamUser(BusExamUser busExamUser);
/**
*
*
* @param busExamUser
* @return
*/
public int updateBusExamUser(BusExamUser busExamUser);
/**
*
*
* @param ids
* @return
*/
public int deleteBusExamUserByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteBusExamUserById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.BusTrainingVideo;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusTrainingVideoService
{
/**
*
*
* @param id
* @return
*/
public BusTrainingVideo selectBusTrainingVideoById(Long id);
/**
*
*
* @param busTrainingVideo
* @return
*/
public List<BusTrainingVideo> selectBusTrainingVideoList(BusTrainingVideo busTrainingVideo);
/**
*
*
* @param busTrainingVideo
* @return
*/
public int insertBusTrainingVideo(BusTrainingVideo busTrainingVideo);
/**
*
*
* @param busTrainingVideo
* @return
*/
public int updateBusTrainingVideo(BusTrainingVideo busTrainingVideo);
/**
*
*
* @param ids
* @return
*/
public int deleteBusTrainingVideoByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteBusTrainingVideoById(Long id);
}

View File

@ -0,0 +1,62 @@
package com.yanzhu.manage.service;
import com.yanzhu.manage.domain.BusTrainingVideoUser;
import java.util.List;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IBusTrainingVideoUserService
{
/**
*
*
* @param id
* @return
*/
public BusTrainingVideoUser selectBusTrainingVideoUserById(Long id);
/**
*
*
* @param busTrainingVideoUser
* @return
*/
public List<BusTrainingVideoUser> selectBusTrainingVideoUserList(BusTrainingVideoUser busTrainingVideoUser);
/**
*
*
* @param busTrainingVideoUser
* @return
*/
public int insertBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser);
/**
*
*
* @param busTrainingVideoUser
* @return
*/
public int updateBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser);
/**
*
*
* @param ids
* @return
*/
public int deleteBusTrainingVideoUserByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteBusTrainingVideoUserById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoDepts;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IProProjectInfoDeptsService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoDepts selectProProjectInfoDeptsById(Long id);
/**
*
*
* @param proProjectInfoDepts
* @return
*/
public List<ProProjectInfoDepts> selectProProjectInfoDeptsList(ProProjectInfoDepts proProjectInfoDepts);
/**
*
*
* @param proProjectInfoDepts
* @return
*/
public int insertProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts);
/**
*
*
* @param proProjectInfoDepts
* @return
*/
public int updateProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoDeptsByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoDeptsById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfo;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IProProjectInfoService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfo selectProProjectInfoById(Long id);
/**
*
*
* @param proProjectInfo
* @return
*/
public List<ProProjectInfo> selectProProjectInfoList(ProProjectInfo proProjectInfo);
/**
*
*
* @param proProjectInfo
* @return
*/
public int insertProProjectInfo(ProProjectInfo proProjectInfo);
/**
*
*
* @param proProjectInfo
* @return
*/
public int updateProProjectInfo(ProProjectInfo proProjectInfo);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSetting;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IProProjectInfoSettingService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSetting selectProProjectInfoSettingById(Long id);
/**
*
*
* @param proProjectInfoSetting
* @return
*/
public List<ProProjectInfoSetting> selectProProjectInfoSettingList(ProProjectInfoSetting proProjectInfoSetting);
/**
*
*
* @param proProjectInfoSetting
* @return
*/
public int insertProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting);
/**
*
*
* @param proProjectInfoSetting
* @return
*/
public int updateProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSettingByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSettingById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup;
/**
* Service
*
* @author JiangYuqi
* @date 2024-08-25
*/
public interface IProProjectInfoSubdeptsGroupService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSubdeptsGroup selectProProjectInfoSubdeptsGroupById(Long id);
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
public List<ProProjectInfoSubdeptsGroup> selectProProjectInfoSubdeptsGroupList(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup);
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
public int insertProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup);
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
public int updateProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSubdeptsGroupByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSubdeptsGroupById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSubdepts;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IProProjectInfoSubdeptsService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSubdepts selectProProjectInfoSubdeptsById(Long id);
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
public List<ProProjectInfoSubdepts> selectProProjectInfoSubdeptsList(ProProjectInfoSubdepts proProjectInfoSubdepts);
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
public int insertProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts);
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
public int updateProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSubdeptsByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSubdeptsById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IProProjectInfoSubdeptsUsersService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoSubdeptsUsers selectProProjectInfoSubdeptsUsersById(Long id);
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
public List<ProProjectInfoSubdeptsUsers> selectProProjectInfoSubdeptsUsersList(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers);
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
public int insertProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers);
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
public int updateProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoSubdeptsUsersByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoSubdeptsUsersById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.yanzhu.manage.service;
import java.util.List;
import com.yanzhu.manage.domain.ProProjectInfoUsers;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
public interface IProProjectInfoUsersService
{
/**
*
*
* @param id
* @return
*/
public ProProjectInfoUsers selectProProjectInfoUsersById(Long id);
/**
*
*
* @param proProjectInfoUsers
* @return
*/
public List<ProProjectInfoUsers> selectProProjectInfoUsersList(ProProjectInfoUsers proProjectInfoUsers);
/**
*
*
* @param proProjectInfoUsers
* @return
*/
public int insertProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers);
/**
*
*
* @param proProjectInfoUsers
* @return
*/
public int updateProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers);
/**
*
*
* @param ids
* @return
*/
public int deleteProProjectInfoUsersByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteProProjectInfoUsersById(Long id);
}

View File

@ -0,0 +1,93 @@
package com.yanzhu.manage.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yanzhu.manage.mapper.BusExamInfoQuesMapper;
import com.yanzhu.manage.domain.BusExamInfoQues;
import com.yanzhu.manage.service.IBusExamInfoQuesService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusExamInfoQuesServiceImpl implements IBusExamInfoQuesService
{
@Autowired
private BusExamInfoQuesMapper busExamInfoQuesMapper;
/**
*
*
* @param examId
* @return
*/
@Override
public BusExamInfoQues selectBusExamInfoQuesByExamId(Long examId)
{
return busExamInfoQuesMapper.selectBusExamInfoQuesByExamId(examId);
}
/**
*
*
* @param busExamInfoQues
* @return
*/
@Override
public List<BusExamInfoQues> selectBusExamInfoQuesList(BusExamInfoQues busExamInfoQues)
{
return busExamInfoQuesMapper.selectBusExamInfoQuesList(busExamInfoQues);
}
/**
*
*
* @param busExamInfoQues
* @return
*/
@Override
public int insertBusExamInfoQues(BusExamInfoQues busExamInfoQues)
{
return busExamInfoQuesMapper.insertBusExamInfoQues(busExamInfoQues);
}
/**
*
*
* @param busExamInfoQues
* @return
*/
@Override
public int updateBusExamInfoQues(BusExamInfoQues busExamInfoQues)
{
return busExamInfoQuesMapper.updateBusExamInfoQues(busExamInfoQues);
}
/**
*
*
* @param examIds
* @return
*/
@Override
public int deleteBusExamInfoQuesByExamIds(Long[] examIds)
{
return busExamInfoQuesMapper.deleteBusExamInfoQuesByExamIds(examIds);
}
/**
*
*
* @param examId
* @return
*/
@Override
public int deleteBusExamInfoQuesByExamId(Long examId)
{
return busExamInfoQuesMapper.deleteBusExamInfoQuesByExamId(examId);
}
}

View File

@ -0,0 +1,135 @@
package com.yanzhu.manage.service.impl;
import java.util.List;
import com.yanzhu.common.core.utils.DateUtils;
import com.yanzhu.common.core.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import org.springframework.transaction.annotation.Transactional;
import com.yanzhu.manage.domain.BusExamInfoQues;
import com.yanzhu.manage.mapper.BusExamInfoMapper;
import com.yanzhu.manage.domain.BusExamInfo;
import com.yanzhu.manage.service.IBusExamInfoService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusExamInfoServiceImpl implements IBusExamInfoService
{
@Autowired
private BusExamInfoMapper busExamInfoMapper;
/**
*
*
* @param id
* @return
*/
@Override
public BusExamInfo selectBusExamInfoById(Long id)
{
return busExamInfoMapper.selectBusExamInfoById(id);
}
/**
*
*
* @param busExamInfo
* @return
*/
@Override
public List<BusExamInfo> selectBusExamInfoList(BusExamInfo busExamInfo)
{
return busExamInfoMapper.selectBusExamInfoList(busExamInfo);
}
/**
*
*
* @param busExamInfo
* @return
*/
@Transactional
@Override
public int insertBusExamInfo(BusExamInfo busExamInfo)
{
busExamInfo.setCreateTime(DateUtils.getNowDate());
int rows = busExamInfoMapper.insertBusExamInfo(busExamInfo);
insertBusExamInfoQues(busExamInfo);
return rows;
}
/**
*
*
* @param busExamInfo
* @return
*/
@Transactional
@Override
public int updateBusExamInfo(BusExamInfo busExamInfo)
{
busExamInfo.setUpdateTime(DateUtils.getNowDate());
busExamInfoMapper.deleteBusExamInfoQuesByExamId(busExamInfo.getId());
insertBusExamInfoQues(busExamInfo);
return busExamInfoMapper.updateBusExamInfo(busExamInfo);
}
/**
*
*
* @param ids
* @return
*/
@Transactional
@Override
public int deleteBusExamInfoByIds(Long[] ids)
{
busExamInfoMapper.deleteBusExamInfoQuesByExamIds(ids);
return busExamInfoMapper.deleteBusExamInfoByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Transactional
@Override
public int deleteBusExamInfoById(Long id)
{
busExamInfoMapper.deleteBusExamInfoQuesByExamId(id);
return busExamInfoMapper.deleteBusExamInfoById(id);
}
/**
*
*
* @param busExamInfo
*/
public void insertBusExamInfoQues(BusExamInfo busExamInfo)
{
List<BusExamInfoQues> busExamInfoQuesList = busExamInfo.getBusExamInfoQuesList();
Long id = busExamInfo.getId();
if (StringUtils.isNotNull(busExamInfoQuesList))
{
List<BusExamInfoQues> list = new ArrayList<BusExamInfoQues>();
for (BusExamInfoQues busExamInfoQues : busExamInfoQuesList)
{
busExamInfoQues.setExamId(id);
list.add(busExamInfoQues);
}
if (list.size() > 0)
{
busExamInfoMapper.batchBusExamInfoQues(list);
}
}
}
}

View File

@ -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.BusExamQuestionResultMapper;
import com.yanzhu.manage.domain.BusExamQuestionResult;
import com.yanzhu.manage.service.IBusExamQuestionResultService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusExamQuestionResultServiceImpl implements IBusExamQuestionResultService
{
@Autowired
private BusExamQuestionResultMapper busExamQuestionResultMapper;
/**
*
*
* @param id
* @return
*/
@Override
public BusExamQuestionResult selectBusExamQuestionResultById(Long id)
{
return busExamQuestionResultMapper.selectBusExamQuestionResultById(id);
}
/**
*
*
* @param busExamQuestionResult
* @return
*/
@Override
public List<BusExamQuestionResult> selectBusExamQuestionResultList(BusExamQuestionResult busExamQuestionResult)
{
return busExamQuestionResultMapper.selectBusExamQuestionResultList(busExamQuestionResult);
}
/**
*
*
* @param busExamQuestionResult
* @return
*/
@Override
public int insertBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult)
{
busExamQuestionResult.setCreateTime(DateUtils.getNowDate());
return busExamQuestionResultMapper.insertBusExamQuestionResult(busExamQuestionResult);
}
/**
*
*
* @param busExamQuestionResult
* @return
*/
@Override
public int updateBusExamQuestionResult(BusExamQuestionResult busExamQuestionResult)
{
busExamQuestionResult.setUpdateTime(DateUtils.getNowDate());
return busExamQuestionResultMapper.updateBusExamQuestionResult(busExamQuestionResult);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteBusExamQuestionResultByIds(Long[] ids)
{
return busExamQuestionResultMapper.deleteBusExamQuestionResultByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteBusExamQuestionResultById(Long id)
{
return busExamQuestionResultMapper.deleteBusExamQuestionResultById(id);
}
}

View File

@ -0,0 +1,134 @@
package com.yanzhu.manage.service.impl;
import java.util.List;
import com.yanzhu.common.core.utils.DateUtils;
import com.yanzhu.common.core.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import org.springframework.transaction.annotation.Transactional;
import com.yanzhu.manage.domain.BusExamQuestionResult;
import com.yanzhu.manage.mapper.BusExamQuestionMapper;
import com.yanzhu.manage.domain.BusExamQuestion;
import com.yanzhu.manage.service.IBusExamQuestionService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusExamQuestionServiceImpl implements IBusExamQuestionService
{
@Autowired
private BusExamQuestionMapper busExamQuestionMapper;
/**
*
*
* @param id
* @return
*/
@Override
public BusExamQuestion selectBusExamQuestionById(Long id)
{
return busExamQuestionMapper.selectBusExamQuestionById(id);
}
/**
*
*
* @param busExamQuestion
* @return
*/
@Override
public List<BusExamQuestion> selectBusExamQuestionList(BusExamQuestion busExamQuestion)
{
return busExamQuestionMapper.selectBusExamQuestionList(busExamQuestion);
}
/**
*
*
* @param busExamQuestion
* @return
*/
@Transactional
@Override
public int insertBusExamQuestion(BusExamQuestion busExamQuestion)
{
busExamQuestion.setCreateTime(DateUtils.getNowDate());
int rows = busExamQuestionMapper.insertBusExamQuestion(busExamQuestion);
insertBusExamQuestionResult(busExamQuestion);
return rows;
}
/**
*
*
* @param busExamQuestion
* @return
*/
@Transactional
@Override
public int updateBusExamQuestion(BusExamQuestion busExamQuestion)
{
busExamQuestion.setUpdateTime(DateUtils.getNowDate());
busExamQuestionMapper.deleteBusExamQuestionResultByQuestionId(busExamQuestion.getId());
insertBusExamQuestionResult(busExamQuestion);
return busExamQuestionMapper.updateBusExamQuestion(busExamQuestion);
}
/**
*
*
* @param ids
* @return
*/
@Transactional
@Override
public int deleteBusExamQuestionByIds(Long[] ids)
{
busExamQuestionMapper.deleteBusExamQuestionResultByQuestionIds(ids);
return busExamQuestionMapper.deleteBusExamQuestionByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Transactional
@Override
public int deleteBusExamQuestionById(Long id)
{
busExamQuestionMapper.deleteBusExamQuestionResultByQuestionId(id);
return busExamQuestionMapper.deleteBusExamQuestionById(id);
}
/**
*
*
* @param busExamQuestion
*/
public void insertBusExamQuestionResult(BusExamQuestion busExamQuestion)
{
List<BusExamQuestionResult> busExamQuestionResultList = busExamQuestion.getBusExamQuestionResultList();
Long id = busExamQuestion.getId();
if (StringUtils.isNotNull(busExamQuestionResultList))
{
List<BusExamQuestionResult> list = new ArrayList<BusExamQuestionResult>();
for (BusExamQuestionResult busExamQuestionResult : busExamQuestionResultList)
{
busExamQuestionResult.setQuestionId(id);
list.add(busExamQuestionResult);
}
if (list.size() > 0)
{
busExamQuestionMapper.batchBusExamQuestionResult(list);
}
}
}
}

View File

@ -0,0 +1,93 @@
package com.yanzhu.manage.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yanzhu.manage.mapper.BusExamUserResultMapper;
import com.yanzhu.manage.domain.BusExamUserResult;
import com.yanzhu.manage.service.IBusExamUserResultService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusExamUserResultServiceImpl implements IBusExamUserResultService
{
@Autowired
private BusExamUserResultMapper busExamUserResultMapper;
/**
*
*
* @param examUserId
* @return
*/
@Override
public BusExamUserResult selectBusExamUserResultByExamUserId(Long examUserId)
{
return busExamUserResultMapper.selectBusExamUserResultByExamUserId(examUserId);
}
/**
*
*
* @param busExamUserResult
* @return
*/
@Override
public List<BusExamUserResult> selectBusExamUserResultList(BusExamUserResult busExamUserResult)
{
return busExamUserResultMapper.selectBusExamUserResultList(busExamUserResult);
}
/**
*
*
* @param busExamUserResult
* @return
*/
@Override
public int insertBusExamUserResult(BusExamUserResult busExamUserResult)
{
return busExamUserResultMapper.insertBusExamUserResult(busExamUserResult);
}
/**
*
*
* @param busExamUserResult
* @return
*/
@Override
public int updateBusExamUserResult(BusExamUserResult busExamUserResult)
{
return busExamUserResultMapper.updateBusExamUserResult(busExamUserResult);
}
/**
*
*
* @param examUserIds
* @return
*/
@Override
public int deleteBusExamUserResultByExamUserIds(Long[] examUserIds)
{
return busExamUserResultMapper.deleteBusExamUserResultByExamUserIds(examUserIds);
}
/**
*
*
* @param examUserId
* @return
*/
@Override
public int deleteBusExamUserResultByExamUserId(Long examUserId)
{
return busExamUserResultMapper.deleteBusExamUserResultByExamUserId(examUserId);
}
}

View File

@ -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.BusExamUserMapper;
import com.yanzhu.manage.domain.BusExamUser;
import com.yanzhu.manage.service.IBusExamUserService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusExamUserServiceImpl implements IBusExamUserService
{
@Autowired
private BusExamUserMapper busExamUserMapper;
/**
*
*
* @param id
* @return
*/
@Override
public BusExamUser selectBusExamUserById(Long id)
{
return busExamUserMapper.selectBusExamUserById(id);
}
/**
*
*
* @param busExamUser
* @return
*/
@Override
public List<BusExamUser> selectBusExamUserList(BusExamUser busExamUser)
{
return busExamUserMapper.selectBusExamUserList(busExamUser);
}
/**
*
*
* @param busExamUser
* @return
*/
@Override
public int insertBusExamUser(BusExamUser busExamUser)
{
busExamUser.setCreateTime(DateUtils.getNowDate());
return busExamUserMapper.insertBusExamUser(busExamUser);
}
/**
*
*
* @param busExamUser
* @return
*/
@Override
public int updateBusExamUser(BusExamUser busExamUser)
{
busExamUser.setUpdateTime(DateUtils.getNowDate());
return busExamUserMapper.updateBusExamUser(busExamUser);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteBusExamUserByIds(Long[] ids)
{
return busExamUserMapper.deleteBusExamUserByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteBusExamUserById(Long id)
{
return busExamUserMapper.deleteBusExamUserById(id);
}
}

View File

@ -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.BusTrainingVideoMapper;
import com.yanzhu.manage.domain.BusTrainingVideo;
import com.yanzhu.manage.service.IBusTrainingVideoService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusTrainingVideoServiceImpl implements IBusTrainingVideoService
{
@Autowired
private BusTrainingVideoMapper busTrainingVideoMapper;
/**
*
*
* @param id
* @return
*/
@Override
public BusTrainingVideo selectBusTrainingVideoById(Long id)
{
return busTrainingVideoMapper.selectBusTrainingVideoById(id);
}
/**
*
*
* @param busTrainingVideo
* @return
*/
@Override
public List<BusTrainingVideo> selectBusTrainingVideoList(BusTrainingVideo busTrainingVideo)
{
return busTrainingVideoMapper.selectBusTrainingVideoList(busTrainingVideo);
}
/**
*
*
* @param busTrainingVideo
* @return
*/
@Override
public int insertBusTrainingVideo(BusTrainingVideo busTrainingVideo)
{
busTrainingVideo.setCreateTime(DateUtils.getNowDate());
return busTrainingVideoMapper.insertBusTrainingVideo(busTrainingVideo);
}
/**
*
*
* @param busTrainingVideo
* @return
*/
@Override
public int updateBusTrainingVideo(BusTrainingVideo busTrainingVideo)
{
busTrainingVideo.setUpdateTime(DateUtils.getNowDate());
return busTrainingVideoMapper.updateBusTrainingVideo(busTrainingVideo);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteBusTrainingVideoByIds(Long[] ids)
{
return busTrainingVideoMapper.deleteBusTrainingVideoByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteBusTrainingVideoById(Long id)
{
return busTrainingVideoMapper.deleteBusTrainingVideoById(id);
}
}

View File

@ -0,0 +1,97 @@
package com.yanzhu.manage.service.impl;
import com.yanzhu.common.core.utils.DateUtils;
import com.yanzhu.manage.domain.BusTrainingVideoUser;
import com.yanzhu.manage.mapper.BusTrainingVideoUserMapper;
import com.yanzhu.manage.service.IBusTrainingVideoUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class BusTrainingVideoUserServiceImpl implements IBusTrainingVideoUserService
{
@Autowired
private BusTrainingVideoUserMapper busTrainingVideoUserMapper;
/**
*
*
* @param id
* @return
*/
@Override
public BusTrainingVideoUser selectBusTrainingVideoUserById(Long id)
{
return busTrainingVideoUserMapper.selectBusTrainingVideoUserById(id);
}
/**
*
*
* @param busTrainingVideoUser
* @return
*/
@Override
public List<BusTrainingVideoUser> selectBusTrainingVideoUserList(BusTrainingVideoUser busTrainingVideoUser)
{
return busTrainingVideoUserMapper.selectBusTrainingVideoUserList(busTrainingVideoUser);
}
/**
*
*
* @param busTrainingVideoUser
* @return
*/
@Override
public int insertBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser)
{
busTrainingVideoUser.setCreateTime(DateUtils.getNowDate());
return busTrainingVideoUserMapper.insertBusTrainingVideoUser(busTrainingVideoUser);
}
/**
*
*
* @param busTrainingVideoUser
* @return
*/
@Override
public int updateBusTrainingVideoUser(BusTrainingVideoUser busTrainingVideoUser)
{
busTrainingVideoUser.setUpdateTime(DateUtils.getNowDate());
return busTrainingVideoUserMapper.updateBusTrainingVideoUser(busTrainingVideoUser);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteBusTrainingVideoUserByIds(Long[] ids)
{
return busTrainingVideoUserMapper.deleteBusTrainingVideoUserByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteBusTrainingVideoUserById(Long id)
{
return busTrainingVideoUserMapper.deleteBusTrainingVideoUserById(id);
}
}

View File

@ -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.ProProjectInfoDeptsMapper;
import com.yanzhu.manage.domain.ProProjectInfoDepts;
import com.yanzhu.manage.service.IProProjectInfoDeptsService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoDeptsServiceImpl implements IProProjectInfoDeptsService
{
@Autowired
private ProProjectInfoDeptsMapper proProjectInfoDeptsMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfoDepts selectProProjectInfoDeptsById(Long id)
{
return proProjectInfoDeptsMapper.selectProProjectInfoDeptsById(id);
}
/**
*
*
* @param proProjectInfoDepts
* @return
*/
@Override
public List<ProProjectInfoDepts> selectProProjectInfoDeptsList(ProProjectInfoDepts proProjectInfoDepts)
{
return proProjectInfoDeptsMapper.selectProProjectInfoDeptsList(proProjectInfoDepts);
}
/**
*
*
* @param proProjectInfoDepts
* @return
*/
@Override
public int insertProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts)
{
proProjectInfoDepts.setCreateTime(DateUtils.getNowDate());
return proProjectInfoDeptsMapper.insertProProjectInfoDepts(proProjectInfoDepts);
}
/**
*
*
* @param proProjectInfoDepts
* @return
*/
@Override
public int updateProProjectInfoDepts(ProProjectInfoDepts proProjectInfoDepts)
{
proProjectInfoDepts.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoDeptsMapper.updateProProjectInfoDepts(proProjectInfoDepts);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoDeptsByIds(Long[] ids)
{
return proProjectInfoDeptsMapper.deleteProProjectInfoDeptsByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoDeptsById(Long id)
{
return proProjectInfoDeptsMapper.deleteProProjectInfoDeptsById(id);
}
}

View File

@ -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.ProProjectInfoMapper;
import com.yanzhu.manage.domain.ProProjectInfo;
import com.yanzhu.manage.service.IProProjectInfoService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoServiceImpl implements IProProjectInfoService
{
@Autowired
private ProProjectInfoMapper proProjectInfoMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfo selectProProjectInfoById(Long id)
{
return proProjectInfoMapper.selectProProjectInfoById(id);
}
/**
*
*
* @param proProjectInfo
* @return
*/
@Override
public List<ProProjectInfo> selectProProjectInfoList(ProProjectInfo proProjectInfo)
{
return proProjectInfoMapper.selectProProjectInfoList(proProjectInfo);
}
/**
*
*
* @param proProjectInfo
* @return
*/
@Override
public int insertProProjectInfo(ProProjectInfo proProjectInfo)
{
proProjectInfo.setCreateTime(DateUtils.getNowDate());
return proProjectInfoMapper.insertProProjectInfo(proProjectInfo);
}
/**
*
*
* @param proProjectInfo
* @return
*/
@Override
public int updateProProjectInfo(ProProjectInfo proProjectInfo)
{
proProjectInfo.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoMapper.updateProProjectInfo(proProjectInfo);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoByIds(Long[] ids)
{
return proProjectInfoMapper.deleteProProjectInfoByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoById(Long id)
{
return proProjectInfoMapper.deleteProProjectInfoById(id);
}
}

View File

@ -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.ProProjectInfoSettingMapper;
import com.yanzhu.manage.domain.ProProjectInfoSetting;
import com.yanzhu.manage.service.IProProjectInfoSettingService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoSettingServiceImpl implements IProProjectInfoSettingService
{
@Autowired
private ProProjectInfoSettingMapper proProjectInfoSettingMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfoSetting selectProProjectInfoSettingById(Long id)
{
return proProjectInfoSettingMapper.selectProProjectInfoSettingById(id);
}
/**
*
*
* @param proProjectInfoSetting
* @return
*/
@Override
public List<ProProjectInfoSetting> selectProProjectInfoSettingList(ProProjectInfoSetting proProjectInfoSetting)
{
return proProjectInfoSettingMapper.selectProProjectInfoSettingList(proProjectInfoSetting);
}
/**
*
*
* @param proProjectInfoSetting
* @return
*/
@Override
public int insertProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting)
{
proProjectInfoSetting.setCreateTime(DateUtils.getNowDate());
return proProjectInfoSettingMapper.insertProProjectInfoSetting(proProjectInfoSetting);
}
/**
*
*
* @param proProjectInfoSetting
* @return
*/
@Override
public int updateProProjectInfoSetting(ProProjectInfoSetting proProjectInfoSetting)
{
proProjectInfoSetting.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoSettingMapper.updateProProjectInfoSetting(proProjectInfoSetting);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoSettingByIds(Long[] ids)
{
return proProjectInfoSettingMapper.deleteProProjectInfoSettingByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoSettingById(Long id)
{
return proProjectInfoSettingMapper.deleteProProjectInfoSettingById(id);
}
}

View File

@ -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.ProProjectInfoSubdeptsGroupMapper;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsGroup;
import com.yanzhu.manage.service.IProProjectInfoSubdeptsGroupService;
/**
* Service
*
* @author JiangYuqi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoSubdeptsGroupServiceImpl implements IProProjectInfoSubdeptsGroupService
{
@Autowired
private ProProjectInfoSubdeptsGroupMapper proProjectInfoSubdeptsGroupMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfoSubdeptsGroup selectProProjectInfoSubdeptsGroupById(Long id)
{
return proProjectInfoSubdeptsGroupMapper.selectProProjectInfoSubdeptsGroupById(id);
}
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
@Override
public List<ProProjectInfoSubdeptsGroup> selectProProjectInfoSubdeptsGroupList(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
return proProjectInfoSubdeptsGroupMapper.selectProProjectInfoSubdeptsGroupList(proProjectInfoSubdeptsGroup);
}
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
@Override
public int insertProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
proProjectInfoSubdeptsGroup.setCreateTime(DateUtils.getNowDate());
return proProjectInfoSubdeptsGroupMapper.insertProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup);
}
/**
*
*
* @param proProjectInfoSubdeptsGroup
* @return
*/
@Override
public int updateProProjectInfoSubdeptsGroup(ProProjectInfoSubdeptsGroup proProjectInfoSubdeptsGroup)
{
proProjectInfoSubdeptsGroup.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoSubdeptsGroupMapper.updateProProjectInfoSubdeptsGroup(proProjectInfoSubdeptsGroup);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoSubdeptsGroupByIds(Long[] ids)
{
return proProjectInfoSubdeptsGroupMapper.deleteProProjectInfoSubdeptsGroupByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoSubdeptsGroupById(Long id)
{
return proProjectInfoSubdeptsGroupMapper.deleteProProjectInfoSubdeptsGroupById(id);
}
}

View File

@ -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.ProProjectInfoSubdeptsMapper;
import com.yanzhu.manage.domain.ProProjectInfoSubdepts;
import com.yanzhu.manage.service.IProProjectInfoSubdeptsService;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoSubdeptsServiceImpl implements IProProjectInfoSubdeptsService
{
@Autowired
private ProProjectInfoSubdeptsMapper proProjectInfoSubdeptsMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfoSubdepts selectProProjectInfoSubdeptsById(Long id)
{
return proProjectInfoSubdeptsMapper.selectProProjectInfoSubdeptsById(id);
}
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
@Override
public List<ProProjectInfoSubdepts> selectProProjectInfoSubdeptsList(ProProjectInfoSubdepts proProjectInfoSubdepts)
{
return proProjectInfoSubdeptsMapper.selectProProjectInfoSubdeptsList(proProjectInfoSubdepts);
}
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
@Override
public int insertProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts)
{
proProjectInfoSubdepts.setCreateTime(DateUtils.getNowDate());
return proProjectInfoSubdeptsMapper.insertProProjectInfoSubdepts(proProjectInfoSubdepts);
}
/**
*
*
* @param proProjectInfoSubdepts
* @return
*/
@Override
public int updateProProjectInfoSubdepts(ProProjectInfoSubdepts proProjectInfoSubdepts)
{
proProjectInfoSubdepts.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoSubdeptsMapper.updateProProjectInfoSubdepts(proProjectInfoSubdepts);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoSubdeptsByIds(Long[] ids)
{
return proProjectInfoSubdeptsMapper.deleteProProjectInfoSubdeptsByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoSubdeptsById(Long id)
{
return proProjectInfoSubdeptsMapper.deleteProProjectInfoSubdeptsById(id);
}
}

View File

@ -0,0 +1,97 @@
package com.yanzhu.manage.service.impl;
import com.yanzhu.common.core.utils.DateUtils;
import com.yanzhu.manage.domain.ProProjectInfoSubdeptsUsers;
import com.yanzhu.manage.mapper.ProProjectInfoSubdeptsUsersMapper;
import com.yanzhu.manage.service.IProProjectInfoSubdeptsUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoSubdeptsUsersServiceImpl implements IProProjectInfoSubdeptsUsersService
{
@Autowired
private ProProjectInfoSubdeptsUsersMapper proProjectInfoSubdeptsUsersMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfoSubdeptsUsers selectProProjectInfoSubdeptsUsersById(Long id)
{
return proProjectInfoSubdeptsUsersMapper.selectProProjectInfoSubdeptsUsersById(id);
}
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
@Override
public List<ProProjectInfoSubdeptsUsers> selectProProjectInfoSubdeptsUsersList(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
return proProjectInfoSubdeptsUsersMapper.selectProProjectInfoSubdeptsUsersList(proProjectInfoSubdeptsUsers);
}
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
@Override
public int insertProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
proProjectInfoSubdeptsUsers.setCreateTime(DateUtils.getNowDate());
return proProjectInfoSubdeptsUsersMapper.insertProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers);
}
/**
*
*
* @param proProjectInfoSubdeptsUsers
* @return
*/
@Override
public int updateProProjectInfoSubdeptsUsers(ProProjectInfoSubdeptsUsers proProjectInfoSubdeptsUsers)
{
proProjectInfoSubdeptsUsers.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoSubdeptsUsersMapper.updateProProjectInfoSubdeptsUsers(proProjectInfoSubdeptsUsers);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoSubdeptsUsersByIds(Long[] ids)
{
return proProjectInfoSubdeptsUsersMapper.deleteProProjectInfoSubdeptsUsersByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoSubdeptsUsersById(Long id)
{
return proProjectInfoSubdeptsUsersMapper.deleteProProjectInfoSubdeptsUsersById(id);
}
}

View File

@ -0,0 +1,97 @@
package com.yanzhu.manage.service.impl;
import com.yanzhu.common.core.utils.DateUtils;
import com.yanzhu.manage.domain.ProProjectInfoUsers;
import com.yanzhu.manage.mapper.ProProjectInfoUsersMapper;
import com.yanzhu.manage.service.IProProjectInfoUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Service
*
* @author JiangYuQi
* @date 2024-08-25
*/
@Service
public class ProProjectInfoUsersServiceImpl implements IProProjectInfoUsersService
{
@Autowired
private ProProjectInfoUsersMapper proProjectInfoUsersMapper;
/**
*
*
* @param id
* @return
*/
@Override
public ProProjectInfoUsers selectProProjectInfoUsersById(Long id)
{
return proProjectInfoUsersMapper.selectProProjectInfoUsersById(id);
}
/**
*
*
* @param proProjectInfoUsers
* @return
*/
@Override
public List<ProProjectInfoUsers> selectProProjectInfoUsersList(ProProjectInfoUsers proProjectInfoUsers)
{
return proProjectInfoUsersMapper.selectProProjectInfoUsersList(proProjectInfoUsers);
}
/**
*
*
* @param proProjectInfoUsers
* @return
*/
@Override
public int insertProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers)
{
proProjectInfoUsers.setCreateTime(DateUtils.getNowDate());
return proProjectInfoUsersMapper.insertProProjectInfoUsers(proProjectInfoUsers);
}
/**
*
*
* @param proProjectInfoUsers
* @return
*/
@Override
public int updateProProjectInfoUsers(ProProjectInfoUsers proProjectInfoUsers)
{
proProjectInfoUsers.setUpdateTime(DateUtils.getNowDate());
return proProjectInfoUsersMapper.updateProProjectInfoUsers(proProjectInfoUsers);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteProProjectInfoUsersByIds(Long[] ids)
{
return proProjectInfoUsersMapper.deleteProProjectInfoUsersByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteProProjectInfoUsersById(Long id)
{
return proProjectInfoUsersMapper.deleteProProjectInfoUsersById(id);
}
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询基础试卷列表
export function listBusExamInfo(query) {
return request({
url: '/manage/busExamInfo/list',
method: 'get',
params: query
})
}
// 查询基础试卷详细
export function getBusExamInfo(id) {
return request({
url: '/manage/busExamInfo/' + id,
method: 'get'
})
}
// 新增基础试卷
export function addBusExamInfo(data) {
return request({
url: '/manage/busExamInfo',
method: 'post',
data: data
})
}
// 修改基础试卷
export function updateBusExamInfo(data) {
return request({
url: '/manage/busExamInfo',
method: 'put',
data: data
})
}
// 删除基础试卷
export function delBusExamInfo(id) {
return request({
url: '/manage/busExamInfo/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询试卷问题列表
export function listBusExamInfoQues(query) {
return request({
url: '/manage/busExamInfoQues/list',
method: 'get',
params: query
})
}
// 查询试卷问题详细
export function getBusExamInfoQues(examId) {
return request({
url: '/manage/busExamInfoQues/' + examId,
method: 'get'
})
}
// 新增试卷问题
export function addBusExamInfoQues(data) {
return request({
url: '/manage/busExamInfoQues',
method: 'post',
data: data
})
}
// 修改试卷问题
export function updateBusExamInfoQues(data) {
return request({
url: '/manage/busExamInfoQues',
method: 'put',
data: data
})
}
// 删除试卷问题
export function delBusExamInfoQues(examId) {
return request({
url: '/manage/busExamInfoQues/' + examId,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询基础题库列表
export function listBusExamQuestion(query) {
return request({
url: '/manage/busExamQuestion/list',
method: 'get',
params: query
})
}
// 查询基础题库详细
export function getBusExamQuestion(id) {
return request({
url: '/manage/busExamQuestion/' + id,
method: 'get'
})
}
// 新增基础题库
export function addBusExamQuestion(data) {
return request({
url: '/manage/busExamQuestion',
method: 'post',
data: data
})
}
// 修改基础题库
export function updateBusExamQuestion(data) {
return request({
url: '/manage/busExamQuestion',
method: 'put',
data: data
})
}
// 删除基础题库
export function delBusExamQuestion(id) {
return request({
url: '/manage/busExamQuestion/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询题库问题列表
export function listBusExamQuestionResult(query) {
return request({
url: '/manage/busExamQuestionResult/list',
method: 'get',
params: query
})
}
// 查询题库问题详细
export function getBusExamQuestionResult(id) {
return request({
url: '/manage/busExamQuestionResult/' + id,
method: 'get'
})
}
// 新增题库问题
export function addBusExamQuestionResult(data) {
return request({
url: '/manage/busExamQuestionResult',
method: 'post',
data: data
})
}
// 修改题库问题
export function updateBusExamQuestionResult(data) {
return request({
url: '/manage/busExamQuestionResult',
method: 'put',
data: data
})
}
// 删除题库问题
export function delBusExamQuestionResult(id) {
return request({
url: '/manage/busExamQuestionResult/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询用户试卷列表
export function listBusExamUser(query) {
return request({
url: '/manage/busExamUser/list',
method: 'get',
params: query
})
}
// 查询用户试卷详细
export function getBusExamUser(id) {
return request({
url: '/manage/busExamUser/' + id,
method: 'get'
})
}
// 新增用户试卷
export function addBusExamUser(data) {
return request({
url: '/manage/busExamUser',
method: 'post',
data: data
})
}
// 修改用户试卷
export function updateBusExamUser(data) {
return request({
url: '/manage/busExamUser',
method: 'put',
data: data
})
}
// 删除用户试卷
export function delBusExamUser(id) {
return request({
url: '/manage/busExamUser/' + id,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询用户试卷结果列表
export function listBusExamUserResult(query) {
return request({
url: '/manage/busExamUserResult/list',
method: 'get',
params: query
})
}
// 查询用户试卷结果详细
export function getBusExamUserResult(examUserId) {
return request({
url: '/manage/busExamUserResult/' + examUserId,
method: 'get'
})
}
// 新增用户试卷结果
export function addBusExamUserResult(data) {
return request({
url: '/manage/busExamUserResult',
method: 'post',
data: data
})
}
// 修改用户试卷结果
export function updateBusExamUserResult(data) {
return request({
url: '/manage/busExamUserResult',
method: 'put',
data: data
})
}
// 删除用户试卷结果
export function delBusExamUserResult(examUserId) {
return request({
url: '/manage/busExamUserResult/' + examUserId,
method: 'delete'
})
}

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询培训视频列表
export function listBusTrainingVideo(query) {
return request({
url: '/manage/busTrainingVideo/list',
method: 'get',
params: query
})
}
// 查询培训视频详细
export function getBusTrainingVideo(id) {
return request({
url: '/manage/busTrainingVideo/' + id,
method: 'get'
})
}
// 新增培训视频
export function addBusTrainingVideo(data) {
return request({
url: '/manage/busTrainingVideo',
method: 'post',
data: data
})
}
// 修改培训视频
export function updateBusTrainingVideo(data) {
return request({
url: '/manage/busTrainingVideo',
method: 'put',
data: data
})
}
// 删除培训视频
export function delBusTrainingVideo(id) {
return request({
url: '/manage/busTrainingVideo/' + id,
method: 'delete'
})
}

Some files were not shown because too many files have changed in this diff Show More