优化统计
This commit is contained in:
@@ -125,7 +125,7 @@ class CollectSearchDialog(
|
||||
setOnItemClickListener { _, _, position ->
|
||||
activity?.lifecycleScope?.launch {
|
||||
val goodsName = list[position].goodsName?:""
|
||||
val count = ObjectBox.count(goodsName)
|
||||
val count = ObjectBox.countNameField(goodsName)
|
||||
activity?.toast("已采集数据${count}条")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user