<?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.uml.tech.mapper.BigdataMapper">
	<update id="updateStatus">
		update farm_command_photo_log set status = #{status}, responseContent=#{content}, imageName = #{imageName}, responseTime=NOW() WHERE did = #{did} and commandNo = #{commandNo}
	</update>
	<update id="updateDeviceRecevieStatus">
		update farm_command_photo_log set status = #{status} where did = #{did} and commandNo = #{commandNo}
	</update>
</mapper>
