|
|
|
@ -18,6 +18,7 @@ import org.apache.commons.logging.Log; |
|
|
|
import org.apache.commons.logging.LogFactory; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.cache.annotation.CacheConfig; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
@ -30,6 +31,7 @@ import java.util.*; |
|
|
|
|
|
|
|
@Service |
|
|
|
@Transactional |
|
|
|
@CacheConfig(cacheNames = "goods") |
|
|
|
public class GoodsServiceImpl implements GoodsService { |
|
|
|
private static Log log = LogFactory.getLog(GoodsServiceImpl.class); |
|
|
|
@Autowired |
|
|
|
|