|
|
|
@ -50,8 +50,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<insert id="insertTdLeave" parameterType="TdLeave" useGeneratedKeys="true" keyProperty="id">
|
|
|
|
|
insert into td_leave
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="userId != null">userId,</if>
|
|
|
|
|
<if test="userName != null">userName,</if>
|
|
|
|
|
<if test="userId != null">user_id,</if>
|
|
|
|
|
<if test="userName != null">user_name,</if>
|
|
|
|
|
<if test="country != null">country,</if>
|
|
|
|
|
<if test="areaname != null">areaname,</if>
|
|
|
|
|
<if test="leavereason != null">leavereason,</if>
|
|
|
|
|