修改bug

This commit is contained in:
haozq 2025-10-10 14:54:37 +08:00
parent 80d224160f
commit 6455a78eb4
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
if(pmAttDevice.getTeamId()!=null){
teamId=pmAttDevice.getTeamId();
}
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),proId,subId,teamId);
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),subId,teamId,proId);
return pmAttDeviceMapper.addPmAttDevice(pmAttDevice);
}
@ -106,7 +106,7 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
uakSendService.delDevByProId(pmAttDevice.getDeviceCode(),proId,subId,teamId);
}else {
//新增考勤机触发
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),proId,subId,teamId);
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),subId,teamId,proId);
}
return pmAttDeviceMapper.updatePmAttDevice(pmAttDevice);
}