|
|
@ -129,7 +129,7 @@ public class TagDataController { |
|
|
|
.in(BmsSupplier::getCode,param.getTargetCodeList())); |
|
|
|
for (BmsSupplier supplier : bmsSuppliers) { |
|
|
|
TagData data = new TagData(); |
|
|
|
data.setTenantId(supplier.getId()); |
|
|
|
data.setTargetId(supplier.getId()); |
|
|
|
data.setTargetCode(supplier.getCode()); |
|
|
|
data.setTargetName(supplier.getName()); |
|
|
|
tagDataList.add(data); |
|
|
@ -148,6 +148,7 @@ public class TagDataController { |
|
|
|
data.setTagName(tagInfo.getTagName()); |
|
|
|
data.setTagId(tagInfo.getId()); |
|
|
|
} |
|
|
|
tagDataService.saveBatch(tagDataList); |
|
|
|
return R.ok(); |
|
|
|
} |
|
|
|
|
|
|
|