30 lines
972 B
XML
30 lines
972 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||
|
<mapper namespace="com.cm.common.plugin.dao.dynamic.IDynamicDataDao">
|
||
|
|
||
|
<!-- 新增动态数据 -->
|
||
|
<insert id="saveDynamicData" parameterType="map">
|
||
|
INSERT INTO ${tableName}(
|
||
|
${uuidField},
|
||
|
<foreach collection="insertFieldList" item="insertField" open="" separator="," close=",">
|
||
|
${insertField}
|
||
|
</foreach>
|
||
|
creator,
|
||
|
gmt_create,
|
||
|
modifier,
|
||
|
gmt_modified,
|
||
|
is_delete
|
||
|
) VALUES(
|
||
|
#{uuidValue},
|
||
|
<foreach collection="insertValueList" item="insertValue" open="" separator="," close=",">
|
||
|
#{insertValue}
|
||
|
</foreach>
|
||
|
#{creator},
|
||
|
#{gmtCreate},
|
||
|
#{modifier},
|
||
|
#{gmtModified},
|
||
|
#{isDelete}
|
||
|
)
|
||
|
</insert>
|
||
|
|
||
|
</mapper>
|