package com.landtool.lanbase.modules.res.service.impl;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import com.landtool.lanbase.modules.res.dao.ResStorageRelaTionMapper;
|
import com.landtool.lanbase.modules.res.entity.Res_Storage_Relation;
|
import com.landtool.lanbase.modules.res.service.ResStorageRelaTionService;
|
|
|
@Service("ResStorageRelaTionService")
|
public class ResStorageRelaTionServiceImpl implements ResStorageRelaTionService{
|
@Autowired
|
private ResStorageRelaTionMapper dao;
|
|
@Override
|
public Res_Storage_Relation selectByResourceidAndFileName(Res_Storage_Relation storageRelation) {
|
|
return dao.selectByResourceidAndFileName(storageRelation);
|
}
|
|
@Override
|
public int insert(Res_Storage_Relation storageRelation) {
|
return dao.insert(storageRelation);
|
}
|
|
@Override
|
public int update(Res_Storage_Relation storageRelation) {
|
return dao.update(storageRelation);
|
}
|
|
|
|
}
|