mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 15:01:23 +08:00
33 lines
829 B
Java
33 lines
829 B
Java
package com.cfive.pinnacle.service;
|
|
|
|
import com.cfive.pinnacle.entity.Affair;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.cfive.pinnacle.entity.permission.User;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* <p>
|
|
* 事务 服务类
|
|
* </p>
|
|
*
|
|
* @author FatttSnake
|
|
* @since 2023-04-30
|
|
*/
|
|
public interface IAffairService extends IService<Affair> {
|
|
|
|
// int insertAffair(Affair affair);
|
|
int updateAffairYes(Affair affair);
|
|
int updateAffairNo(Affair affair);
|
|
|
|
|
|
// int deleteAffair_ApprovedByID(Affair affair);
|
|
List<User> getSameDepartmentUser (long id);
|
|
List<Affair> getFuzzyQueriesByAffairTitle(String title,Long typeId,Integer status,Long applicantId);
|
|
|
|
List<Affair> getNotApprovedByFuzzyQueries(String title,Long typeId,Integer status,Long applicantId);
|
|
|
|
|
|
}
|