Commit fdbf9938 authored by 周昊's avatar 周昊

1、app端现有风险新建添加创建时间

parent 35b3bb8a
...@@ -17,6 +17,7 @@ import org.springframework.stereotype.Service; ...@@ -17,6 +17,7 @@ import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.Arrays; import java.util.Arrays;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -77,6 +78,7 @@ public class RiskPlanExistingListServiceImpl ...@@ -77,6 +78,7 @@ public class RiskPlanExistingListServiceImpl
BeanUtils.copyProperties(saveDto, existingList); BeanUtils.copyProperties(saveDto, existingList);
existingList.setMeasuresDeptId(saveDto.getMeasuresDeptLongId()); existingList.setMeasuresDeptId(saveDto.getMeasuresDeptLongId());
existingList.setMeasuresUserId(saveDto.getMeasuresUserLongId()); existingList.setMeasuresUserId(saveDto.getMeasuresUserLongId());
existingList.setCreateTime(new Date());
return saveOrUpdate(existingList); return saveOrUpdate(existingList);
} }
} }
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