中间表教职工表状态是非在职或返聘的职工禁止登录学工系统
This commit is contained in:
@@ -77,17 +77,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</trim>
|
||||
</insert>
|
||||
<insert id="insertBatchSomeColumn" parameterType="java.util.List">
|
||||
insert into qgzx_teacher(name,gender,age,employee_id,dept_id,status,create_time)
|
||||
insert into qgzx_teacher(name,gender,employee_id,dept_id,status,create_time)
|
||||
values
|
||||
<foreach item="entity" collection="list" separator="," open="(" close=")">
|
||||
<foreach item="entity" collection="list" separator="," >
|
||||
(
|
||||
<if test="entity.name != null and entity.name != ''">#{entity.name},</if>
|
||||
<if test="entity.gender != null and entity.gender != ''">#{entity.gender},</if>
|
||||
<if test="entity.age!=null">#{entity.age},</if>
|
||||
<if test="entity.employeeId != null and entity.employeeId != ''">#{entity.employeeId},</if>
|
||||
<if test="entity.deptId!=null">#{entity.deptId},</if>
|
||||
<if test="entity.status != null and entity.status != ''">#{entity.status},</if>
|
||||
<if test="entity.createTime!=null">#{entity.createTime},</if>
|
||||
<if test="entity.name != null and entity.name != ''">#{entity.name}</if>,
|
||||
<if test="entity.gender != null and entity.gender != ''">#{entity.gender}</if>,
|
||||
<if test="entity.employeeId != null and entity.employeeId != ''">#{entity.employeeId}</if>,
|
||||
<if test="entity.deptId !=null">#{entity.deptId}</if>,
|
||||
<if test="entity.status != null and entity.status != ''">#{entity.status}</if>,
|
||||
<if test="entity.createTime !=null">#{entity.createTime}</if>
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
Reference in New Issue
Block a user