设备bug优化

This commit is contained in:
itzhang 2025-08-30 15:58:43 +08:00
parent 492abc6958
commit dc4a36370c

View File

@ -303,12 +303,10 @@ public class DeviceInstallController {
public void upDeviceInstall() { public void upDeviceInstall() {
CrmRequestUtil crmRequestUtil = new CrmRequestUtil(); CrmRequestUtil crmRequestUtil = new CrmRequestUtil();
String[] syncStatus = {"option_pending_sync__c", "option_resync__c"};
JSONObject getDeviceInstall = crmRequestUtil.getCRMList(Arrays.asList( JSONObject getDeviceInstall = crmRequestUtil.getCRMList(Arrays.asList(
//new Filter("EQ", "name", Arrays.asList("DEV202505260012")) //new Filter("EQ", "name", Arrays.asList("DEV202505260012"))
new Filter("GT", "last_modified_time", Arrays.asList("1748923200000")), new Filter("GT", "last_modified_time", Arrays.asList("1748923200000")),
new Filter("IN", "ledger_sync_status__c", Arrays.asList(syncStatus)), new Filter("IN", "ledger_sync_status__c", Arrays.asList("option_resync__c")),
new Filter("EQ", "life_status", Arrays.asList("normal")) new Filter("EQ", "life_status", Arrays.asList("normal"))
), "DeviceObj"); ), "DeviceObj");