Commit 2f07340b authored by wei's avatar wei 🎱

Merge remote-tracking branch 'origin/master'

parents ffd32a44 d1e2c4ee
...@@ -13,6 +13,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -13,6 +13,7 @@ import io.swagger.annotations.ApiOperation;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.Objects;
import com.inet.dcs.document.common.vo.ExtReviewFeedbackVO; import com.inet.dcs.document.common.vo.ExtReviewFeedbackVO;
import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Qualifier;
...@@ -48,6 +49,7 @@ public class ExtReviewFeedbackServiceImpl<V extends ExtReviewFeedbackVO> impleme ...@@ -48,6 +49,7 @@ public class ExtReviewFeedbackServiceImpl<V extends ExtReviewFeedbackVO> impleme
private static final String START_PROCESS_BY_KEY = "ExtReviewFeedbackWF"; private static final String START_PROCESS_BY_KEY = "ExtReviewFeedbackWF";
/** /**
* 如果意见反馈状态为 已发布 若意见答复、落实情况、验证情况无值,则自动填充前面加已 * 如果意见反馈状态为 已发布 若意见答复、落实情况、验证情况无值,则自动填充前面加已
* *
...@@ -55,7 +57,7 @@ public class ExtReviewFeedbackServiceImpl<V extends ExtReviewFeedbackVO> impleme ...@@ -55,7 +57,7 @@ public class ExtReviewFeedbackServiceImpl<V extends ExtReviewFeedbackVO> impleme
* @param origin * @param origin
*/ */
@Override @Override
public void postUpdate(Collection<V> target, Collection<V> origin) { public void beforeUpdate(Collection<V> target, Collection<V> origin) {
for (ExtReviewFeedbackVO v : target) { for (ExtReviewFeedbackVO v : target) {
//已发布 //已发布
if (Constants.RELEASE.equalsIgnoreCase(v.getState())) { if (Constants.RELEASE.equalsIgnoreCase(v.getState())) {
......
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