提交代码
parent
8674561038
commit
d8f63fa43b
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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'
|
||||
})
|
||||
}
|
|
@ -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'
|
||||
})
|
||||
}
|
|
@ -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'
|
||||
})
|
||||
}
|
|
@ -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'
|
||||
})
|
||||
}
|
|
@ -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'
|
||||
})
|
||||
}
|
|
@ -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'
|
||||
})
|
||||
}
|
|
@ -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
Loading…
Reference in New Issue