华西海圻ELN服务端工程
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
633 B

  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="com.hxhq.mapper.ReagentStockMapper">
  6. <select id="notSync" resultType="com.hxhq.domain.ReagentStock">
  7. SELECT rs.*
  8. FROM reagent_stock rs
  9. LEFT JOIN sync_log s
  10. ON rs.reagent_stock_id = s.source_record_id
  11. AND s.target_system = 'hxhq'
  12. AND s.source_type = 'reagent'
  13. WHERE s.source_record_id IS NULL;
  14. </select>
  15. </mapper>