出现下列异常 是因为 mapper接口中没有添加注解 @Mapper 【出现这样得异常一般是注解得问题 请检查业务层和mapper层得注解是否完善】
***************************
APPLICATION FAILED TO START
***************************
Description:
Field identifyapplyMapper in com.bfc.boperation.service.serviceImpl.IdentifyApplyServiceImpl required a bean of type 'com.bfc.boperation.mapper.IdentifyapplyMapper' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.bfc.boperation.mapper.IdentifyapplyMapper' in your configuration.
Process finished with exit code 0
在Mapper接口中加上@Mapper注解
@Mapper
public interface IdentifyapplyMapper {
int deleteByPrimaryKey(Long applyId);
}