修复更改PLC版本时不生效的问题
This commit is contained in:
parent
527bb45705
commit
37476b94ba
|
|
@ -103,6 +103,7 @@ public class AppBasePlcDao extends ServiceImpl<AppBasePlcMapper, AppBasePlc> imp
|
|||
updateWrapper.eq(AppBasePlc::getPlcId, appBasePlc.getPlcId());
|
||||
updateWrapper.set(AppStringUtils.isNotEmpty(appBasePlc.getPlcName()), AppBasePlc::getPlcName, appBasePlc.getPlcName())
|
||||
.set(appBasePlc.getPlcType() != null, AppBasePlc::getPlcType, appBasePlc.getPlcType())
|
||||
.set(appBasePlc.getPlcVersion() != null, AppBasePlc::getPlcVersion, appBasePlc.getPlcVersion())
|
||||
.set(appBasePlc.getPlcStatus() != null, AppBasePlc::getPlcStatus, appBasePlc.getPlcStatus())
|
||||
.set(AppStringUtils.isNotEmpty(appBasePlc.getIp()), AppBasePlc::getIp, appBasePlc.getIp())
|
||||
.set(appBasePlc.getPort() != null, AppBasePlc::getPort, appBasePlc.getPort())
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user