认证-参数项收集-变更:责任领域bug修改

This commit is contained in:
liyawei
2022-07-18 11:51:20 +08:00
parent 32e31574bf
commit 66acb9c18c
2 changed files with 8 additions and 7 deletions
@@ -1,8 +1,6 @@
package com.jero.modules.cert.collect.entity;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
@@ -121,7 +119,6 @@ public class ParamsCollectManifestBaseEO implements Serializable {
/**工程接口人*/
@Excel(name = "工程接口人", width = 15)
@ApiModelProperty(value = "工程接口人")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private String sdt;
/**填写人*/
@@ -382,7 +382,11 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
sdtMap.put("id", collectManifestEO.getId());
sdtMap.put("state", collectManifestEO.getState());
sdtMap.put("dutyTerritory", StringUtils.join(dutyTerritory, ","));
sdtMap.put("dataValue", collectManifestEO.getSdt());
if (StringUtils.isNotBlank(collectManifestEO.getSdt())) {
sdtMap.put("dataValue", collectManifestEO.getSdt());
} else {
sdtMap.put("dataValue", null);
}
manifestMap.put("sdt", sdtMap);
// 配置列名数组
@@ -1227,13 +1231,13 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
if (ObjectUtil.isNotEmpty(sysUser)) {
updateEO.setSdt(sysUser.getUsername()); // 设置工程接口人
} else {
updateEO.setSdt(null); // 设置工程接口人
updateEO.setSdt(""); // 设置工程接口人
}
} else {
updateEO.setSdt(null); // 设置工程接口人
updateEO.setSdt(""); // 设置工程接口人
}
} else {
updateEO.setSdt(null); // 设置工程接口人
updateEO.setSdt(""); // 设置工程接口人
}
return updateById(updateEO);