1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!--<?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.macro.mall.tiny.modules.business.mapper.BTowerMapper">-->
- <!-- <insert id="saveAndUpdate" parameterType="list">-->
- <!-- INSERT INTO b_tower (-->
- <!-- sort,-->
- <!-- name,-->
- <!-- shape,-->
- <!-- hardware_type,-->
- <!-- line_id,-->
- <!-- lon,-->
- <!-- lat,-->
- <!-- has_file,-->
- <!-- create_time-->
- <!-- )-->
- <!-- VALUES-->
- <!-- <foreach collection="towerList" item="item" separator=",">-->
- <!-- (-->
- <!-- #{item.sort},-->
- <!-- #{item.name},-->
- <!-- #{item.shape},-->
- <!-- #{item.hardwareType},-->
- <!-- #{item.lineId},-->
- <!-- #{item.lon},-->
- <!-- #{item.lat},-->
- <!-- #{item.hasFile},-->
- <!-- #{item.createTime}-->
- <!-- )-->
- <!-- </foreach>-->
- <!-- ON DUPLICATE KEY UPDATE-->
- <!-- sort = VALUES(sort),-->
- <!-- shape = VALUES(shape),-->
- <!-- hardware_type = VALUES(hardware_type),-->
- <!-- lon = VALUES(lon),-->
- <!-- lat = VALUES(lat),-->
- <!-- has_file = VALUES(has_file),-->
- <!-- create_time = VALUES(create_time);-->
- <!-- </insert>-->
- <!-- <!– 通用查询映射结果 –>-->
- <!-- <resultMap id="BaseResultMap" type="com.macro.mall.tiny.modules.business.model.BTower">-->
- <!-- <id column="id" property="id"/>-->
- <!-- <result column="sort" property="sort"/>-->
- <!-- <result column="name" property="name"/>-->
- <!-- <result column="shape" property="shape"/>-->
- <!-- <result column="hardware_type" property="hardwareType"/>-->
- <!-- <result column="line_id" property="lineId"/>-->
- <!-- <result column="lon" property="lon"/>-->
- <!-- <result column="lat" property="lat"/>-->
- <!-- <result column="has_file" property="hasFile"/>-->
- <!-- <result column="create_time" property="createTime"/>-->
- <!-- </resultMap>-->
- <!--</mapper>-->
|