fix: 类型转化
parent
5864cf1dc2
commit
4595f1f39a
|
@ -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="创建时间")
|
||||
|
|
|
@ -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="创建时间")
|
||||
|
|
Loading…
Reference in New Issue