PickAddrMapper.xml 1.1 KB

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.yami.shop.dao.PickAddrMapper">
  4. <resultMap id="BaseResultMap" type="com.yami.shop.bean.model.PickAddr">
  5. <!--
  6. WARNING - @mbg.generated
  7. -->
  8. <id column="addr_id" jdbcType="BIGINT" property="addrId" />
  9. <result column="addr_name" jdbcType="VARCHAR" property="addrName" />
  10. <result column="addr" jdbcType="VARCHAR" property="addr" />
  11. <result column="mobile" jdbcType="VARCHAR" property="mobile" />
  12. <result column="province" jdbcType="VARCHAR" property="province" />
  13. <result column="city" jdbcType="VARCHAR" property="city" />
  14. <result column="area" jdbcType="VARCHAR" property="area" />
  15. <result column="shop_id" jdbcType="BIGINT" property="shopId" />
  16. </resultMap>
  17. <delete id="deleteByIds">
  18. delete from tz_pick_addr where addr_id in
  19. <foreach item="addrId" collection="ids" open="(" separator="," close=")">
  20. #{addrId}
  21. </foreach>
  22. </delete>
  23. </mapper>