|
@@ -237,14 +237,14 @@ public class CertificateTpServiceImpl extends ServiceImpl<CertificateTpMapper, C
|
|
|
List<Long> tpIds = new ArrayList<>();
|
|
|
if(Validator.isNotEmpty(moduleVo.getCertificateTpId())){
|
|
|
tpIds.add(moduleVo.getCertificateTpId());
|
|
|
- }
|
|
|
- CertificateTpQueryBo queryBo = new CertificateTpQueryBo();
|
|
|
- queryBo.setTpIds(tpIds);
|
|
|
- queryBo.setStatus(new ArrayList<Integer>(Arrays.asList(1)));
|
|
|
- List<CertificateTpVo> list = selectListByBo(queryBo);
|
|
|
-
|
|
|
- for(CertificateTpVo tpVo : list){
|
|
|
- drawCertificate(tpVo,goodsVo,bo,userVo,studyRecordVo,classGradeUser,chapterList,bo.getModuleId());
|
|
|
+ CertificateTpQueryBo queryBo = new CertificateTpQueryBo();
|
|
|
+ queryBo.setTpIds(tpIds);
|
|
|
+ queryBo.setStatus(new ArrayList<Integer>(Arrays.asList(1)));
|
|
|
+ List<CertificateTpVo> list = selectListByBo(queryBo);
|
|
|
+
|
|
|
+ for(CertificateTpVo tpVo : list){
|
|
|
+ drawCertificate(tpVo,goodsVo,bo,userVo,studyRecordVo,classGradeUser,chapterList,bo.getModuleId());
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|