whycxzp
2023-02-28 4b87cb618141bd31eac43a2722769a7814087c16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.whyc.mapper;
 
import com.whyc.pojo.BOMFeedback;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface BOMFeedbakMapper extends CustomMapper<BOMFeedback>{
    //获取发送者的反馈个数
    int selectSender(Long id);
    //获取接收者的反馈个数
    int selectReceiver(@Param("id") Long id);
 
    //查询发送者反馈不同状态
    List<BOMFeedback> getSenderStatus(Long id, int flag);
 
    //查询接收者反馈不同状态
    List<BOMFeedback> getRecevierStatus(@Param("id")Long id, int flag);
 
    //当是杨红兰查看时,只有杨红兰的排在最前面
    List<BOMFeedback> getRecevierYHL(@Param("id")Long id, @Param("name")String name, int flag);
}