master
20918 12 months ago
parent b77dadeb98
commit aeb6ce5096

@ -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>

Loading…
Cancel
Save