|  |  | 
 |  |  |     <!--@mbg.generated--> | 
 |  |  |     id, monitoringId, flowmeterId, operateType, remarks, `operator`, operateDt | 
 |  |  |   </sql> | 
 |  |  |   <sql id="Base_Column_List_NoId"> | 
 |  |  |     <!--@mbg.generated--> | 
 |  |  |     monitoringId, flowmeterId, operateType, remarks, `operator`, operateDt | 
 |  |  |   </sql> | 
 |  |  |   <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> | 
 |  |  |     <!--@mbg.generated--> | 
 |  |  |     select  | 
 |  |  | 
 |  |  |       </if> | 
 |  |  |     </where> | 
 |  |  |   </select> | 
 |  |  |  | 
 |  |  |   <!--根据 流量监测站编号 获取 绑定记录 按操作时间降序--> | 
 |  |  |   <select id="getBingRecordsByMonitoringId" parameterType="string" resultType="java.util.Map"> | 
 |  |  |     select  CAST(id AS char) as id, | 
 |  |  |     CAST(monitoringId AS char)as monitoringId, | 
 |  |  |     CAST(flowmeterId AS char)as flowmeterId, | 
 |  |  |     operateType, | 
 |  |  |     remarks, | 
 |  |  |     `operator`, | 
 |  |  |     operateDt | 
 |  |  |     from pr_monitoring_flowmeter pmf | 
 |  |  |     where | 
 |  |  |     monitoringId=#{monitoringId,jdbcType=BIGINT} | 
 |  |  |     order by operateDt desc | 
 |  |  |   </select> | 
 |  |  | </mapper> |