|
@@ -6,7 +6,6 @@ import cn.com.ty.lift.system.settings.dao.mapper.GlobalSetMapper;
|
|
import cn.com.ty.lift.system.settings.service.GlobalSetService;
|
|
import cn.com.ty.lift.system.settings.service.GlobalSetService;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -23,7 +22,6 @@ import java.util.List;
|
|
public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet> implements GlobalSetService {
|
|
public class GlobalSetServiceImpl extends ServiceImpl<GlobalSetMapper, GlobalSet> implements GlobalSetService {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- @Transactional
|
|
|
|
public void teamInitSetting(Long companyId) {
|
|
public void teamInitSetting(Long companyId) {
|
|
List<GlobalSet> globalSetList = new ArrayList<>();
|
|
List<GlobalSet> globalSetList = new ArrayList<>();
|
|
//初始化默认值
|
|
//初始化默认值
|