AiIntelligentAssistantMapper.xml 1022 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="shop.alien.mapper.AiIntelligentAssistantMapper">
  6. <insert id="insertList">
  7. INSERT INTO ai_intelligent_assistant (
  8. context,
  9. talk_source,
  10. type,
  11. reply_id,
  12. reply_date,
  13. delete_flag,
  14. created_time,
  15. created_user_id,
  16. updated_time,
  17. updated_user_id,
  18. user_id
  19. ) VALUES
  20. <foreach collection="list" item="item" separator=",">
  21. (
  22. #{item.context},
  23. #{item.talkSource},
  24. #{item.type},
  25. #{item.replyId},
  26. #{item.replyDate},
  27. #{item.deleteFlag},
  28. #{item.createdTime},
  29. #{item.createdUserId},
  30. #{item.updatedTime},
  31. #{item.updatedUserId},
  32. #{item.userId}
  33. )
  34. </foreach>
  35. </insert>
  36. </mapper>