Commit 8c149b1f authored by 李驰骋's avatar 李驰骋

外协任务完工记录完工时间

parent dd087403
......@@ -40,6 +40,7 @@ import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.Calendar;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
......@@ -309,6 +310,7 @@ public class ProTaskAssistProcessServiceImpl implements IProTaskAssistProcessSer
if (feedback.getCloseType() == 1 || taskWorkunit.getQuantity().compareTo(taskWorkunit.getQuantityProduced()) <= 0) {
taskWorkunit.setStatus(TaskWorkunitStatusEnum.FINISHED.getStatus());
taskWorkunit.setActualEndDate(Calendar.getInstance().getTime());
proTaskWorkunitService.updateProTaskWorkunit(taskWorkunit);
}
......
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