面试
This commit is contained in:
@ -2,6 +2,7 @@ package com.ruoyi.jxjs.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
@ -10,328 +11,363 @@ import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 基地区级审核对象 tsbz_jdcx
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
public class TsbzJdcx extends BaseEntity
|
||||
{
|
||||
public class TsbzJdcx extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 编号 */
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/** 方案编号 */
|
||||
/**
|
||||
* 方案编号
|
||||
*/
|
||||
@Excel(name = "方案编号")
|
||||
private Long faid;
|
||||
|
||||
/** 教师编号 */
|
||||
/**
|
||||
* 教师编号
|
||||
*/
|
||||
@Excel(name = "教师编号")
|
||||
private Long jsid;
|
||||
|
||||
/** 当前状态 */
|
||||
/**
|
||||
* 当前状态
|
||||
*/
|
||||
@Excel(name = "当前状态")
|
||||
private String dqzt;
|
||||
|
||||
/** 创建人 */
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuserid;
|
||||
|
||||
/** 基地校审核人 */
|
||||
/**
|
||||
* 基地校审核人
|
||||
*/
|
||||
@Excel(name = "基地校审核人")
|
||||
private Long jdxshr;
|
||||
|
||||
/** 基地校审核状态 */
|
||||
/**
|
||||
* 基地校审核状态
|
||||
*/
|
||||
@Excel(name = "基地校审核状态")
|
||||
private String jdxshzt;
|
||||
|
||||
/** 上报理由 */
|
||||
/**
|
||||
* 上报理由
|
||||
*/
|
||||
@Excel(name = "上报理由")
|
||||
private String sbly;
|
||||
|
||||
/** 区级审核人 */
|
||||
/**
|
||||
* 区级审核人
|
||||
*/
|
||||
@Excel(name = "区级审核人")
|
||||
private Long qjshr;
|
||||
|
||||
/** 区级审核状态 */
|
||||
/**
|
||||
* 区级审核状态
|
||||
*/
|
||||
@Excel(name = "区级审核状态")
|
||||
private String qjshzt;
|
||||
|
||||
/** 区级审核意见 */
|
||||
/**
|
||||
* 区级审核意见
|
||||
*/
|
||||
@Excel(name = "区级审核意见")
|
||||
private String qjshyj;
|
||||
|
||||
/** 基地排序 */
|
||||
/**
|
||||
* 基地排序
|
||||
*/
|
||||
@Excel(name = "基地排序")
|
||||
private Long jdpx;
|
||||
|
||||
/** 案例分析得分 */
|
||||
/**
|
||||
* 案例分析得分
|
||||
*/
|
||||
@Excel(name = "案例分析得分")
|
||||
private BigDecimal alfxdf;
|
||||
|
||||
/** 教案设计得分 */
|
||||
/**
|
||||
* 教案设计得分
|
||||
*/
|
||||
@Excel(name = "教案设计得分")
|
||||
private BigDecimal jasjdf;
|
||||
|
||||
/** 钢笔字得分 */
|
||||
/**
|
||||
* 钢笔字得分
|
||||
*/
|
||||
@Excel(name = "钢笔字得分")
|
||||
private BigDecimal gbzdf;
|
||||
|
||||
/** 综合得分 */
|
||||
/**
|
||||
* 综合得分
|
||||
*/
|
||||
@Excel(name = "综合得分")
|
||||
private BigDecimal zhdf;
|
||||
|
||||
/** 成绩导入创建时间 */
|
||||
/**
|
||||
* 成绩导入创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "成绩导入创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date cjdrcreateTime;
|
||||
|
||||
/** 面试确认 */
|
||||
/**
|
||||
* 面试确认
|
||||
*/
|
||||
@Excel(name = "面试确认")
|
||||
private String msqr;
|
||||
|
||||
/** 面试确认时间 */
|
||||
/**
|
||||
* 面试确认时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "面试确认时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date msqrcreateTime;
|
||||
|
||||
/** 面试结果模拟课堂教学 */
|
||||
/**
|
||||
* 面试结果模拟课堂教学
|
||||
*/
|
||||
@Excel(name = "面试结果模拟课堂教学")
|
||||
private BigDecimal msjgmnktjxdf;
|
||||
|
||||
/** 演讲得分 */
|
||||
/**
|
||||
* 演讲得分
|
||||
*/
|
||||
@Excel(name = "演讲得分")
|
||||
private BigDecimal yjdf;
|
||||
|
||||
/** 综合得分2 */
|
||||
/**
|
||||
* 综合得分2
|
||||
*/
|
||||
@Excel(name = "综合得分2")
|
||||
private BigDecimal zhdf2;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
/**
|
||||
* 录取状态
|
||||
*/
|
||||
@Excel(name = "录取状态")
|
||||
private String lqzt;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
public void setFaid(Long faid)
|
||||
{
|
||||
|
||||
public void setFaid(Long faid) {
|
||||
this.faid = faid;
|
||||
}
|
||||
|
||||
public Long getFaid()
|
||||
{
|
||||
public Long getFaid() {
|
||||
return faid;
|
||||
}
|
||||
public void setJsid(Long jsid)
|
||||
{
|
||||
|
||||
public void setJsid(Long jsid) {
|
||||
this.jsid = jsid;
|
||||
}
|
||||
|
||||
public Long getJsid()
|
||||
{
|
||||
public Long getJsid() {
|
||||
return jsid;
|
||||
}
|
||||
public void setDqzt(String dqzt)
|
||||
{
|
||||
|
||||
public void setDqzt(String dqzt) {
|
||||
this.dqzt = dqzt;
|
||||
}
|
||||
|
||||
public String getDqzt()
|
||||
{
|
||||
public String getDqzt() {
|
||||
return dqzt;
|
||||
}
|
||||
public void setCreateuserid(Long createuserid)
|
||||
{
|
||||
|
||||
public void setCreateuserid(Long createuserid) {
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid()
|
||||
{
|
||||
public Long getCreateuserid() {
|
||||
return createuserid;
|
||||
}
|
||||
public void setJdxshr(Long jdxshr)
|
||||
{
|
||||
|
||||
public void setJdxshr(Long jdxshr) {
|
||||
this.jdxshr = jdxshr;
|
||||
}
|
||||
|
||||
public Long getJdxshr()
|
||||
{
|
||||
public Long getJdxshr() {
|
||||
return jdxshr;
|
||||
}
|
||||
public void setJdxshzt(String jdxshzt)
|
||||
{
|
||||
|
||||
public void setJdxshzt(String jdxshzt) {
|
||||
this.jdxshzt = jdxshzt;
|
||||
}
|
||||
|
||||
public String getJdxshzt()
|
||||
{
|
||||
public String getJdxshzt() {
|
||||
return jdxshzt;
|
||||
}
|
||||
public void setSbly(String sbly)
|
||||
{
|
||||
|
||||
public void setSbly(String sbly) {
|
||||
this.sbly = sbly;
|
||||
}
|
||||
|
||||
public String getSbly()
|
||||
{
|
||||
public String getSbly() {
|
||||
return sbly;
|
||||
}
|
||||
public void setQjshr(Long qjshr)
|
||||
{
|
||||
|
||||
public void setQjshr(Long qjshr) {
|
||||
this.qjshr = qjshr;
|
||||
}
|
||||
|
||||
public Long getQjshr()
|
||||
{
|
||||
public Long getQjshr() {
|
||||
return qjshr;
|
||||
}
|
||||
public void setQjshzt(String qjshzt)
|
||||
{
|
||||
|
||||
public void setQjshzt(String qjshzt) {
|
||||
this.qjshzt = qjshzt;
|
||||
}
|
||||
|
||||
public String getQjshzt()
|
||||
{
|
||||
public String getQjshzt() {
|
||||
return qjshzt;
|
||||
}
|
||||
public void setQjshyj(String qjshyj)
|
||||
{
|
||||
|
||||
public void setQjshyj(String qjshyj) {
|
||||
this.qjshyj = qjshyj;
|
||||
}
|
||||
|
||||
public String getQjshyj()
|
||||
{
|
||||
public String getQjshyj() {
|
||||
return qjshyj;
|
||||
}
|
||||
public void setJdpx(Long jdpx)
|
||||
{
|
||||
|
||||
public void setJdpx(Long jdpx) {
|
||||
this.jdpx = jdpx;
|
||||
}
|
||||
|
||||
public Long getJdpx()
|
||||
{
|
||||
public Long getJdpx() {
|
||||
return jdpx;
|
||||
}
|
||||
public void setAlfxdf(BigDecimal alfxdf)
|
||||
{
|
||||
|
||||
public void setAlfxdf(BigDecimal alfxdf) {
|
||||
this.alfxdf = alfxdf;
|
||||
}
|
||||
|
||||
public BigDecimal getAlfxdf()
|
||||
{
|
||||
public BigDecimal getAlfxdf() {
|
||||
return alfxdf;
|
||||
}
|
||||
public void setJasjdf(BigDecimal jasjdf)
|
||||
{
|
||||
|
||||
public void setJasjdf(BigDecimal jasjdf) {
|
||||
this.jasjdf = jasjdf;
|
||||
}
|
||||
|
||||
public BigDecimal getJasjdf()
|
||||
{
|
||||
public BigDecimal getJasjdf() {
|
||||
return jasjdf;
|
||||
}
|
||||
public void setGbzdf(BigDecimal gbzdf)
|
||||
{
|
||||
|
||||
public void setGbzdf(BigDecimal gbzdf) {
|
||||
this.gbzdf = gbzdf;
|
||||
}
|
||||
|
||||
public BigDecimal getGbzdf()
|
||||
{
|
||||
public BigDecimal getGbzdf() {
|
||||
return gbzdf;
|
||||
}
|
||||
public void setZhdf(BigDecimal zhdf)
|
||||
{
|
||||
|
||||
public void setZhdf(BigDecimal zhdf) {
|
||||
this.zhdf = zhdf;
|
||||
}
|
||||
|
||||
public BigDecimal getZhdf()
|
||||
{
|
||||
public BigDecimal getZhdf() {
|
||||
return zhdf;
|
||||
}
|
||||
public void setCjdrcreateTime(Date cjdrcreateTime)
|
||||
{
|
||||
|
||||
public void setCjdrcreateTime(Date cjdrcreateTime) {
|
||||
this.cjdrcreateTime = cjdrcreateTime;
|
||||
}
|
||||
|
||||
public Date getCjdrcreateTime()
|
||||
{
|
||||
public Date getCjdrcreateTime() {
|
||||
return cjdrcreateTime;
|
||||
}
|
||||
public void setMsqr(String msqr)
|
||||
{
|
||||
|
||||
public void setMsqr(String msqr) {
|
||||
this.msqr = msqr;
|
||||
}
|
||||
|
||||
public String getMsqr()
|
||||
{
|
||||
public String getMsqr() {
|
||||
return msqr;
|
||||
}
|
||||
public void setMsqrcreateTime(Date msqrcreateTime)
|
||||
{
|
||||
|
||||
public void setMsqrcreateTime(Date msqrcreateTime) {
|
||||
this.msqrcreateTime = msqrcreateTime;
|
||||
}
|
||||
|
||||
public Date getMsqrcreateTime()
|
||||
{
|
||||
public Date getMsqrcreateTime() {
|
||||
return msqrcreateTime;
|
||||
}
|
||||
public void setMsjgmnktjxdf(BigDecimal msjgmnktjxdf)
|
||||
{
|
||||
|
||||
public void setMsjgmnktjxdf(BigDecimal msjgmnktjxdf) {
|
||||
this.msjgmnktjxdf = msjgmnktjxdf;
|
||||
}
|
||||
|
||||
public BigDecimal getMsjgmnktjxdf()
|
||||
{
|
||||
public BigDecimal getMsjgmnktjxdf() {
|
||||
return msjgmnktjxdf;
|
||||
}
|
||||
public void setYjdf(BigDecimal yjdf)
|
||||
{
|
||||
|
||||
public void setYjdf(BigDecimal yjdf) {
|
||||
this.yjdf = yjdf;
|
||||
}
|
||||
|
||||
public BigDecimal getYjdf()
|
||||
{
|
||||
public BigDecimal getYjdf() {
|
||||
return yjdf;
|
||||
}
|
||||
public void setZhdf2(BigDecimal zhdf2)
|
||||
{
|
||||
|
||||
public void setZhdf2(BigDecimal zhdf2) {
|
||||
this.zhdf2 = zhdf2;
|
||||
}
|
||||
|
||||
public BigDecimal getZhdf2()
|
||||
{
|
||||
public BigDecimal getZhdf2() {
|
||||
return zhdf2;
|
||||
}
|
||||
|
||||
public void setLqzt(String lqzt) {
|
||||
this.lqzt = lqzt;
|
||||
}
|
||||
|
||||
public String getLqzt() {
|
||||
return lqzt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("faid", getFaid())
|
||||
.append("jsid", getJsid())
|
||||
.append("dqzt", getDqzt())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("jdxshr", getJdxshr())
|
||||
.append("jdxshzt", getJdxshzt())
|
||||
.append("sbly", getSbly())
|
||||
.append("qjshr", getQjshr())
|
||||
.append("qjshzt", getQjshzt())
|
||||
.append("qjshyj", getQjshyj())
|
||||
.append("jdpx", getJdpx())
|
||||
.append("alfxdf", getAlfxdf())
|
||||
.append("jasjdf", getJasjdf())
|
||||
.append("gbzdf", getGbzdf())
|
||||
.append("zhdf", getZhdf())
|
||||
.append("cjdrcreateTime", getCjdrcreateTime())
|
||||
.append("msqr", getMsqr())
|
||||
.append("msqrcreateTime", getMsqrcreateTime())
|
||||
.append("msjgmnktjxdf", getMsjgmnktjxdf())
|
||||
.append("yjdf", getYjdf())
|
||||
.append("zhdf2", getZhdf2())
|
||||
.toString();
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("faid", getFaid())
|
||||
.append("jsid", getJsid())
|
||||
.append("dqzt", getDqzt())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("jdxshr", getJdxshr())
|
||||
.append("jdxshzt", getJdxshzt())
|
||||
.append("sbly", getSbly())
|
||||
.append("qjshr", getQjshr())
|
||||
.append("qjshzt", getQjshzt())
|
||||
.append("qjshyj", getQjshyj())
|
||||
.append("jdpx", getJdpx())
|
||||
.append("alfxdf", getAlfxdf())
|
||||
.append("jasjdf", getJasjdf())
|
||||
.append("gbzdf", getGbzdf())
|
||||
.append("zhdf", getZhdf())
|
||||
.append("cjdrcreateTime", getCjdrcreateTime())
|
||||
.append("msqr", getMsqr())
|
||||
.append("msqrcreateTime", getMsqrcreateTime())
|
||||
.append("msjgmnktjxdf", getMsjgmnktjxdf())
|
||||
.append("yjdf", getYjdf())
|
||||
.append("zhdf2", getZhdf2())
|
||||
.append("lqzt", getLqzt())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,82 @@
|
||||
package com.ruoyi.jxjs.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 见习之星名单对象 tsbz_jxzxmd
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-23
|
||||
*/
|
||||
public class TsbzJxzxmd extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 教师id
|
||||
*/
|
||||
@Excel(name = "教师id")
|
||||
private Long jsid;
|
||||
|
||||
/**
|
||||
* 年份
|
||||
*/
|
||||
@Excel(name = "年份")
|
||||
private String nf;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuserid;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setJsid(Long jsid) {
|
||||
this.jsid = jsid;
|
||||
}
|
||||
|
||||
public Long getJsid() {
|
||||
return jsid;
|
||||
}
|
||||
|
||||
public void setNf(String nf) {
|
||||
this.nf = nf;
|
||||
}
|
||||
|
||||
public String getNf() {
|
||||
return nf;
|
||||
}
|
||||
|
||||
public void setCreateuserid(Long createuserid) {
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid() {
|
||||
return createuserid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("jsid", getJsid())
|
||||
.append("nf", getNf())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxmd;
|
||||
|
||||
/**
|
||||
* 见习之星名单Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-23
|
||||
*/
|
||||
public interface TsbzJxzxmdMapper {
|
||||
/**
|
||||
* 查询见习之星名单
|
||||
*
|
||||
* @param id 见习之星名单ID
|
||||
* @return 见习之星名单
|
||||
*/
|
||||
public TsbzJxzxmd selectTsbzJxzxmdById(Long id);
|
||||
|
||||
/**
|
||||
* 查询见习之星名单列表
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 见习之星名单集合
|
||||
*/
|
||||
public List<TsbzJxzxmd> selectTsbzJxzxmdList(TsbzJxzxmd tsbzJxzxmd);
|
||||
|
||||
/**
|
||||
* 新增见习之星名单
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxzxmd(TsbzJxzxmd tsbzJxzxmd);
|
||||
|
||||
/**
|
||||
* 修改见习之星名单
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxzxmd(TsbzJxzxmd tsbzJxzxmd);
|
||||
|
||||
/**
|
||||
* 删除见习之星名单
|
||||
*
|
||||
* @param id 见习之星名单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxmdById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除见习之星名单
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxmdByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxmd;
|
||||
|
||||
/**
|
||||
* 见习之星名单Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-23
|
||||
*/
|
||||
public interface ITsbzJxzxmdService
|
||||
{
|
||||
/**
|
||||
* 查询见习之星名单
|
||||
*
|
||||
* @param id 见习之星名单ID
|
||||
* @return 见习之星名单
|
||||
*/
|
||||
public TsbzJxzxmd selectTsbzJxzxmdById(Long id);
|
||||
|
||||
/**
|
||||
* 查询见习之星名单列表
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 见习之星名单集合
|
||||
*/
|
||||
public List<TsbzJxzxmd> selectTsbzJxzxmdList(TsbzJxzxmd tsbzJxzxmd);
|
||||
|
||||
/**
|
||||
* 新增见习之星名单
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxzxmd(TsbzJxzxmd tsbzJxzxmd);
|
||||
|
||||
/**
|
||||
* 修改见习之星名单
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxzxmd(TsbzJxzxmd tsbzJxzxmd);
|
||||
|
||||
/**
|
||||
* 批量删除见习之星名单
|
||||
*
|
||||
* @param ids 需要删除的见习之星名单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxmdByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除见习之星名单信息
|
||||
*
|
||||
* @param id 见习之星名单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxmdById(Long id);
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
package com.ruoyi.jxjs.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.jxjs.mapper.TsbzJxzxmdMapper;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxmd;
|
||||
import com.ruoyi.jxjs.service.ITsbzJxzxmdService;
|
||||
|
||||
/**
|
||||
* 见习之星名单Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-23
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJxzxmdServiceImpl implements ITsbzJxzxmdService
|
||||
{
|
||||
@Autowired
|
||||
private TsbzJxzxmdMapper tsbzJxzxmdMapper;
|
||||
|
||||
/**
|
||||
* 查询见习之星名单
|
||||
*
|
||||
* @param id 见习之星名单ID
|
||||
* @return 见习之星名单
|
||||
*/
|
||||
@Override
|
||||
public TsbzJxzxmd selectTsbzJxzxmdById(Long id)
|
||||
{
|
||||
return tsbzJxzxmdMapper.selectTsbzJxzxmdById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询见习之星名单列表
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 见习之星名单
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJxzxmd> selectTsbzJxzxmdList(TsbzJxzxmd tsbzJxzxmd)
|
||||
{
|
||||
return tsbzJxzxmdMapper.selectTsbzJxzxmdList(tsbzJxzxmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增见习之星名单
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJxzxmd(TsbzJxzxmd tsbzJxzxmd)
|
||||
{
|
||||
tsbzJxzxmd.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJxzxmdMapper.insertTsbzJxzxmd(tsbzJxzxmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改见习之星名单
|
||||
*
|
||||
* @param tsbzJxzxmd 见习之星名单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJxzxmd(TsbzJxzxmd tsbzJxzxmd)
|
||||
{
|
||||
return tsbzJxzxmdMapper.updateTsbzJxzxmd(tsbzJxzxmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除见习之星名单
|
||||
*
|
||||
* @param ids 需要删除的见习之星名单ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxzxmdByIds(Long[] ids)
|
||||
{
|
||||
return tsbzJxzxmdMapper.deleteTsbzJxzxmdByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除见习之星名单信息
|
||||
*
|
||||
* @param id 见习之星名单ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxzxmdById(Long id)
|
||||
{
|
||||
return tsbzJxzxmdMapper.deleteTsbzJxzxmdById(id);
|
||||
}
|
||||
}
|
@ -28,10 +28,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="msjgmnktjxdf" column="msjgmnktjxdf" />
|
||||
<result property="yjdf" column="yjdf" />
|
||||
<result property="zhdf2" column="zhdf2" />
|
||||
<result property="lqzt" column="lqzt" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJdcxVo">
|
||||
select id, faid, jsid, dqzt, createuserid, create_time, jdxshr, jdxshzt, sbly, qjshr, qjshzt, qjshyj, jdpx, alfxdf, jasjdf, gbzdf, zhdf, cjdrcreate_time, msqr, msqrcreate_time, msjgmnktjxdf, yjdf, zhdf2 from tsbz_jdcx
|
||||
select id, faid, jsid, dqzt, createuserid, create_time, jdxshr, jdxshzt, sbly, qjshr, qjshzt, qjshyj, jdpx, alfxdf, jasjdf, gbzdf, zhdf, cjdrcreate_time, msqr, msqrcreate_time, msjgmnktjxdf, yjdf, zhdf2, lqzt from tsbz_jdcx
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJdcxList" parameterType="TsbzJdcx" resultMap="TsbzJdcxResult">
|
||||
@ -58,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="msjgmnktjxdf != null "> and msjgmnktjxdf = #{msjgmnktjxdf}</if>
|
||||
<if test="yjdf != null "> and yjdf = #{yjdf}</if>
|
||||
<if test="zhdf2 != null "> and zhdf2 = #{zhdf2}</if>
|
||||
<if test="lqzt != null and lqzt != ''"> and lqzt = #{lqzt}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@ -91,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="msjgmnktjxdf != null">msjgmnktjxdf,</if>
|
||||
<if test="yjdf != null">yjdf,</if>
|
||||
<if test="zhdf2 != null">zhdf2,</if>
|
||||
<if test="lqzt != null">lqzt,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">#{faid},</if>
|
||||
@ -115,6 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="msjgmnktjxdf != null">#{msjgmnktjxdf},</if>
|
||||
<if test="yjdf != null">#{yjdf},</if>
|
||||
<if test="zhdf2 != null">#{zhdf2},</if>
|
||||
<if test="lqzt != null">#{lqzt},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@ -143,6 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="msjgmnktjxdf != null">msjgmnktjxdf = #{msjgmnktjxdf},</if>
|
||||
<if test="yjdf != null">yjdf = #{yjdf},</if>
|
||||
<if test="zhdf2 != null">zhdf2 = #{zhdf2},</if>
|
||||
<if test="lqzt != null">lqzt = #{lqzt},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
@ -0,0 +1,71 @@
|
||||
<?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.ruoyi.jxjs.mapper.TsbzJxzxmdMapper">
|
||||
|
||||
<resultMap type="TsbzJxzxmd" id="TsbzJxzxmdResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="jsid" column="jsid" />
|
||||
<result property="nf" column="nf" />
|
||||
<result property="createuserid" column="createuserid" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJxzxmdVo">
|
||||
select id, jsid, nf, createuserid, create_time from tsbz_jxzxmd
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJxzxmdList" parameterType="TsbzJxzxmd" resultMap="TsbzJxzxmdResult">
|
||||
<include refid="selectTsbzJxzxmdVo"/>
|
||||
<where>
|
||||
<if test="jsid != null "> and jsid = #{jsid}</if>
|
||||
<if test="nf != null and nf != ''"> and nf = #{nf}</if>
|
||||
<if test="createuserid != null "> and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJxzxmdById" parameterType="Long" resultMap="TsbzJxzxmdResult">
|
||||
<include refid="selectTsbzJxzxmdVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJxzxmd" parameterType="TsbzJxzxmd" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tsbz_jxzxmd
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jsid != null">jsid,</if>
|
||||
<if test="nf != null">nf,</if>
|
||||
<if test="createuserid != null">createuserid,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="jsid != null">#{jsid},</if>
|
||||
<if test="nf != null">#{nf},</if>
|
||||
<if test="createuserid != null">#{createuserid},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJxzxmd" parameterType="TsbzJxzxmd">
|
||||
update tsbz_jxzxmd
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="jsid != null">jsid = #{jsid},</if>
|
||||
<if test="nf != null">nf = #{nf},</if>
|
||||
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJxzxmdById" parameterType="Long">
|
||||
delete from tsbz_jxzxmd where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJxzxmdByIds" parameterType="String">
|
||||
delete from tsbz_jxzxmd where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user