'提交代码'

dev-discount
199901012 4 years ago
parent ae21412425
commit f917c1f1a2
  1. 2
      hai-service/src/main/java/com/hai/service/impl/HighCouponCodeServiceImpl.java

@ -55,7 +55,7 @@ public class HighCouponCodeServiceImpl implements HighCouponCodeService {
// 生成二维码
String qrCodeImg = DateUtil.date2String(new Date(),"yyyyMMddHHmmss") + IDGenerator.nextId(10) +".png";
String qrCodeUrl = "/home/project/hsg/filesystem/couponCode/" + qrCodeImg;
QRCodeGenerator.generateQRCodeImage(list.get(0).getSalesCode(), 350, 350, qrCodeUrl);
QRCodeGenerator.generateQRCodeImage(highCouponCode.getSalesCode(), 350, 350, qrCodeUrl);
highCouponCode.setExt1(qrCodeImg);
}
highCouponCodeMapperExt.insertList(list);

Loading…
Cancel
Save