|
|
|
@ -12,6 +12,7 @@ |
|
|
|
|
<result property="emailAddress" column="email_address" jdbcType="VARCHAR"/> |
|
|
|
|
<result property="emailPassword" column="email_password" jdbcType="VARCHAR"/> |
|
|
|
|
<result property="emailUid" column="email_uid" jdbcType="VARCHAR"/> |
|
|
|
|
<result property="createUser" column="create_user" jdbcType="VARCHAR"/> |
|
|
|
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/> |
|
|
|
|
<result property="delStatus" column="del_status" jdbcType="VARCHAR"/> |
|
|
|
|
<result property="modifyTime" column="modify_time" jdbcType="TIMESTAMP"/> |
|
|
|
@ -40,6 +41,9 @@ |
|
|
|
|
<if test="userId != null and userId != ''"> |
|
|
|
|
and user_id = #{userId} |
|
|
|
|
</if> |
|
|
|
|
<if test="createUser != null and createUser != ''"> |
|
|
|
|
and create_user = #{createUser} |
|
|
|
|
</if> |
|
|
|
|
</where> |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
@ -86,8 +90,8 @@ |
|
|
|
|
|
|
|
|
|
<!--新增所有列--> |
|
|
|
|
<insert id="insert" keyProperty="id" useGeneratedKeys="true"> |
|
|
|
|
insert into email_maintain(id, dept_id, company_code, dept_name, username, user_id, email_address, email_password, create_time, del_status, modify_time) |
|
|
|
|
values (#{id}, #{deptId}, #{companyCode}, #{deptName}, #{username}, #{userId}, #{emailAddress}, #{emailPassword}, #{createTime}, #{delStatus}, #{modifyTime}) |
|
|
|
|
insert into email_maintain(id, dept_id, company_code, dept_name, username, user_id, email_address, email_password, create_user, create_time, del_status, modify_time) |
|
|
|
|
values (#{id}, #{deptId}, #{companyCode}, #{deptName}, #{username}, #{userId}, #{emailAddress}, #{emailPassword}, #{createUser}, #{createTime}, #{delStatus}, #{modifyTime}) |
|
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
<insert id="insertBatch" keyProperty="id" useGeneratedKeys="true"> |
|
|
|
|