package thyyxxk.webserver.dao.his.technologyArchives;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import thyyxxk.webserver.entity.technologyArchives.TechnologyArchives5;

@Mapper
public interface TechnologyArchives5Dao extends BaseMapper<TechnologyArchives5> {

    @Select(" select * from technology_archives5 where social_no = #{socialNo} and time = #{time} ")
    TechnologyArchives5 selectTechnologyArchives5ByTime(@Param("socialNo") String socialNo, @Param("time") String time);

    @Update(" delete from technology_archives5 where social_no = #{socialNo} and time = #{time} ")
    int delTechnologyArchives5ByCode(@Param("socialNo") String socialNo, @Param("time") String time);
}
