This commit is contained in:
齐天大圣 2024-03-27 14:07:57 +08:00
parent ee190fdc01
commit 028beea5e6

View File

@ -71,8 +71,10 @@ public class TagCodeRecordServiceImpl extends ServiceImpl<TagCodeRecordMapper, T
//二维码
TagCode byId1 = tagCodeService.getById(tagCodeId);
String collection = byId1.getCollection();
collection += "&storeId=" + tagCodeRecordDTO.getStoreId();
byId1.setCollection(collection);
String[] storeIds = collection.split("sn");
String s = storeIds[0] + "storeId=" + tagCodeRecordDTO.getStoreId() + "&sn" + storeIds[1];
//collection += "&storeId=" + tagCodeRecordDTO.getStoreId();
byId1.setCollection(s);
tagCodeService.updateById(byId1);
OilTag oilTag = new OilTag();