| package com.xzx.gc.order.service;  | 
|   | 
| import com.xzx.gc.entity.SysStorage;  | 
| import com.xzx.gc.order.mapper.SysStorageMapper;  | 
| import org.springframework.beans.factory.annotation.Autowired;  | 
| import org.springframework.stereotype.Service;  | 
| import org.springframework.transaction.annotation.Transactional;  | 
|   | 
| @Service  | 
| @Transactional  | 
| public class SysStorageService {  | 
|   | 
|     @Autowired  | 
|     private SysStorageMapper sysStorageMapper;  | 
|   | 
|   | 
|     public SysStorage findById(Integer id){  | 
|         return sysStorageMapper.selectByPrimaryKey(id);  | 
|     }  | 
|   | 
|   | 
|   | 
|   | 
|   | 
| }  |