zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
        
    }
 
}