|
@@ -301,7 +301,7 @@
|
|
<insert id="addCmQuestionnaire" parameterType="com.caimei.modules.landing.domain.CmQuestionnaire" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="addCmQuestionnaire" parameterType="com.caimei.modules.landing.domain.CmQuestionnaire" useGeneratedKeys="true" keyProperty="id">
|
|
insert into cm_questionnaire
|
|
insert into cm_questionnaire
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
- <if test="id != null andid != ''">id,</if>
|
|
|
|
|
|
+ <if test="id != null and id != ''">id,</if>
|
|
<if test="type != null and type != ''">type,</if>
|
|
<if test="type != null and type != ''">type,</if>
|
|
<if test="userId != null">userId,</if>
|
|
<if test="userId != null">userId,</if>
|
|
<if test="userName != null and userName != ''">userName,</if>
|
|
<if test="userName != null and userName != ''">userName,</if>
|
|
@@ -316,7 +316,7 @@
|
|
<if test="remark != null and remark != ''">remark,</if>
|
|
<if test="remark != null and remark != ''">remark,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
- <if test="id != null andid != ''">#{id},</if>
|
|
|
|
|
|
+ <if test="id != null and id != ''">#{id},</if>
|
|
<if test="type != null and type != ''">#{type},</if>
|
|
<if test="type != null and type != ''">#{type},</if>
|
|
<if test="userId != null">#{userId},</if>
|
|
<if test="userId != null">#{userId},</if>
|
|
<if test="userName != null and userName != ''">#{userName},</if>
|
|
<if test="userName != null and userName != ''">#{userName},</if>
|