错误信息:Bound mismatch: The type ProcessDao is not a valid substitute for the bounded parameter <D extends CrudDao<T>> of the type CrudService<D,T>
出错代码:
@Service
public class ProcessService extends CrudService<ProcessDao,Process>{
}
ProcessDao代码:
public interface ProcessDao extends CrudDao<Process> {
public List<String> findTypeList(Process process);
}
Process代码:
public class Process extends DataEntity<Process>
{
//一堆getter和setter以及构造方法
}
为什么就是过不去啊,类型都符合啊
出错代码:
@Service
public class ProcessService extends CrudService<ProcessDao,Process>{
}
ProcessDao代码:
public interface ProcessDao extends CrudDao<Process> {
public List<String> findTypeList(Process process);
}
Process代码:
public class Process extends DataEntity<Process>
{
//一堆getter和setter以及构造方法
}
为什么就是过不去啊,类型都符合啊









