|
@@ -647,6 +647,20 @@ public class FsCourseProductOrderServiceImpl extends ServiceImpl<FsCourseProduct
|
|
return R.error();
|
|
return R.error();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public List<FsCourseProductOrderVO> selectFsCourseProductOrderDecodePhoneList(FsCourseProductOrderListParam param) {
|
|
|
|
+ List<FsCourseProductOrderVO> productOrderVOS = baseMapper.selectFsCourseProductOrderList(param);
|
|
|
|
+ if (CollectionUtils.isNotEmpty(productOrderVOS)) {
|
|
|
|
+ productOrderVOS.forEach(productOrderVO -> {
|
|
|
|
+ if (StringUtils.isNotEmpty(productOrderVO.getProductJson())) {
|
|
|
|
+ FsCourseProduct courseProduct = JSONUtil.toBean(productOrderVO.getProductJson(), FsCourseProduct.class);
|
|
|
|
+ productOrderVO.setProductName(courseProduct.getProductName());
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ return productOrderVOS;
|
|
|
|
+ }
|
|
|
|
+
|
|
//生成核销码
|
|
//生成核销码
|
|
private String VerificationCodeGenerator(){
|
|
private String VerificationCodeGenerator(){
|
|
Random random = new Random();
|
|
Random random = new Random();
|