|  | @@ -10,6 +10,8 @@ import com.fs.his.param.FsChineseMedicineListUParam;
 | 
	
		
			
				|  |  |  import com.fs.his.vo.FsChineseMedicineListUVO;
 | 
	
		
			
				|  |  |  import com.fs.his.vo.FsChineseMedicineListVO;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.cache.annotation.CacheEvict;
 | 
	
		
			
				|  |  | +import org.springframework.cache.annotation.Caching;
 | 
	
		
			
				|  |  |  import org.springframework.stereotype.Service;
 | 
	
		
			
				|  |  |  import com.fs.his.mapper.FsChineseMedicineMapper;
 | 
	
		
			
				|  |  |  import com.fs.his.domain.FsChineseMedicine;
 | 
	
	
		
			
				|  | @@ -58,6 +60,7 @@ public class FsChineseMedicineServiceImpl implements IFsChineseMedicineService
 | 
	
		
			
				|  |  |       * @return 结果
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | +    @CacheEvict(value = "getChineseMedicineList",allEntries = true)
 | 
	
		
			
				|  |  |      public int insertFsChineseMedicine(FsChineseMedicine fsChineseMedicine)
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          return fsChineseMedicineMapper.insertFsChineseMedicine(fsChineseMedicine);
 | 
	
	
		
			
				|  | @@ -70,6 +73,10 @@ public class FsChineseMedicineServiceImpl implements IFsChineseMedicineService
 | 
	
		
			
				|  |  |       * @return 结果
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | +    @Caching(evict = {
 | 
	
		
			
				|  |  | +            @CacheEvict(value = "getChineseMedicineList", allEntries = true),
 | 
	
		
			
				|  |  | +            @CacheEvict(value = "getChineseMedicineById", key = "#fsChineseMedicine.id")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  |      public int updateFsChineseMedicine(FsChineseMedicine fsChineseMedicine)
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          return fsChineseMedicineMapper.updateFsChineseMedicine(fsChineseMedicine);
 | 
	
	
		
			
				|  | @@ -82,6 +89,11 @@ public class FsChineseMedicineServiceImpl implements IFsChineseMedicineService
 | 
	
		
			
				|  |  |       * @return 结果
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | +    @Caching(evict = {
 | 
	
		
			
				|  |  | +            @CacheEvict(value = "getChineseMedicineList", allEntries = true),
 | 
	
		
			
				|  |  | +            @CacheEvict(value = "getChineseMedicineById",
 | 
	
		
			
				|  |  | +                    key = "#ids")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  |      public int deleteFsChineseMedicineByIds(Long[] ids)
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          return fsChineseMedicineMapper.deleteFsChineseMedicineByIds(ids);
 | 
	
	
		
			
				|  | @@ -94,6 +106,11 @@ public class FsChineseMedicineServiceImpl implements IFsChineseMedicineService
 | 
	
		
			
				|  |  |       * @return 结果
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | +    @Caching(evict = {
 | 
	
		
			
				|  |  | +            @CacheEvict(value = "getChineseMedicineList", allEntries = true),
 | 
	
		
			
				|  |  | +            @CacheEvict(value = "getChineseMedicineById",
 | 
	
		
			
				|  |  | +                    key = "id")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  |      public int deleteFsChineseMedicineById(Long id)
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          return fsChineseMedicineMapper.deleteFsChineseMedicineById(id);
 | 
	
	
		
			
				|  | @@ -105,6 +122,7 @@ public class FsChineseMedicineServiceImpl implements IFsChineseMedicineService
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  | +    @CacheEvict(value = "getChineseMedicineList",allEntries = true)
 | 
	
		
			
				|  |  |      public String importData(List<FsChineseMedicine> list) {
 | 
	
		
			
				|  |  |          if (com.fs.common.utils.StringUtils.isNull(list) || list.size() == 0)
 | 
	
		
			
				|  |  |          {
 |