新增基地区级审核
This commit is contained in:
337
ruoyi-system/src/main/java/com/ruoyi/jxjs/domain/TsbzJdcx.java
Normal file
337
ruoyi-system/src/main/java/com/ruoyi/jxjs/domain/TsbzJdcx.java
Normal file
@ -0,0 +1,337 @@
|
||||
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;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 基地区级审核对象 tsbz_jdcx
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
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 */
|
||||
@Excel(name = "综合得分2")
|
||||
private BigDecimal zhdf2;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setFaid(Long faid)
|
||||
{
|
||||
this.faid = faid;
|
||||
}
|
||||
|
||||
public Long getFaid()
|
||||
{
|
||||
return faid;
|
||||
}
|
||||
public void setJsid(Long jsid)
|
||||
{
|
||||
this.jsid = jsid;
|
||||
}
|
||||
|
||||
public Long getJsid()
|
||||
{
|
||||
return jsid;
|
||||
}
|
||||
public void setDqzt(String dqzt)
|
||||
{
|
||||
this.dqzt = dqzt;
|
||||
}
|
||||
|
||||
public String getDqzt()
|
||||
{
|
||||
return dqzt;
|
||||
}
|
||||
public void setCreateuserid(Long createuserid)
|
||||
{
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid()
|
||||
{
|
||||
return createuserid;
|
||||
}
|
||||
public void setJdxshr(Long jdxshr)
|
||||
{
|
||||
this.jdxshr = jdxshr;
|
||||
}
|
||||
|
||||
public Long getJdxshr()
|
||||
{
|
||||
return jdxshr;
|
||||
}
|
||||
public void setJdxshzt(String jdxshzt)
|
||||
{
|
||||
this.jdxshzt = jdxshzt;
|
||||
}
|
||||
|
||||
public String getJdxshzt()
|
||||
{
|
||||
return jdxshzt;
|
||||
}
|
||||
public void setSbly(String sbly)
|
||||
{
|
||||
this.sbly = sbly;
|
||||
}
|
||||
|
||||
public String getSbly()
|
||||
{
|
||||
return sbly;
|
||||
}
|
||||
public void setQjshr(Long qjshr)
|
||||
{
|
||||
this.qjshr = qjshr;
|
||||
}
|
||||
|
||||
public Long getQjshr()
|
||||
{
|
||||
return qjshr;
|
||||
}
|
||||
public void setQjshzt(String qjshzt)
|
||||
{
|
||||
this.qjshzt = qjshzt;
|
||||
}
|
||||
|
||||
public String getQjshzt()
|
||||
{
|
||||
return qjshzt;
|
||||
}
|
||||
public void setQjshyj(String qjshyj)
|
||||
{
|
||||
this.qjshyj = qjshyj;
|
||||
}
|
||||
|
||||
public String getQjshyj()
|
||||
{
|
||||
return qjshyj;
|
||||
}
|
||||
public void setJdpx(Long jdpx)
|
||||
{
|
||||
this.jdpx = jdpx;
|
||||
}
|
||||
|
||||
public Long getJdpx()
|
||||
{
|
||||
return jdpx;
|
||||
}
|
||||
public void setAlfxdf(BigDecimal alfxdf)
|
||||
{
|
||||
this.alfxdf = alfxdf;
|
||||
}
|
||||
|
||||
public BigDecimal getAlfxdf()
|
||||
{
|
||||
return alfxdf;
|
||||
}
|
||||
public void setJasjdf(BigDecimal jasjdf)
|
||||
{
|
||||
this.jasjdf = jasjdf;
|
||||
}
|
||||
|
||||
public BigDecimal getJasjdf()
|
||||
{
|
||||
return jasjdf;
|
||||
}
|
||||
public void setGbzdf(BigDecimal gbzdf)
|
||||
{
|
||||
this.gbzdf = gbzdf;
|
||||
}
|
||||
|
||||
public BigDecimal getGbzdf()
|
||||
{
|
||||
return gbzdf;
|
||||
}
|
||||
public void setZhdf(BigDecimal zhdf)
|
||||
{
|
||||
this.zhdf = zhdf;
|
||||
}
|
||||
|
||||
public BigDecimal getZhdf()
|
||||
{
|
||||
return zhdf;
|
||||
}
|
||||
public void setCjdrcreateTime(Date cjdrcreateTime)
|
||||
{
|
||||
this.cjdrcreateTime = cjdrcreateTime;
|
||||
}
|
||||
|
||||
public Date getCjdrcreateTime()
|
||||
{
|
||||
return cjdrcreateTime;
|
||||
}
|
||||
public void setMsqr(String msqr)
|
||||
{
|
||||
this.msqr = msqr;
|
||||
}
|
||||
|
||||
public String getMsqr()
|
||||
{
|
||||
return msqr;
|
||||
}
|
||||
public void setMsqrcreateTime(Date msqrcreateTime)
|
||||
{
|
||||
this.msqrcreateTime = msqrcreateTime;
|
||||
}
|
||||
|
||||
public Date getMsqrcreateTime()
|
||||
{
|
||||
return msqrcreateTime;
|
||||
}
|
||||
public void setMsjgmnktjxdf(BigDecimal msjgmnktjxdf)
|
||||
{
|
||||
this.msjgmnktjxdf = msjgmnktjxdf;
|
||||
}
|
||||
|
||||
public BigDecimal getMsjgmnktjxdf()
|
||||
{
|
||||
return msjgmnktjxdf;
|
||||
}
|
||||
public void setYjdf(BigDecimal yjdf)
|
||||
{
|
||||
this.yjdf = yjdf;
|
||||
}
|
||||
|
||||
public BigDecimal getYjdf()
|
||||
{
|
||||
return yjdf;
|
||||
}
|
||||
public void setZhdf2(BigDecimal zhdf2)
|
||||
{
|
||||
this.zhdf2 = zhdf2;
|
||||
}
|
||||
|
||||
public BigDecimal getZhdf2()
|
||||
{
|
||||
return zhdf2;
|
||||
}
|
||||
|
||||
@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();
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||
|
||||
/**
|
||||
* 基地区级审核Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
public interface TsbzJdcxMapper
|
||||
{
|
||||
/**
|
||||
* 查询基地区级审核
|
||||
*
|
||||
* @param id 基地区级审核ID
|
||||
* @return 基地区级审核
|
||||
*/
|
||||
public TsbzJdcx selectTsbzJdcxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询基地区级审核列表
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 基地区级审核集合
|
||||
*/
|
||||
public List<TsbzJdcx> selectTsbzJdcxList(TsbzJdcx tsbzJdcx);
|
||||
|
||||
/**
|
||||
* 新增基地区级审核
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||
|
||||
/**
|
||||
* 修改基地区级审核
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||
|
||||
/**
|
||||
* 删除基地区级审核
|
||||
*
|
||||
* @param id 基地区级审核ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJdcxById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除基地区级审核
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJdcxByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||
|
||||
/**
|
||||
* 基地区级审核Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
public interface ITsbzJdcxService
|
||||
{
|
||||
/**
|
||||
* 查询基地区级审核
|
||||
*
|
||||
* @param id 基地区级审核ID
|
||||
* @return 基地区级审核
|
||||
*/
|
||||
public TsbzJdcx selectTsbzJdcxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询基地区级审核列表
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 基地区级审核集合
|
||||
*/
|
||||
public List<TsbzJdcx> selectTsbzJdcxList(TsbzJdcx tsbzJdcx);
|
||||
|
||||
/**
|
||||
* 新增基地区级审核
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||
|
||||
/**
|
||||
* 修改基地区级审核
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJdcx(TsbzJdcx tsbzJdcx);
|
||||
|
||||
/**
|
||||
* 批量删除基地区级审核
|
||||
*
|
||||
* @param ids 需要删除的基地区级审核ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJdcxByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除基地区级审核信息
|
||||
*
|
||||
* @param id 基地区级审核ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJdcxById(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.TsbzJdcxMapper;
|
||||
import com.ruoyi.jxjs.domain.TsbzJdcx;
|
||||
import com.ruoyi.jxjs.service.ITsbzJdcxService;
|
||||
|
||||
/**
|
||||
* 基地区级审核Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJdcxServiceImpl implements ITsbzJdcxService
|
||||
{
|
||||
@Autowired
|
||||
private TsbzJdcxMapper tsbzJdcxMapper;
|
||||
|
||||
/**
|
||||
* 查询基地区级审核
|
||||
*
|
||||
* @param id 基地区级审核ID
|
||||
* @return 基地区级审核
|
||||
*/
|
||||
@Override
|
||||
public TsbzJdcx selectTsbzJdcxById(Long id)
|
||||
{
|
||||
return tsbzJdcxMapper.selectTsbzJdcxById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询基地区级审核列表
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 基地区级审核
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJdcx> selectTsbzJdcxList(TsbzJdcx tsbzJdcx)
|
||||
{
|
||||
return tsbzJdcxMapper.selectTsbzJdcxList(tsbzJdcx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增基地区级审核
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJdcx(TsbzJdcx tsbzJdcx)
|
||||
{
|
||||
tsbzJdcx.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJdcxMapper.insertTsbzJdcx(tsbzJdcx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改基地区级审核
|
||||
*
|
||||
* @param tsbzJdcx 基地区级审核
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJdcx(TsbzJdcx tsbzJdcx)
|
||||
{
|
||||
return tsbzJdcxMapper.updateTsbzJdcx(tsbzJdcx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除基地区级审核
|
||||
*
|
||||
* @param ids 需要删除的基地区级审核ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJdcxByIds(Long[] ids)
|
||||
{
|
||||
return tsbzJdcxMapper.deleteTsbzJdcxByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除基地区级审核信息
|
||||
*
|
||||
* @param id 基地区级审核ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJdcxById(Long id)
|
||||
{
|
||||
return tsbzJdcxMapper.deleteTsbzJdcxById(id);
|
||||
}
|
||||
}
|
161
ruoyi-system/src/main/resources/mapper/jxjs/TsbzJdcxMapper.xml
Normal file
161
ruoyi-system/src/main/resources/mapper/jxjs/TsbzJdcxMapper.xml
Normal file
@ -0,0 +1,161 @@
|
||||
<?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.TsbzJdcxMapper">
|
||||
|
||||
<resultMap type="TsbzJdcx" id="TsbzJdcxResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="faid" column="faid" />
|
||||
<result property="jsid" column="jsid" />
|
||||
<result property="dqzt" column="dqzt" />
|
||||
<result property="createuserid" column="createuserid" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="jdxshr" column="jdxshr" />
|
||||
<result property="jdxshzt" column="jdxshzt" />
|
||||
<result property="sbly" column="sbly" />
|
||||
<result property="qjshr" column="qjshr" />
|
||||
<result property="qjshzt" column="qjshzt" />
|
||||
<result property="qjshyj" column="qjshyj" />
|
||||
<result property="jdpx" column="jdpx" />
|
||||
<result property="alfxdf" column="alfxdf" />
|
||||
<result property="jasjdf" column="jasjdf" />
|
||||
<result property="gbzdf" column="gbzdf" />
|
||||
<result property="zhdf" column="zhdf" />
|
||||
<result property="cjdrcreateTime" column="cjdrcreate_time" />
|
||||
<result property="msqr" column="msqr" />
|
||||
<result property="msqrcreateTime" column="msqrcreate_time" />
|
||||
<result property="msjgmnktjxdf" column="msjgmnktjxdf" />
|
||||
<result property="yjdf" column="yjdf" />
|
||||
<result property="zhdf2" column="zhdf2" />
|
||||
</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
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJdcxList" parameterType="TsbzJdcx" resultMap="TsbzJdcxResult">
|
||||
<include refid="selectTsbzJdcxVo"/>
|
||||
<where>
|
||||
<if test="faid != null "> and faid = #{faid}</if>
|
||||
<if test="jsid != null "> and jsid = #{jsid}</if>
|
||||
<if test="dqzt != null and dqzt != ''"> and dqzt = #{dqzt}</if>
|
||||
<if test="createuserid != null "> and createuserid = #{createuserid}</if>
|
||||
<if test="jdxshr != null "> and jdxshr = #{jdxshr}</if>
|
||||
<if test="jdxshzt != null and jdxshzt != ''"> and jdxshzt = #{jdxshzt}</if>
|
||||
<if test="sbly != null and sbly != ''"> and sbly = #{sbly}</if>
|
||||
<if test="qjshr != null "> and qjshr = #{qjshr}</if>
|
||||
<if test="qjshzt != null and qjshzt != ''"> and qjshzt = #{qjshzt}</if>
|
||||
<if test="qjshyj != null and qjshyj != ''"> and qjshyj = #{qjshyj}</if>
|
||||
<if test="jdpx != null "> and jdpx = #{jdpx}</if>
|
||||
<if test="alfxdf != null "> and alfxdf = #{alfxdf}</if>
|
||||
<if test="jasjdf != null "> and jasjdf = #{jasjdf}</if>
|
||||
<if test="gbzdf != null "> and gbzdf = #{gbzdf}</if>
|
||||
<if test="zhdf != null "> and zhdf = #{zhdf}</if>
|
||||
<if test="cjdrcreateTime != null "> and cjdrcreate_time = #{cjdrcreateTime}</if>
|
||||
<if test="msqr != null and msqr != ''"> and msqr = #{msqr}</if>
|
||||
<if test="msqrcreateTime != null "> and msqrcreate_time = #{msqrcreateTime}</if>
|
||||
<if test="msjgmnktjxdf != null "> and msjgmnktjxdf = #{msjgmnktjxdf}</if>
|
||||
<if test="yjdf != null "> and yjdf = #{yjdf}</if>
|
||||
<if test="zhdf2 != null "> and zhdf2 = #{zhdf2}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJdcxById" parameterType="Long" resultMap="TsbzJdcxResult">
|
||||
<include refid="selectTsbzJdcxVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJdcx" parameterType="TsbzJdcx" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tsbz_jdcx
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">faid,</if>
|
||||
<if test="jsid != null">jsid,</if>
|
||||
<if test="dqzt != null">dqzt,</if>
|
||||
<if test="createuserid != null">createuserid,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="jdxshr != null">jdxshr,</if>
|
||||
<if test="jdxshzt != null">jdxshzt,</if>
|
||||
<if test="sbly != null">sbly,</if>
|
||||
<if test="qjshr != null">qjshr,</if>
|
||||
<if test="qjshzt != null">qjshzt,</if>
|
||||
<if test="qjshyj != null">qjshyj,</if>
|
||||
<if test="jdpx != null">jdpx,</if>
|
||||
<if test="alfxdf != null">alfxdf,</if>
|
||||
<if test="jasjdf != null">jasjdf,</if>
|
||||
<if test="gbzdf != null">gbzdf,</if>
|
||||
<if test="zhdf != null">zhdf,</if>
|
||||
<if test="cjdrcreateTime != null">cjdrcreate_time,</if>
|
||||
<if test="msqr != null">msqr,</if>
|
||||
<if test="msqrcreateTime != null">msqrcreate_time,</if>
|
||||
<if test="msjgmnktjxdf != null">msjgmnktjxdf,</if>
|
||||
<if test="yjdf != null">yjdf,</if>
|
||||
<if test="zhdf2 != null">zhdf2,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">#{faid},</if>
|
||||
<if test="jsid != null">#{jsid},</if>
|
||||
<if test="dqzt != null">#{dqzt},</if>
|
||||
<if test="createuserid != null">#{createuserid},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="jdxshr != null">#{jdxshr},</if>
|
||||
<if test="jdxshzt != null">#{jdxshzt},</if>
|
||||
<if test="sbly != null">#{sbly},</if>
|
||||
<if test="qjshr != null">#{qjshr},</if>
|
||||
<if test="qjshzt != null">#{qjshzt},</if>
|
||||
<if test="qjshyj != null">#{qjshyj},</if>
|
||||
<if test="jdpx != null">#{jdpx},</if>
|
||||
<if test="alfxdf != null">#{alfxdf},</if>
|
||||
<if test="jasjdf != null">#{jasjdf},</if>
|
||||
<if test="gbzdf != null">#{gbzdf},</if>
|
||||
<if test="zhdf != null">#{zhdf},</if>
|
||||
<if test="cjdrcreateTime != null">#{cjdrcreateTime},</if>
|
||||
<if test="msqr != null">#{msqr},</if>
|
||||
<if test="msqrcreateTime != null">#{msqrcreateTime},</if>
|
||||
<if test="msjgmnktjxdf != null">#{msjgmnktjxdf},</if>
|
||||
<if test="yjdf != null">#{yjdf},</if>
|
||||
<if test="zhdf2 != null">#{zhdf2},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJdcx" parameterType="TsbzJdcx">
|
||||
update tsbz_jdcx
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="faid != null">faid = #{faid},</if>
|
||||
<if test="jsid != null">jsid = #{jsid},</if>
|
||||
<if test="dqzt != null">dqzt = #{dqzt},</if>
|
||||
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="jdxshr != null">jdxshr = #{jdxshr},</if>
|
||||
<if test="jdxshzt != null">jdxshzt = #{jdxshzt},</if>
|
||||
<if test="sbly != null">sbly = #{sbly},</if>
|
||||
<if test="qjshr != null">qjshr = #{qjshr},</if>
|
||||
<if test="qjshzt != null">qjshzt = #{qjshzt},</if>
|
||||
<if test="qjshyj != null">qjshyj = #{qjshyj},</if>
|
||||
<if test="jdpx != null">jdpx = #{jdpx},</if>
|
||||
<if test="alfxdf != null">alfxdf = #{alfxdf},</if>
|
||||
<if test="jasjdf != null">jasjdf = #{jasjdf},</if>
|
||||
<if test="gbzdf != null">gbzdf = #{gbzdf},</if>
|
||||
<if test="zhdf != null">zhdf = #{zhdf},</if>
|
||||
<if test="cjdrcreateTime != null">cjdrcreate_time = #{cjdrcreateTime},</if>
|
||||
<if test="msqr != null">msqr = #{msqr},</if>
|
||||
<if test="msqrcreateTime != null">msqrcreate_time = #{msqrcreateTime},</if>
|
||||
<if test="msjgmnktjxdf != null">msjgmnktjxdf = #{msjgmnktjxdf},</if>
|
||||
<if test="yjdf != null">yjdf = #{yjdf},</if>
|
||||
<if test="zhdf2 != null">zhdf2 = #{zhdf2},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJdcxById" parameterType="Long">
|
||||
delete from tsbz_jdcx where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJdcxByIds" parameterType="String">
|
||||
delete from tsbz_jdcx where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user