回退 'Pull Request !8 : 处理iss 优化建议'

This commit is contained in:
Ants
2022-09-23 07:00:25 +00:00
committed by Gitee
parent 42c7936f40
commit 808cda3277
3 changed files with 0 additions and 29 deletions

View File

@@ -14,7 +14,6 @@ import com.mdd.common.utils.ArrayUtil;
import com.mdd.common.utils.TimeUtil;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.*;
@@ -160,7 +159,6 @@ class SystemAuthDeptServiceImpl implements ISystemAuthDeptService {
* @author fzr
* @param systemAuthDeptParam 参数
*/
@Transactional(rollbackFor = Exception.class)
@Override
public void edit(SystemAuthDeptParam systemAuthDeptParam) {
SystemAuthDept model = systemAuthDeptMapper.selectOne(
@@ -184,8 +182,6 @@ class SystemAuthDeptServiceImpl implements ISystemAuthDeptService {
model.setIsStop(systemAuthDeptParam.getIsStop());
model.setUpdateTime(System.currentTimeMillis() / 1000);
systemAuthDeptMapper.updateById(model);
//级联更新自己状态
systemAuthDeptMapper.updateChilder(systemAuthDeptParam.getIsStop(),model.getId());
}
/**