提交 79574568 authored 作者: 刘海泉's avatar 刘海泉

Merge remote-tracking branch 'origin/v30.2_break_contract_20241021' into dev_jdk17

...@@ -73,13 +73,13 @@ public class OrderChildExceptionReport implements HasKey<Integer> { ...@@ -73,13 +73,13 @@ public class OrderChildExceptionReport implements HasKey<Integer> {
private String reason; private String reason;
@TableField("picture_url") @TableField("picture_url_json")
@Schema(description="图片") @Schema(description="图片")
private String pictureUrl; private String pictureUrlJson;
@TableField("video_url") @TableField("video_url_json")
@Schema(description="视频") @Schema(description="视频")
private String videoUrl; private String videoUrlJson;
@TableField("deal_user_code") @TableField("deal_user_code")
@Schema(description="处理人用户编码") @Schema(description="处理人用户编码")
......
...@@ -80,8 +80,8 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio ...@@ -80,8 +80,8 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio
@Override @Override
public Result<String> smbSyncExceptionReportInfo(SmbSyncExceptionReportInfoAction action) { public Result<String> smbSyncExceptionReportInfo(SmbSyncExceptionReportInfoAction action) {
OrderChildExceptionReport report = orderChildExceptionReportStruct.convertInfoSmbAction(action); OrderChildExceptionReport report = orderChildExceptionReportStruct.convertInfoSmbAction(action);
report.setPictureUrl(JSON.toJSONString(action.getPictureUrl())); report.setPictureUrlJson(JSON.toJSONString(action.getPictureUrl()));
report.setVideoUrl(JSON.toJSONString(action.getVideoUrl())); report.setVideoUrlJson(JSON.toJSONString(action.getVideoUrl()));
report.setExceptionCategory(action.getOneLevelName()); report.setExceptionCategory(action.getOneLevelName());
report.setExceptionType(action.getTwoLevelName() + action.getThreeLevelName()); report.setExceptionType(action.getTwoLevelName() + action.getThreeLevelName());
return Result.ok(saveExceptionReportInfo(report, SyncPlatformEnum.Source.TRADE_PLATFORM.getCode())); return Result.ok(saveExceptionReportInfo(report, SyncPlatformEnum.Source.TRADE_PLATFORM.getCode()));
...@@ -103,8 +103,8 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio ...@@ -103,8 +103,8 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio
@Override @Override
public Result<String> mslSyncExceptionReportInfo(MslSyncExceptionReportInfoAction action) { public Result<String> mslSyncExceptionReportInfo(MslSyncExceptionReportInfoAction action) {
OrderChildExceptionReport report = orderChildExceptionReportStruct.convertInfoMslAction(action); OrderChildExceptionReport report = orderChildExceptionReportStruct.convertInfoMslAction(action);
report.setPictureUrl(JSON.toJSONString(action.getPictureUrl())); report.setPictureUrlJson(JSON.toJSONString(action.getPictureUrl()));
report.setVideoUrl(JSON.toJSONString(action.getVideoUrl())); report.setVideoUrlJson(JSON.toJSONString(action.getVideoUrl()));
return Result.ok(saveExceptionReportInfo(report, SyncPlatformEnum.Source.NEW_OWNER_CLIENT.getCode())); return Result.ok(saveExceptionReportInfo(report, SyncPlatformEnum.Source.NEW_OWNER_CLIENT.getCode()));
} }
...@@ -354,8 +354,8 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio ...@@ -354,8 +354,8 @@ public class OrderChildExceptionReportServiceImpl implements OrderChildExceptio
OrderChildExceptionReport report = orderChildExceptionReportDao.getEntityByKey(id).orElseThrow( OrderChildExceptionReport report = orderChildExceptionReportDao.getEntityByKey(id).orElseThrow(
ResultEnum.DATA_NOT_FIND); ResultEnum.DATA_NOT_FIND);
OrderChildExceptionReportVO vo = orderChildExceptionReportStruct.convert(report); OrderChildExceptionReportVO vo = orderChildExceptionReportStruct.convert(report);
vo.setVideoUrlList(JSON.parseArray(report.getVideoUrl(),String.class)); vo.setVideoUrlList(JSON.parseArray(report.getVideoUrlJson(),String.class));
vo.setPictureUrlList(JSON.parseArray(report.getPictureUrl(),String.class)); vo.setPictureUrlList(JSON.parseArray(report.getPictureUrlJson(),String.class));
Optional<OrderChildExceptionReportDealLog> limitOneByField = orderChildExceptionReportDealLogDao.getLimitOneByField( Optional<OrderChildExceptionReportDealLog> limitOneByField = orderChildExceptionReportDealLogDao.getLimitOneByField(
OrderChildExceptionReportDealLog::getReportNo, report.getReportNo()); OrderChildExceptionReportDealLog::getReportNo, report.getReportNo());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论