Commit 5ee2f63b authored by 赵啸非's avatar 赵啸非

添加更新基础区域

parent 3438b077
...@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -136,6 +137,7 @@ public class BaseAreaServiceImpl extends AbstractCRUDServiceImpl<BaseAreaDao, Ba ...@@ -136,6 +137,7 @@ public class BaseAreaServiceImpl extends AbstractCRUDServiceImpl<BaseAreaDao, Ba
} else { } else {
//更新 //更新
BeanUtils.copyProperties(group, entity, BeanUtil.getNullPropertyNames(group)); BeanUtils.copyProperties(group, entity, BeanUtil.getNullPropertyNames(group));
entity.setUpdateTime(new Date());
this.update(entity); this.update(entity);
} }
} }
......
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