package com.landtool.lanbase.modules.org.service.impl;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.landtool.lanbase.modules.org.dao.OrgUnitRegionDao;
|
import com.landtool.lanbase.modules.org.entity.OrgUnitRegion;
|
import com.landtool.lanbase.modules.org.service.OrgUnitRegionService;
|
|
@Service("unitregionService")
|
public class OrgUnitRegionServiceImpl implements OrgUnitRegionService {
|
|
@Autowired
|
private OrgUnitRegionDao unitxzqhDao;
|
|
@Override
|
public OrgUnitRegion queryObject(String regionid){
|
return unitxzqhDao.queryObject(regionid);
|
}
|
|
@Override
|
public List<OrgUnitRegion> queryList(Map<String, Object> map){
|
return unitxzqhDao.queryList(map);
|
}
|
|
@Override
|
public int queryTotal(Map<String, Object> map){
|
return unitxzqhDao.queryTotal(map);
|
}
|
|
@Override
|
public void save(OrgUnitRegion unitregion){
|
unitxzqhDao.save(unitregion);
|
}
|
|
@Override
|
public void update(OrgUnitRegion unitregion){
|
unitxzqhDao.update(unitregion);
|
}
|
|
@Override
|
public void delete(String regionid){
|
unitxzqhDao.delete(regionid);
|
}
|
|
@Override
|
public void deleteBatch(String[] regionids){
|
unitxzqhDao.deleteBatch(regionids);
|
}
|
|
@Override
|
public void deleteUnitRegionByUnitId(Long unitid) {
|
unitxzqhDao.deleteUnitRegionByUnitId(unitid);
|
}
|
|
}
|