| | |
| | | <result column="is_deleted" property="isDeleted"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectLastOne" resultType="org.sxkj.fw.device.vo.FwDeviceMaintainRecordVO"> |
| | | select * from ja_fw_device_maintain_record |
| | | where is_deleted = 0 and plan_id = #{planId} |
| | | </select> |
| | | |
| | | <select id="selectFwDeviceMaintainRecordPage" resultMap="fwDeviceMaintainRecordResultMap"> |
| | | <select id="selectFwDeviceMaintainRecordPage" resultType="org.sxkj.fw.device.vo.FwDeviceMaintainRecordVO"> |
| | | select * from ja_fw_device_maintain_record |
| | | <where> |
| | | is_deleted = 0 |