Commit 899da5fd by 陶光胜

二维码

parent ab76ffef
......@@ -36,6 +36,9 @@
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.enterprise.entity.TabQrcodeDownload">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
SELECT LAST_INSERT_ID()
</selectKey>
insert into tab_qrcode_download (id, enterprise_id, h5,
applet_ids, fwh_ids, scenes_value_ids,
type, end_time, content,
......@@ -50,6 +53,9 @@
#{fileId,jdbcType=VARCHAR}, #{qrCodeType,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.gic.enterprise.entity.TabQrcodeDownload">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer">
SELECT LAST_INSERT_ID()
</selectKey>
insert into tab_qrcode_download
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment