fix: 类型转化

V0.5.x
jay 2023-06-16 19:12:53 +08:00
parent 5864cf1dc2
commit 4595f1f39a
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ public class ChannelConfigBo extends BaseDto {
private String title;
@ApiModelProperty(value="通道配置参数")
@AutoMapping(ignore = true)
@AutoMapping(target = "param", expression = "java(cc.iotkit.common.utils.JsonUtils.parse(source.getParam(), ChannelConfig.ChannelParam.class))")
private String param;
@ApiModelProperty(value="创建时间")

View File

@ -34,8 +34,8 @@ public class ChannelConfigVo implements Serializable {
@ApiModelProperty(value="通道配置参数")
@ExcelProperty(value = "通道配置参数")
@AutoMapping(ignore = true)
@ReverseAutoMapping(ignore = true)
@ReverseAutoMapping(target = "param", expression = "java(cc.iotkit.common.utils.JsonUtils.toJsonString(source.getParam()))")
@AutoMapping(target = "param", expression = "java(cc.iotkit.common.utils.JsonUtils.parse(source.getParam(), ChannelConfig.ChannelParam.class))")
private String param;
@ApiModelProperty(value="创建时间")