whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/mapper/BOMFeedbakMapper.java
@@ -6,17 +6,20 @@
import java.util.List;
public interface BOMFeedbakMapper extends CustomMapper<BOMFeedback>{
    //获取发送者的反馈个数
    //获取发送者的反馈个数(排除confirm_status=1)
    int selectSender(Long id);
    //获取接收者的反馈个数
    int selectReceiver(@Param("id") Long id);
    //查询发送者反馈不同状态
    List<BOMFeedback> getSenderStatus(Long id, int flag);
    List<BOMFeedback> getSenderStatus(@Param("id")Long id, @Param("flags")int[] flags);
    //查询接收者反馈不同状态
    List<BOMFeedback> getRecevierStatus(@Param("id")Long id, int flag);
    List<BOMFeedback> getRecevierStatus(@Param("id")Long id,  @Param("flags")int[] flags);
    //当是杨红兰查看时,只有杨红兰的排在最前面
    List<BOMFeedback> getRecevierYHL(@Param("id")Long id, @Param("name")String name, int flag);
    List<BOMFeedback> getRecevierYHL(@Param("id")Long id, @Param("name")String name, @Param("flags")int[] flags);
    List<BOMFeedback> getListPage(BOMFeedback feedback);
}