|
|
@@ -750,7 +750,7 @@ public class TextdictInfoController extends BladeController {
|
|
|
if (!updateList.isEmpty()) {
|
|
|
for (TextdictInfo info : updateList) {
|
|
|
this.textdictInfoService.update(Wrappers.<TextdictInfo>lambdaUpdate().eq(TextdictInfo::getId, info.getId()).eq(TextdictInfo::getProjectId, info.getProjectId())
|
|
|
- .eq(TextdictInfo::getExcelId, info.getExcelId()).eq(TextdictInfo::getSigRoleId, info.getSigRoleId())
|
|
|
+ .set(info.getExcelId() != null ,TextdictInfo::getExcelId, info.getExcelId()).set(info.getSigRoleId() != null ,TextdictInfo::getSigRoleId, info.getSigRoleId())
|
|
|
.set(info.getName() != null ,TextdictInfo::getName, info.getName())
|
|
|
.set(info.getType() != null ,TextdictInfo::getType, info.getType())
|
|
|
.set(info.getColName() != null, TextdictInfo::getColName, info.getColName())
|