mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Block unused method
This commit is contained in:
parent
0d51674081
commit
a9edd61e4e
@ -19,11 +19,10 @@ package com.chatopera.cc.persistence.repository;
|
|||||||
import com.chatopera.cc.model.WorkTime;
|
import com.chatopera.cc.model.WorkTime;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
public interface WorkTimeRepository extends JpaRepository<WorkTime, String> {
|
public interface WorkTimeRepository extends JpaRepository<WorkTime, String> {
|
||||||
|
|
||||||
WorkTime findByIdAndOrgi(String id, String orgi);
|
WorkTime findByIdAndOrgi(String id, String orgi);
|
||||||
List<WorkTime> findByOrgi(String hostid, String orgi);
|
|
||||||
int countByNameAndOrgi(String name, String orgi);
|
// List<WorkTime> findByOrgi(String hostid, String orgi);
|
||||||
|
int countByNameAndOrgi(String name, String orgi);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user