mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
Change the menu bar and merge pages
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
package com.cfive.pinnacle.service.impl;
|
||||
|
||||
import com.cfive.pinnacle.entity.Affair;
|
||||
import com.cfive.pinnacle.entity.permission.User;
|
||||
import com.cfive.pinnacle.mapper.AffairMapper;
|
||||
import com.cfive.pinnacle.service.IAffairService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 事务 服务实现类
|
||||
@@ -21,7 +24,6 @@ public class AffairServiceImpl extends ServiceImpl<AffairMapper, Affair> impleme
|
||||
@Autowired
|
||||
private AffairMapper affairMapper;
|
||||
|
||||
|
||||
public int updateAffairYes(Affair affair) {
|
||||
return affairMapper.updateAffairsYes(affair);
|
||||
}
|
||||
@@ -30,6 +32,8 @@ public class AffairServiceImpl extends ServiceImpl<AffairMapper, Affair> impleme
|
||||
return affairMapper.updateAffairsNO(affair);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<User> getSameDepartmentUser(long id) {
|
||||
List<User> user = affairMapper.getSameDepartmentUser(id);
|
||||
return user;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user