package cn.autoform.web.service.tabConfiguration.impl;
|
|
import java.util.List;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import cn.autoform.db.entity.TabConfigurationEntity;
|
import cn.autoform.util.tool.JSONTool;
|
import cn.autoform.web.mapper.tabConfiguration.TabConfigurationMapper;
|
import cn.autoform.web.service.tabConfiguration.TabConfigurationService;
|
|
@Service
|
public class TabConfigurationServiceImpl implements TabConfigurationService {
|
|
@Autowired
|
TabConfigurationMapper tabConfigurationMapper;
|
|
@Override
|
public void saveTabConfiguration(TabConfigurationEntity tabConEntity) {
|
tabConfigurationMapper.deleteTabConfiguration(tabConEntity);
|
tabConfigurationMapper.saveTabConfiguration(tabConEntity);
|
}
|
|
@Override
|
public List<TabConfigurationEntity> queryTabConfiguration(TabConfigurationEntity tabConEntity){
|
return tabConfigurationMapper.queryTabConfiguration(tabConEntity);
|
|
}
|
|
}
|