md
This commit is contained in:
parent
ae27244f36
commit
01aa14f069
@ -126,10 +126,9 @@
|
||||
where a.quote_id = #{quoteId}
|
||||
</select>
|
||||
|
||||
<insert id="insertEmisQuotePrice" parameterType="EmisQuotePrice">
|
||||
<insert id="insertEmisQuotePrice" parameterType="EmisQuotePrice" useGeneratedKeys="true" keyProperty="quoteId">
|
||||
insert into emis_quote_price
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="quoteId != null">quote_id,</if>
|
||||
<if test="quoteName != null and quoteName != ''">quote_name,</if>
|
||||
<if test="quoteCode != null and quoteCode != ''">quote_code,</if>
|
||||
<if test="useSiteCode != null and useSiteCode != ''">use_site_code,</if>
|
||||
@ -173,7 +172,6 @@
|
||||
<if test="updateSite != null and updateSite != ''">update_site,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="quoteId != null">#{quoteId},</if>
|
||||
<if test="quoteName != null and quoteName != ''">#{quoteName},</if>
|
||||
<if test="quoteCode != null and quoteCode != ''">#{quoteCode},</if>
|
||||
<if test="useSiteCode != null and useSiteCode != ''">#{useSiteCode},</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user