package com.gk.firework.Mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.gk.firework.Domain.PatrolOrderInfo; import com.gk.firework.Domain.Vo.PatrolOrderVo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface PatrolOrderInfoMapper extends BaseMapper { int deleteByPrimaryKey(Long id); PatrolOrderInfo selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PatrolOrderInfo record); int updateByPrimaryKey(PatrolOrderInfo record); List selectDataGrid(Page page, Map condition); List selectListByEnterprise(@Param("enterprisename") String enterprisename,@Param("username") String username); }