- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.zksy.base.warning.mapper.WarningSupervisionMapper">
- <select id="selectByWarningId" resultType="com.zksy.base.warning.domain.WarningSupervision">
- SELECT * FROM warning_supervision
- WHERE warning_id = #{warningId}
- ORDER BY create_time DESC
- </select>
- </mapper>
|