提交 1bcf2a29 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 cf0475f5
...@@ -145,10 +145,10 @@ public class TypographicServiceImpl extends BaseServiceImpl<BookTypographicDesig ...@@ -145,10 +145,10 @@ public class TypographicServiceImpl extends BaseServiceImpl<BookTypographicDesig
super.updateByPrimaryKey(design); super.updateByPrimaryKey(design);
//数据推送 // //数据推送
if (TypographicEnum.DESIGN_COMPLETE.getCode().equals(form.getStage()) && StringUtils.isNotBlank(design.getSubjectNum())) { // if (TypographicEnum.DESIGN_COMPLETE.getCode().equals(form.getStage()) && StringUtils.isNotBlank(design.getSubjectNum())) {
relationManage.updateStatusAndPushData(design.getId(), ProcessStageEnum.TYPESETTING); // relationManage.updateStatusAndPushData(design.getId(), ProcessStageEnum.TYPESETTING);
} // }
} }
return true; return true;
...@@ -187,6 +187,10 @@ public class TypographicServiceImpl extends BaseServiceImpl<BookTypographicDesig ...@@ -187,6 +187,10 @@ public class TypographicServiceImpl extends BaseServiceImpl<BookTypographicDesig
bookTypographicDesign.setCheckName(redis.getUser().getUserName()); bookTypographicDesign.setCheckName(redis.getUser().getUserName());
bookTypographicDesign.setCheckTime(new Date()); bookTypographicDesign.setCheckTime(new Date());
mapper.updateByPrimaryKeySelective(bookTypographicDesign); mapper.updateByPrimaryKeySelective(bookTypographicDesign);
//数据推送
if ("1".equals(form.getAuditStatus()) && StringUtils.isNotBlank(bookTypographicDesign.getSubjectNum())) {
relationManage.updateStatusAndPushData(bookTypographicDesign.getId(), ProcessStageEnum.TYPESETTING);
}
}); });
return true; return true;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论