package com.zjty.tynotes.job.basic.repository;

import com.zjty.tynotes.job.basic.entity.database.WorkTime;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkTimeRepository extends MongoRepository<WorkTime, String> {
    List<WorkTime> findByWorkId(String workId);
}
