feat:事项
This commit is contained in:
@@ -24,4 +24,33 @@
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="operator_list" jdbcType="LONGVARCHAR" property="operatorList" />
|
||||
</resultMap>
|
||||
|
||||
<insert id="insertBatch" parameterType="java.util.List">
|
||||
INSERT INTO store_message (
|
||||
store_id,
|
||||
store_code,
|
||||
store_name,
|
||||
message_template_id,
|
||||
read_status,
|
||||
read_time,
|
||||
process_status,
|
||||
process_time,
|
||||
operator_list
|
||||
)
|
||||
VALUES
|
||||
<foreach collection="list" item="item" index="index" separator=",">
|
||||
(
|
||||
#{item.storeId,jdbcType=VARCHAR},
|
||||
#{item.storeCode,jdbcType=VARCHAR},
|
||||
#{item.storeName,jdbcType=VARCHAR},
|
||||
#{item.messageTemplateId,jdbcType=BIGINT},
|
||||
#{item.readStatus,jdbcType=BIT},
|
||||
#{item.readTime,jdbcType=TIMESTAMP},
|
||||
#{item.processStatus,jdbcType=TINYINT},
|
||||
#{item.processTime,jdbcType=TIMESTAMP},
|
||||
#{item.operatorList,jdbcType=LONGVARCHAR}
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user