fix: 类型转化
parent
5864cf1dc2
commit
4595f1f39a
|
@ -28,7 +28,7 @@ public class ChannelConfigBo extends BaseDto {
|
||||||
private String title;
|
private String title;
|
||||||
|
|
||||||
@ApiModelProperty(value="通道配置参数")
|
@ApiModelProperty(value="通道配置参数")
|
||||||
@AutoMapping(ignore = true)
|
@AutoMapping(target = "param", expression = "java(cc.iotkit.common.utils.JsonUtils.parse(source.getParam(), ChannelConfig.ChannelParam.class))")
|
||||||
private String param;
|
private String param;
|
||||||
|
|
||||||
@ApiModelProperty(value="创建时间")
|
@ApiModelProperty(value="创建时间")
|
||||||
|
|
|
@ -34,8 +34,8 @@ public class ChannelConfigVo implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(value="通道配置参数")
|
@ApiModelProperty(value="通道配置参数")
|
||||||
@ExcelProperty(value = "通道配置参数")
|
@ExcelProperty(value = "通道配置参数")
|
||||||
@AutoMapping(ignore = true)
|
@ReverseAutoMapping(target = "param", expression = "java(cc.iotkit.common.utils.JsonUtils.toJsonString(source.getParam()))")
|
||||||
@ReverseAutoMapping(ignore = true)
|
@AutoMapping(target = "param", expression = "java(cc.iotkit.common.utils.JsonUtils.parse(source.getParam(), ChannelConfig.ChannelParam.class))")
|
||||||
private String param;
|
private String param;
|
||||||
|
|
||||||
@ApiModelProperty(value="创建时间")
|
@ApiModelProperty(value="创建时间")
|
||||||
|
|
Loading…
Reference in New Issue