增加result返回列表,联系人接口增加推送

This commit is contained in:
2025-09-12 10:28:05 +08:00
parent adfe8eced1
commit 8dd351cccd
15 changed files with 70 additions and 53 deletions

View File

@@ -23,7 +23,7 @@ public class DeviceApkInfoService {
DeviceApkInfo deviceApkInfo;
if (deviceApkInfoRepository.existsBySn(sn)) {
// 存在则更新
deviceApkInfo = deviceApkInfoRepository.findDeviceApkInfoBySn(sn);
deviceApkInfo = deviceApkInfoRepository.getDeviceApkInfoBySn(sn);
deviceApkInfo.setApkList(apkList);
deviceApkInfo.setUpdateTime(new Date());
} else {
@@ -42,7 +42,7 @@ public class DeviceApkInfoService {
* 根据序列号sn获取设备APK列表
*/
public DeviceApkInfo getDeviceApkInfoBySn(String sn) {
return deviceApkInfoRepository.findDeviceApkInfoBySn(sn);
return deviceApkInfoRepository.getDeviceApkInfoBySn(sn);
}