设备默认type
This commit is contained in:
@@ -112,6 +112,7 @@ public class TbPrintMachineServiceImpl implements TbPrintMachineService {
|
|||||||
tbPrintMachine.setConfig(ListUtil.toString(resources.getConfig()));
|
tbPrintMachine.setConfig(ListUtil.toString(resources.getConfig()));
|
||||||
}
|
}
|
||||||
BeanUtils.copyProperties(resources,tbPrintMachine);
|
BeanUtils.copyProperties(resources,tbPrintMachine);
|
||||||
|
tbPrintMachine.setConnectionType("network");
|
||||||
return tbPrintMachineRepository.save(tbPrintMachine);
|
return tbPrintMachineRepository.save(tbPrintMachine);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user