|
@@ -36,10 +36,10 @@ public class RandomPaperCloudServiceProvider implements RandomPaperCloudService
|
|
|
throw new StatusException("RandomPaperId is null");
|
|
|
}
|
|
|
RandomPaper p = GlobalHelper.getEntity(randomPaperRepo, req.getRandomPaperId(), RandomPaper.class);
|
|
|
+ GetRandomPaperBeanResp res=new GetRandomPaperBeanResp();
|
|
|
if(p==null) {
|
|
|
- throw new StatusException("未找到抽卷模板信息");
|
|
|
+ return res;
|
|
|
}
|
|
|
- GetRandomPaperBeanResp res=new GetRandomPaperBeanResp();
|
|
|
RandomPaperBean bean=new RandomPaperBean();
|
|
|
bean.setId(p.getId());
|
|
|
bean.setName(p.getName());
|