Commit db181c6bf2bf11d15f7ad7fbb0869f267007b8c0

Authored by xp.Huang
1 parent 71d742cd

fix: 脚本更新时,返回tenantId


(cherry picked from commit 9452d2b0)
@@ -179,6 +179,7 @@ public class TkDeviceScriptServiceImpl @@ -179,6 +179,7 @@ public class TkDeviceScriptServiceImpl
179 ModelConstants.TablePropertyMapping.UPDATE, 179 ModelConstants.TablePropertyMapping.UPDATE,
180 ModelConstants.TablePropertyMapping.UPDATE_TIME); 180 ModelConstants.TablePropertyMapping.UPDATE_TIME);
181 baseMapper.updateById(device); 181 baseMapper.updateById(device);
  182 + device.setTenantId(deviceDTO.getTenantId());
182 return device.getDTO(TkDeviceScriptDTO.class); 183 return device.getDTO(TkDeviceScriptDTO.class);
183 } 184 }
184 185