2021与蓝度共同重构项目,服务端
liuhaonan
2022-01-04 4c831c9877f48a5738feffd741b65c30722f1f7d
ximon-admin/src/main/java/com/sandu/ximon/admin/service/AdvisementPlayerFileService.java
@@ -48,12 +48,12 @@
        return removeById(id);
    }
    public LambdaQueryWrapper<AdvisementPlayerFile> listFile(ReceiveParam receiveParam) {
    public LambdaQueryWrapper<AdvisementPlayerFile> listFile(String keyword) {
        LambdaQueryWrapper<AdvisementPlayerFile> wrapper = Wrappers.lambdaQuery(AdvisementPlayerFile.class).eq(AdvisementPlayerFile::getClientId, clientService.getClientId());
        if (receiveParam.getKeyWord() == null) {
        if (keyword == null) {
            return wrapper;
        } else {
            return wrapper.like(AdvisementPlayerFile::getFileName, receiveParam.getKeyWord());
            return wrapper.like(AdvisementPlayerFile::getFileName, keyword);
        }
    }
}