CalculateIndicatorItemInfoMapper.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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.ims.eval.dao.CalculateIndicatorItemInfoMapper">
  4. <select id="selectList" resultType="com.ims.eval.entity.CalculateIndicatorItemInfo">
  5. SELECT
  6. *
  7. FROM
  8. calculate_indicator_item_info a
  9. <where>
  10. 1=1
  11. <if test="organizationType !=null and organizationType !=''">
  12. and a.organization_type=#{organizationType}
  13. </if>
  14. <if test="checkCycle !=null and checkCycle !=''">
  15. and a.check_cycle=#{checkCycle}
  16. </if>
  17. <if test="year !=null and year !=''">
  18. and a.year=#{year}
  19. </if>
  20. <if test="month !=null and month !=''">
  21. and a.month=#{month}
  22. </if>
  23. <if test="binSection !=null and binSection !=''">
  24. and a.section_id=#{binSection}
  25. </if>
  26. <if test="organizationEvaluationId !=null and organizationEvaluationId !=''">
  27. and a.organization_evaluation_id=#{organizationEvaluationId}
  28. </if>
  29. </where>
  30. </select>
  31. </mapper>