package com.rongwei.bscommon.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rongwei.bsentity.domain.EquMaintenanceTaskDo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author shangmi
 * @title EquMaintenanceTaskDao
 * @date 2023/11/27 14:55
 * @description 保养检修任务
 */
public interface EquMaintenanceTaskDao extends BaseMapper<EquMaintenanceTaskDo> {
    @Update(" UPDATE sys_notify_announce SET DELETED='1',MODIFYDATE=NOW() WHERE NOTIFYTYPE = #{notifytype} AND ROPTION = #{roption} AND DELETED='0'")
    int deleteNotice(@Param("notifytype") String notifytype, @Param("roption") String roption);
}
