设备默认type

This commit is contained in:
liuyingfang 2024-03-13 15:14:30 +08:00
parent a3da1826fa
commit fa2ab6008e
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ public class TbPrintMachineServiceImpl implements TbPrintMachineService {
tbPrintMachine.setConfig(ListUtil.toString(resources.getConfig()));
}
BeanUtils.copyProperties(resources,tbPrintMachine);
tbPrintMachine.setConnectionType("network");
return tbPrintMachineRepository.save(tbPrintMachine);
}