liwenxuan 9 months ago
parent
commit
b8aed716ef
  1. 10
      src/main/java/com/hxgk/lowcode/service/impl/QrCodeServiceImpl.java

10
src/main/java/com/hxgk/lowcode/service/impl/QrCodeServiceImpl.java

@ -31,9 +31,7 @@ public class QrCodeServiceImpl implements QrCodeService {
QRCodeUtil qrCodeUtil = new QRCodeUtil();
String qrCodeStr = "";
//String qrCodeStr = "https://wab.hxgk.group/#/form_table/taskListPage? id=112&key=287135214646333440&formid=116&formKey=287145907965661184&title=t2&state=1";
String prefixLocal = "http://localhost:9998/#/form_table/taskListPage?";
String prefixout = "https://wab.hxgk.group/#/form_table/taskListPage?";
//获取参数
/*
*
@ -45,6 +43,9 @@ public class QrCodeServiceImpl implements QrCodeService {
state states
* */
CustomerFormView c = customerFormViewService.getCustomerFormViewByCfid(cfid);
//String qrCodeStr = "https://wab.hxgk.group/#/form_table/taskListPage? id=112&key=287135214646333440&formid=116&formKey=287145907965661184&title=t2&state=1";
String prefixLocal = "http://localhost:9998/#/form_table/taskListPage?";
String prefixout = "https://wab.hxgk.group/#/form_table/taskListPage?";
//上线修改
qrCodeStr = prefixLocal+"id="+c.getCfid()+"&key="+c.getGroupid()+"&formid="+c.getId()+"&formKey="+c.getSignCode()+"&title="+c.getName()+"&state="+c.getStates();
Map<String,String> appAndGroupNameMap = customerFormViewService.getAppNameAndGroupNameByCfid(cfid);
@ -76,10 +77,11 @@ public class QrCodeServiceImpl implements QrCodeService {
System.out.println(a);
toSelectDataTitleList1.add(i, "`" + a[a.length-1] + "`");
}
CustomerFormView c = customerFormViewService.getCustomerFormViewByCfid(cfid);
//String basicQrCodeStr = "https://wab.hxgk.group/#/form_table/taskListPage? id=112&key=287135214646333440&formid=116&formKey=287145907965661184&title=t2&state=1";
String prefixLocal = "http://localhost:9998/#/form_table/taskListPage?";
String prefixout = "https://wab.hxgk.group/#/form_table/taskListPage?";
CustomerFormView c = customerFormViewService.getCustomerFormViewByCfid(cfid);
//上线修改
basicQrCodeStr = prefixLocal+"id="+c.getCfid()+"&key="+c.getGroupid()+"&formid="+c.getId()+"&formKey="+c.getSignCode()+"&title="+c.getName()+"&state="+c.getStates();
//查询要展示在表格中的信息

Loading…
Cancel
Save