1、更新數據庫字段為空的有效寫法
//修改devic信息, 更新為空
? ? ? ? devicService.lambdaUpdate()
? ? ? ? ? ? ? ? .eq(Device::getSerial, serial)
? ? ? ? ? ? ? ? .set(Device::getStatus, StatusEnum.DISABLE.getCode() + "")
? ? ? ? ? ? ? ? .set(Device::getAdAccId, null)
? ? ? ? ? ? ? ? .set(Device::getUpdateTime, new Timestamp(System.currentTimeMillis()))
? ? ? ? ? ? ? ? .update();