<if test="batchNo != null">
BATCH_NO,
</if>
<if test="seqNo != null">
SEQ_NO,
</if>
<if test="contractNo != null">
CONTRACT_NO,
</if>
<if test="prodType != null">
PROD_TYPE,
</if>
<if test="discSubType != null">
DISC_SUB_TYPE,
</if>
</trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="batchNo != null">
#{batchNo,jdbcType=VARCHAR},
</if>
<if test="seqNo != null">
#{seqNo,jdbcType=VARCHAR},
</if>
<if test="contractNo != null">
#{contractNo,jdbcType=VARCHAR},
</if>
<if test="prodType != null">
#{prodType,jdbcType=VARCHAR},
</if>
<if test="discSubType != null">
#{discSubType,jdbcType=VARCHAR},
</if>
</trim> </insert>
insertSql语句中的trim标签的使用
标签:prefix har rac into efi 标签 nbsp style ide