package com.hfxt.service.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.hfxt.dao.UserDao;
public class BaseService {
protected Logger log = LoggerFactory.getLogger(this.getClass());
protected UserDao userDao;
public UserDao getUserDao() {
return userDao;
}
public void setUserDao(UserDao userDao) {
this.userDao = userDao;
}
}
10service层实现类中的配置,所有的service层的实现类可以继承该类
最新推荐文章于 2023-09-05 17:06:38 发布