修改bug
This commit is contained in:
parent
80d224160f
commit
6455a78eb4
|
|
@ -73,7 +73,7 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
|
||||||
if(pmAttDevice.getTeamId()!=null){
|
if(pmAttDevice.getTeamId()!=null){
|
||||||
teamId=pmAttDevice.getTeamId();
|
teamId=pmAttDevice.getTeamId();
|
||||||
}
|
}
|
||||||
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),proId,subId,teamId);
|
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),subId,teamId,proId);
|
||||||
return pmAttDeviceMapper.addPmAttDevice(pmAttDevice);
|
return pmAttDeviceMapper.addPmAttDevice(pmAttDevice);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -106,7 +106,7 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
|
||||||
uakSendService.delDevByProId(pmAttDevice.getDeviceCode(),proId,subId,teamId);
|
uakSendService.delDevByProId(pmAttDevice.getDeviceCode(),proId,subId,teamId);
|
||||||
}else {
|
}else {
|
||||||
//新增考勤机触发
|
//新增考勤机触发
|
||||||
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),proId,subId,teamId);
|
uakSendService.getUserSendToDev(pmAttDevice.getDeviceCode(),subId,teamId,proId);
|
||||||
}
|
}
|
||||||
return pmAttDeviceMapper.updatePmAttDevice(pmAttDevice);
|
return pmAttDeviceMapper.updatePmAttDevice(pmAttDevice);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue