lxw
2023-02-03 f41f7539ee1dd0232a8bb482f774e1c9149a99e9
src/main/java/com/whyc/mapper/BOMFeedbakMapper.java
@@ -3,9 +3,17 @@
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);
}