|
@@ -85,7 +85,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="certType != null">cert_type = #{certType},</if>
|
|
<if test="certType != null">cert_type = #{certType},</if>
|
|
<if test="name != null and name != ''">name = #{name},</if>
|
|
<if test="name != null and name != ''">name = #{name},</if>
|
|
<if test="code != null">code = #{code},</if>
|
|
<if test="code != null">code = #{code},</if>
|
|
- <if test="certId != null and certId != ''">cert_id = #{certId},</if>
|
|
|
|
<if test="certMajor != null">cert_major = #{certMajor},</if>
|
|
<if test="certMajor != null">cert_major = #{certMajor},</if>
|
|
<if test="issueDate != null">issue_date = #{issueDate},</if>
|
|
<if test="issueDate != null">issue_date = #{issueDate},</if>
|
|
<if test="validTerm != null and validTerm != ''">valid_term = #{validTerm},</if>
|
|
<if test="validTerm != null and validTerm != ''">valid_term = #{validTerm},</if>
|
|
@@ -95,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="certContent != null">cert_content = #{certContent},</if>
|
|
<if test="certContent != null">cert_content = #{certContent},</if>
|
|
<if test="templateId != null">template_id = #{templateId},</if>
|
|
<if test="templateId != null">template_id = #{templateId},</if>
|
|
</trim>
|
|
</trim>
|
|
- where id = #{id}
|
|
|
|
|
|
+ where cert_id = #{certId}
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<delete id="deleteContractTableById" parameterType="Long">
|
|
<delete id="deleteContractTableById" parameterType="Long">
|