Commit d1e2c4ee authored by wangyangyang's avatar wangyangyang

设计评审项:评审意见走完流程后 若是否手填意见为否,自动填充(加已-答复) 意见答复、落实情况、验证情况

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