| | |
| | | </foreach> |
| | | </insert> |
| | | |
| | | <!--<insert id="insertByBaseModel" parameterType="java.util.Map"> |
| | | <foreach collection="mapList" item="value" index="key" separator=","> |
| | | insert into ${tableName} ( |
| | | <foreach collection="columnMap" item="value" index="key" separator=","> |
| | | ${key} |
| | | </foreach> |
| | | ) |
| | | <foreach collection="mapList" item="columnMap" separator=" union all "> |
| | | select <foreach collection="columnMap" item="value" index="key" separator=","> |
| | | #{value} |
| | | </foreach> |
| | | from dual |
| | | </foreach> |
| | | </foreach> |
| | | </insert>--> |
| | | |
| | | <insert id="deleteByTaleAndOid" > |
| | | delete from ${tableName} where oid in (${oids}) |
| | | </insert> |