FlowMapper.xml 718 B

123456789101112131415161718192021222324252627
  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.tofly.feesapi.flowdb.mapper.FlowMapper">
  4. <select id="getWfFlow" resultType="com.tofly.feesapi.flowdb.entity.WflowPushJson">
  5. select
  6. *
  7. from
  8. wflow_push_json
  9. where
  10. id in(
  11. <foreach collection="ids" separator="," item="id">
  12. #{id}
  13. </foreach>
  14. )
  15. </select>
  16. <update id="updateById" >
  17. update
  18. wflow_push_json
  19. set
  20. push_state = #{state}
  21. where
  22. id = #{id}
  23. </update>
  24. </mapper>