新增见习教师基本信息
This commit is contained in:
@ -0,0 +1,335 @@
|
||||
package com.ruoyi.jxjs.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 见习教师基本信息对象 tsbz_jxjsjbxx
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
public class TsbzJxjsjbxx extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 标识 */
|
||||
private Long id;
|
||||
|
||||
/** 其他系统id */
|
||||
@Excel(name = "其他系统id")
|
||||
private String otherid;
|
||||
|
||||
/** 姓名 */
|
||||
@Excel(name = "姓名")
|
||||
private String name;
|
||||
|
||||
/** 进修编号 */
|
||||
@Excel(name = "进修编号")
|
||||
private String jxbh;
|
||||
|
||||
/** 性别 */
|
||||
@Excel(name = "性别")
|
||||
private String xb;
|
||||
|
||||
/** 出生日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date csrq;
|
||||
|
||||
/** 电子邮件 */
|
||||
@Excel(name = "电子邮件")
|
||||
private String email;
|
||||
|
||||
/** 联系电话 */
|
||||
@Excel(name = "联系电话")
|
||||
private String phone;
|
||||
|
||||
/** 邮编 */
|
||||
@Excel(name = "邮编")
|
||||
private String yzbm;
|
||||
|
||||
/** 政治面貌 */
|
||||
@Excel(name = "政治面貌")
|
||||
private String zzmm;
|
||||
|
||||
/** 民族 */
|
||||
@Excel(name = "民族")
|
||||
private String mz;
|
||||
|
||||
/** 聘任单位 */
|
||||
@Excel(name = "聘任单位")
|
||||
private String prdwid;
|
||||
|
||||
/** 聘任单位名称 */
|
||||
@Excel(name = "聘任单位名称")
|
||||
private String prdwmc;
|
||||
|
||||
/** 基地校 */
|
||||
@Excel(name = "基地校")
|
||||
private String jdxid;
|
||||
|
||||
/** 任教学段 */
|
||||
@Excel(name = "任教学段")
|
||||
private String rjxd;
|
||||
|
||||
/** 任教学科 */
|
||||
@Excel(name = "任教学科")
|
||||
private String rjxk;
|
||||
|
||||
/** 任教年级 */
|
||||
@Excel(name = "任教年级")
|
||||
private String rjnj;
|
||||
|
||||
/** 毕业院校 */
|
||||
@Excel(name = "毕业院校")
|
||||
private String byyx;
|
||||
|
||||
/** 学历 */
|
||||
@Excel(name = "学历")
|
||||
private String xl;
|
||||
|
||||
/** 学位 */
|
||||
@Excel(name = "学位")
|
||||
private String xw;
|
||||
|
||||
/** 是否师范生 */
|
||||
@Excel(name = "是否师范生")
|
||||
private String sfsfs;
|
||||
|
||||
/** 录取年份 */
|
||||
@Excel(name = "录取年份")
|
||||
private String lqnf;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setOtherid(String otherid)
|
||||
{
|
||||
this.otherid = otherid;
|
||||
}
|
||||
|
||||
public String getOtherid()
|
||||
{
|
||||
return otherid;
|
||||
}
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
public void setJxbh(String jxbh)
|
||||
{
|
||||
this.jxbh = jxbh;
|
||||
}
|
||||
|
||||
public String getJxbh()
|
||||
{
|
||||
return jxbh;
|
||||
}
|
||||
public void setXb(String xb)
|
||||
{
|
||||
this.xb = xb;
|
||||
}
|
||||
|
||||
public String getXb()
|
||||
{
|
||||
return xb;
|
||||
}
|
||||
public void setCsrq(Date csrq)
|
||||
{
|
||||
this.csrq = csrq;
|
||||
}
|
||||
|
||||
public Date getCsrq()
|
||||
{
|
||||
return csrq;
|
||||
}
|
||||
public void setEmail(String email)
|
||||
{
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getEmail()
|
||||
{
|
||||
return email;
|
||||
}
|
||||
public void setPhone(String phone)
|
||||
{
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getPhone()
|
||||
{
|
||||
return phone;
|
||||
}
|
||||
public void setYzbm(String yzbm)
|
||||
{
|
||||
this.yzbm = yzbm;
|
||||
}
|
||||
|
||||
public String getYzbm()
|
||||
{
|
||||
return yzbm;
|
||||
}
|
||||
public void setZzmm(String zzmm)
|
||||
{
|
||||
this.zzmm = zzmm;
|
||||
}
|
||||
|
||||
public String getZzmm()
|
||||
{
|
||||
return zzmm;
|
||||
}
|
||||
public void setMz(String mz)
|
||||
{
|
||||
this.mz = mz;
|
||||
}
|
||||
|
||||
public String getMz()
|
||||
{
|
||||
return mz;
|
||||
}
|
||||
public void setPrdwid(String prdwid)
|
||||
{
|
||||
this.prdwid = prdwid;
|
||||
}
|
||||
|
||||
public String getPrdwid()
|
||||
{
|
||||
return prdwid;
|
||||
}
|
||||
public void setPrdwmc(String prdwmc)
|
||||
{
|
||||
this.prdwmc = prdwmc;
|
||||
}
|
||||
|
||||
public String getPrdwmc()
|
||||
{
|
||||
return prdwmc;
|
||||
}
|
||||
public void setJdxid(String jdxid)
|
||||
{
|
||||
this.jdxid = jdxid;
|
||||
}
|
||||
|
||||
public String getJdxid()
|
||||
{
|
||||
return jdxid;
|
||||
}
|
||||
public void setRjxd(String rjxd)
|
||||
{
|
||||
this.rjxd = rjxd;
|
||||
}
|
||||
|
||||
public String getRjxd()
|
||||
{
|
||||
return rjxd;
|
||||
}
|
||||
public void setRjxk(String rjxk)
|
||||
{
|
||||
this.rjxk = rjxk;
|
||||
}
|
||||
|
||||
public String getRjxk()
|
||||
{
|
||||
return rjxk;
|
||||
}
|
||||
public void setRjnj(String rjnj)
|
||||
{
|
||||
this.rjnj = rjnj;
|
||||
}
|
||||
|
||||
public String getRjnj()
|
||||
{
|
||||
return rjnj;
|
||||
}
|
||||
public void setByyx(String byyx)
|
||||
{
|
||||
this.byyx = byyx;
|
||||
}
|
||||
|
||||
public String getByyx()
|
||||
{
|
||||
return byyx;
|
||||
}
|
||||
public void setXl(String xl)
|
||||
{
|
||||
this.xl = xl;
|
||||
}
|
||||
|
||||
public String getXl()
|
||||
{
|
||||
return xl;
|
||||
}
|
||||
public void setXw(String xw)
|
||||
{
|
||||
this.xw = xw;
|
||||
}
|
||||
|
||||
public String getXw()
|
||||
{
|
||||
return xw;
|
||||
}
|
||||
public void setSfsfs(String sfsfs)
|
||||
{
|
||||
this.sfsfs = sfsfs;
|
||||
}
|
||||
|
||||
public String getSfsfs()
|
||||
{
|
||||
return sfsfs;
|
||||
}
|
||||
public void setLqnf(String lqnf)
|
||||
{
|
||||
this.lqnf = lqnf;
|
||||
}
|
||||
|
||||
public String getLqnf()
|
||||
{
|
||||
return lqnf;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("otherid", getOtherid())
|
||||
.append("name", getName())
|
||||
.append("jxbh", getJxbh())
|
||||
.append("xb", getXb())
|
||||
.append("csrq", getCsrq())
|
||||
.append("email", getEmail())
|
||||
.append("phone", getPhone())
|
||||
.append("yzbm", getYzbm())
|
||||
.append("zzmm", getZzmm())
|
||||
.append("mz", getMz())
|
||||
.append("prdwid", getPrdwid())
|
||||
.append("prdwmc", getPrdwmc())
|
||||
.append("jdxid", getJdxid())
|
||||
.append("rjxd", getRjxd())
|
||||
.append("rjxk", getRjxk())
|
||||
.append("rjnj", getRjnj())
|
||||
.append("byyx", getByyx())
|
||||
.append("xl", getXl())
|
||||
.append("xw", getXw())
|
||||
.append("sfsfs", getSfsfs())
|
||||
.append("lqnf", getLqnf())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.ruoyi.jxjs.mapper;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJxjsjbxx;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 见习教师基本信息Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
public interface TsbzJxjsjbxxMapper
|
||||
{
|
||||
/**
|
||||
* 查询见习教师基本信息
|
||||
*
|
||||
* @param id 见习教师基本信息ID
|
||||
* @return 见习教师基本信息
|
||||
*/
|
||||
public TsbzJxjsjbxx selectTsbzJxjsjbxxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询见习教师基本信息列表
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 见习教师基本信息集合
|
||||
*/
|
||||
public List<TsbzJxjsjbxx> selectTsbzJxjsjbxxList(TsbzJxjsjbxx tsbzJxjsjbxx);
|
||||
|
||||
/**
|
||||
* 新增见习教师基本信息
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxjsjbxx(TsbzJxjsjbxx tsbzJxjsjbxx);
|
||||
|
||||
/**
|
||||
* 修改见习教师基本信息
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxjsjbxx(TsbzJxjsjbxx tsbzJxjsjbxx);
|
||||
|
||||
/**
|
||||
* 删除见习教师基本信息
|
||||
*
|
||||
* @param id 见习教师基本信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxjsjbxxById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除见习教师基本信息
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxjsjbxxByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxjsjbxx;
|
||||
|
||||
/**
|
||||
* 见习教师基本信息Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
public interface ITsbzJxjsjbxxService
|
||||
{
|
||||
/**
|
||||
* 查询见习教师基本信息
|
||||
*
|
||||
* @param id 见习教师基本信息ID
|
||||
* @return 见习教师基本信息
|
||||
*/
|
||||
public TsbzJxjsjbxx selectTsbzJxjsjbxxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询见习教师基本信息列表
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 见习教师基本信息集合
|
||||
*/
|
||||
public List<TsbzJxjsjbxx> selectTsbzJxjsjbxxList(TsbzJxjsjbxx tsbzJxjsjbxx);
|
||||
|
||||
/**
|
||||
* 新增见习教师基本信息
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxjsjbxx(TsbzJxjsjbxx tsbzJxjsjbxx);
|
||||
|
||||
/**
|
||||
* 修改见习教师基本信息
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxjsjbxx(TsbzJxjsjbxx tsbzJxjsjbxx);
|
||||
|
||||
/**
|
||||
* 批量删除见习教师基本信息
|
||||
*
|
||||
* @param ids 需要删除的见习教师基本信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxjsjbxxByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除见习教师基本信息信息
|
||||
*
|
||||
* @param id 见习教师基本信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxjsjbxxById(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.TsbzJxjsjbxxMapper;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxjsjbxx;
|
||||
import com.ruoyi.jxjs.service.ITsbzJxjsjbxxService;
|
||||
|
||||
/**
|
||||
* 见习教师基本信息Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-20
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJxjsjbxxServiceImpl implements ITsbzJxjsjbxxService
|
||||
{
|
||||
@Autowired
|
||||
private TsbzJxjsjbxxMapper tsbzJxjsjbxxMapper;
|
||||
|
||||
/**
|
||||
* 查询见习教师基本信息
|
||||
*
|
||||
* @param id 见习教师基本信息ID
|
||||
* @return 见习教师基本信息
|
||||
*/
|
||||
@Override
|
||||
public TsbzJxjsjbxx selectTsbzJxjsjbxxById(Long id)
|
||||
{
|
||||
return tsbzJxjsjbxxMapper.selectTsbzJxjsjbxxById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询见习教师基本信息列表
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 见习教师基本信息
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJxjsjbxx> selectTsbzJxjsjbxxList(TsbzJxjsjbxx tsbzJxjsjbxx)
|
||||
{
|
||||
return tsbzJxjsjbxxMapper.selectTsbzJxjsjbxxList(tsbzJxjsjbxx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增见习教师基本信息
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJxjsjbxx(TsbzJxjsjbxx tsbzJxjsjbxx)
|
||||
{
|
||||
tsbzJxjsjbxx.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJxjsjbxxMapper.insertTsbzJxjsjbxx(tsbzJxjsjbxx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改见习教师基本信息
|
||||
*
|
||||
* @param tsbzJxjsjbxx 见习教师基本信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJxjsjbxx(TsbzJxjsjbxx tsbzJxjsjbxx)
|
||||
{
|
||||
return tsbzJxjsjbxxMapper.updateTsbzJxjsjbxx(tsbzJxjsjbxx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除见习教师基本信息
|
||||
*
|
||||
* @param ids 需要删除的见习教师基本信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxjsjbxxByIds(Long[] ids)
|
||||
{
|
||||
return tsbzJxjsjbxxMapper.deleteTsbzJxjsjbxxByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除见习教师基本信息信息
|
||||
*
|
||||
* @param id 见习教师基本信息ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxjsjbxxById(Long id)
|
||||
{
|
||||
return tsbzJxjsjbxxMapper.deleteTsbzJxjsjbxxById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,163 @@
|
||||
<?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.TsbzJxjsjbxxMapper">
|
||||
|
||||
<resultMap type="TsbzJxjsjbxx" id="TsbzJxjsjbxxResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="otherid" column="otherid" />
|
||||
<result property="name" column="name" />
|
||||
<result property="jxbh" column="jxbh" />
|
||||
<result property="xb" column="xb" />
|
||||
<result property="csrq" column="csrq" />
|
||||
<result property="email" column="email" />
|
||||
<result property="phone" column="phone" />
|
||||
<result property="yzbm" column="yzbm" />
|
||||
<result property="zzmm" column="zzmm" />
|
||||
<result property="mz" column="mz" />
|
||||
<result property="prdwid" column="prdwid" />
|
||||
<result property="prdwmc" column="prdwmc" />
|
||||
<result property="jdxid" column="jdxid" />
|
||||
<result property="rjxd" column="rjxd" />
|
||||
<result property="rjxk" column="rjxk" />
|
||||
<result property="rjnj" column="rjnj" />
|
||||
<result property="byyx" column="byyx" />
|
||||
<result property="xl" column="xl" />
|
||||
<result property="xw" column="xw" />
|
||||
<result property="sfsfs" column="sfsfs" />
|
||||
<result property="lqnf" column="lqnf" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJxjsjbxxVo">
|
||||
select id, otherid, name, jxbh, xb, csrq, email, phone, yzbm, zzmm, mz, prdwid, prdwmc, jdxid, rjxd, rjxk, rjnj, byyx, xl, xw, sfsfs, lqnf, create_time from tsbz_jxjsjbxx
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJxjsjbxxList" parameterType="TsbzJxjsjbxx" resultMap="TsbzJxjsjbxxResult">
|
||||
<include refid="selectTsbzJxjsjbxxVo"/>
|
||||
<where>
|
||||
<if test="otherid != null and otherid != ''"> and otherid = #{otherid}</if>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="jxbh != null and jxbh != ''"> and jxbh = #{jxbh}</if>
|
||||
<if test="xb != null and xb != ''"> and xb = #{xb}</if>
|
||||
<if test="csrq != null "> and csrq = #{csrq}</if>
|
||||
<if test="email != null and email != ''"> and email = #{email}</if>
|
||||
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
||||
<if test="yzbm != null and yzbm != ''"> and yzbm = #{yzbm}</if>
|
||||
<if test="zzmm != null and zzmm != ''"> and zzmm = #{zzmm}</if>
|
||||
<if test="mz != null and mz != ''"> and mz = #{mz}</if>
|
||||
<if test="prdwid != null and prdwid != ''"> and prdwid = #{prdwid}</if>
|
||||
<if test="prdwmc != null and prdwmc != ''"> and prdwmc = #{prdwmc}</if>
|
||||
<if test="jdxid != null and jdxid != ''"> and jdxid = #{jdxid}</if>
|
||||
<if test="rjxd != null and rjxd != ''"> and rjxd = #{rjxd}</if>
|
||||
<if test="rjxk != null and rjxk != ''"> and rjxk = #{rjxk}</if>
|
||||
<if test="rjnj != null and rjnj != ''"> and rjnj = #{rjnj}</if>
|
||||
<if test="byyx != null and byyx != ''"> and byyx = #{byyx}</if>
|
||||
<if test="xl != null and xl != ''"> and xl = #{xl}</if>
|
||||
<if test="xw != null and xw != ''"> and xw = #{xw}</if>
|
||||
<if test="sfsfs != null and sfsfs != ''"> and sfsfs = #{sfsfs}</if>
|
||||
<if test="lqnf != null and lqnf != ''"> and lqnf = #{lqnf}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJxjsjbxxById" parameterType="Long" resultMap="TsbzJxjsjbxxResult">
|
||||
<include refid="selectTsbzJxjsjbxxVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJxjsjbxx" parameterType="TsbzJxjsjbxx">
|
||||
insert into tsbz_jxjsjbxx
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="otherid != null">otherid,</if>
|
||||
<if test="name != null">name,</if>
|
||||
<if test="jxbh != null">jxbh,</if>
|
||||
<if test="xb != null">xb,</if>
|
||||
<if test="csrq != null">csrq,</if>
|
||||
<if test="email != null">email,</if>
|
||||
<if test="phone != null">phone,</if>
|
||||
<if test="yzbm != null">yzbm,</if>
|
||||
<if test="zzmm != null">zzmm,</if>
|
||||
<if test="mz != null">mz,</if>
|
||||
<if test="prdwid != null">prdwid,</if>
|
||||
<if test="prdwmc != null">prdwmc,</if>
|
||||
<if test="jdxid != null">jdxid,</if>
|
||||
<if test="rjxd != null">rjxd,</if>
|
||||
<if test="rjxk != null">rjxk,</if>
|
||||
<if test="rjnj != null">rjnj,</if>
|
||||
<if test="byyx != null">byyx,</if>
|
||||
<if test="xl != null">xl,</if>
|
||||
<if test="xw != null">xw,</if>
|
||||
<if test="sfsfs != null">sfsfs,</if>
|
||||
<if test="lqnf != null">lqnf,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="otherid != null">#{otherid},</if>
|
||||
<if test="name != null">#{name},</if>
|
||||
<if test="jxbh != null">#{jxbh},</if>
|
||||
<if test="xb != null">#{xb},</if>
|
||||
<if test="csrq != null">#{csrq},</if>
|
||||
<if test="email != null">#{email},</if>
|
||||
<if test="phone != null">#{phone},</if>
|
||||
<if test="yzbm != null">#{yzbm},</if>
|
||||
<if test="zzmm != null">#{zzmm},</if>
|
||||
<if test="mz != null">#{mz},</if>
|
||||
<if test="prdwid != null">#{prdwid},</if>
|
||||
<if test="prdwmc != null">#{prdwmc},</if>
|
||||
<if test="jdxid != null">#{jdxid},</if>
|
||||
<if test="rjxd != null">#{rjxd},</if>
|
||||
<if test="rjxk != null">#{rjxk},</if>
|
||||
<if test="rjnj != null">#{rjnj},</if>
|
||||
<if test="byyx != null">#{byyx},</if>
|
||||
<if test="xl != null">#{xl},</if>
|
||||
<if test="xw != null">#{xw},</if>
|
||||
<if test="sfsfs != null">#{sfsfs},</if>
|
||||
<if test="lqnf != null">#{lqnf},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJxjsjbxx" parameterType="TsbzJxjsjbxx">
|
||||
update tsbz_jxjsjbxx
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="otherid != null">otherid = #{otherid},</if>
|
||||
<if test="name != null">name = #{name},</if>
|
||||
<if test="jxbh != null">jxbh = #{jxbh},</if>
|
||||
<if test="xb != null">xb = #{xb},</if>
|
||||
<if test="csrq != null">csrq = #{csrq},</if>
|
||||
<if test="email != null">email = #{email},</if>
|
||||
<if test="phone != null">phone = #{phone},</if>
|
||||
<if test="yzbm != null">yzbm = #{yzbm},</if>
|
||||
<if test="zzmm != null">zzmm = #{zzmm},</if>
|
||||
<if test="mz != null">mz = #{mz},</if>
|
||||
<if test="prdwid != null">prdwid = #{prdwid},</if>
|
||||
<if test="prdwmc != null">prdwmc = #{prdwmc},</if>
|
||||
<if test="jdxid != null">jdxid = #{jdxid},</if>
|
||||
<if test="rjxd != null">rjxd = #{rjxd},</if>
|
||||
<if test="rjxk != null">rjxk = #{rjxk},</if>
|
||||
<if test="rjnj != null">rjnj = #{rjnj},</if>
|
||||
<if test="byyx != null">byyx = #{byyx},</if>
|
||||
<if test="xl != null">xl = #{xl},</if>
|
||||
<if test="xw != null">xw = #{xw},</if>
|
||||
<if test="sfsfs != null">sfsfs = #{sfsfs},</if>
|
||||
<if test="lqnf != null">lqnf = #{lqnf},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJxjsjbxxById" parameterType="Long">
|
||||
delete from tsbz_jxjsjbxx where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJxjsjbxxByIds" parameterType="String">
|
||||
delete from tsbz_jxjsjbxx where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user