ElectricalTestingPointAIMapper.xml 644 B

1234567891011121314151617
  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.gyee.wisdom.alarm.sharding.mapper.ElectricalTestingPointAIMapper">
  4. <select id="selectPointByStation" parameterType="java.util.Map" resultType="com.gyee.wisdom.alarm.sharding.entity.ElectricalTestingPointAI">
  5. select * from ELECTRICALTESTINGPOINTAI2 a
  6. <where>
  7. 1=1
  8. <if test="stationId !=null and stationId !=''">
  9. and a.windpowerstationid = #{stationId}
  10. </if>
  11. </where>
  12. </select>
  13. </mapper>