| | |
| | | TStore st = storeService.getById(store); |
| | | map3.put("sign", "0DB011836143EEE2C2E072967C9F4E4B"); |
| | | map4.put("sign", "0DB011836143EEE2C2E072967C9F4E4B"); |
| | | map3.put("space_id", st.getId() + ""); |
| | | map4.put("space_id", st.getId() + ""); |
| | | map3.put("space_id", si.getId() + ""); |
| | | map4.put("space_id", si.getId() + ""); |
| | | map3.put("name", blue); |
| | | map4.put("name", red); |
| | | map3.put("city_code", city); |
| | |
| | | HashMap<String, String> blueCode = new HashMap<>(); |
| | | blueCode.put("scan_type", "1000"); |
| | | blueCode.put("sutu_id", ""+sutuId); |
| | | blueCode.put("space_id", st.getId() + ""); |
| | | blueCode.put("space_id", si.getId() + ""); |
| | | HashMap<String, String> redCode = new HashMap<>(); |
| | | redCode.put("scan_type", "1000"); |
| | | redCode.put("sutu_id", sutuId1+""); |
| | | redCode.put("space_id", st.getId() + ""); |
| | | String blueS= "{\"scan_type\": 1000, \"space_id\": "+st.getId()+", \"sutu_id\": "+sutuId+"}"; |
| | | String redS= "{\"scan_type\": 1000, \"space_id\": "+st.getId()+", \"sutu_id\": "+sutuId1+"}"; |
| | | redCode.put("space_id", si.getId() + ""); |
| | | String blueS= "{\"scan_type\": 1000, \"space_id\": "+si.getId()+", \"sutu_id\": "+sutuId+"}"; |
| | | String redS= "{\"scan_type\": 1000, \"space_id\": "+si.getId()+", \"sutu_id\": "+sutuId1+"}"; |
| | | MyQrCodeUtil.createCodeToFile(blueS); |
| | | MyQrCodeUtil.createCodeToFile(redS); |
| | | BufferedImage blueImage = QRCodeUtil.createImage(blueS); |