19 lines
567 B
Java
19 lines
567 B
Java
|
|
package com.pms.common.service;
|
||
|
|
|
||
|
|
import org.apache.commons.logging.Log;
|
||
|
|
import org.apache.commons.logging.LogFactory;
|
||
|
|
import org.apache.ibatis.session.SqlSession;
|
||
|
|
import org.springframework.stereotype.Service;
|
||
|
|
import org.springframework.transaction.annotation.Transactional;
|
||
|
|
|
||
|
|
import com.pms.common.SqlMapConfig;
|
||
|
|
|
||
|
|
@Transactional(readOnly = false, rollbackFor = java.lang.Exception.class)
|
||
|
|
public class BaseService {
|
||
|
|
|
||
|
|
//public SqlSession sqlSession = SqlMapConfig.getInstance().getSqlSession();
|
||
|
|
|
||
|
|
protected final Log logger = LogFactory.getLog(this.getClass());
|
||
|
|
|
||
|
|
}
|