You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
531 B

<?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.epmet.dao.ResiEventReportOrgDao">
<update id="updateReadFlag" parameterType="map">
UPDATE resi_event_report_org
SET READ_FLAG = 'read',
UPDATED_BY = #{userId},
UPDATED_TIME = NOW()
WHERE
RESI_EVENT_ID = #{eventId}
AND ORG_ID = #{orgId}
AND DEL_FLAG = '0'
</update>
</mapper>