| | |
| | | </delete> |
| | | |
| | | <update id="updatePoint"> |
| | | update t_yw_point |
| | | <set> |
| | | <if test="point.pointName != null and point.pointName != ''">point_name = #{point.pointName},</if> |
| | | <foreach collection="pointList" separator=";" item="point"> |
| | | UPDATE t_yw_point |
| | | SET |
| | | <if test="point.pointName != null and point.pointName != ''"> |
| | | point_name = #{point.pointName}, |
| | | </if> |
| | | unit_id = #{point.unitId}, |
| | | start_time = #{point.startTime}, |
| | | end_time = #{point.endTime}, |
| | | province_tag = #{point.provinceTag}, |
| | | important_command_image_tag = #{point.importantCommandImageTag}, |
| | | </set> |
| | | important_command_image_tag = #{point.importantCommandImageTag} |
| | | WHERE serial_number = #{point.serialNumber} |
| | | </foreach> |
| | | </update> |
| | | </mapper> |