Commit 43aff499 authored by wangyangyang's avatar wangyangyang

图册:excel转pdf

parent 71f7ef06
...@@ -122,6 +122,11 @@ public class Constants { ...@@ -122,6 +122,11 @@ public class Constants {
* 待审阅 * 待审阅
*/ */
public static final String PENDING_REVIEW = "pendingReview"; public static final String PENDING_REVIEW = "pendingReview";
/**
* 编制
*/
public static final String EDIT = "edit";
/** /**
* 修改中 * 修改中
*/ */
......
...@@ -244,7 +244,7 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService { ...@@ -244,7 +244,7 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
for (int i = 0; i < drawingLinks.size(); i++) { for (int i = 0; i < drawingLinks.size(); i++) {
ExtAtlasDrawingLinkVO item = drawingLinks.get(i); ExtAtlasDrawingLinkVO item = drawingLinks.get(i);
DxDocumentVO doc = item.getTarget(); DxDocumentVO doc = item.getTarget();
if (Constants.PENDING_REVIEW.equals(doc.getState()) || docState.equals(doc.getState())) { if (Constants.EDIT.equals(doc.getState()) || Constants.PENDING_REVIEW.equals(doc.getState()) || docState.equals(doc.getState())) {
doc.setState(finalState); doc.setState(finalState);
//设置修改人和时间不变 //设置修改人和时间不变
doc.markModifyIdHold(); doc.markModifyIdHold();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment