新建分组初始化排序字段
This commit is contained in:
parent
b315c23402
commit
40bc9f45da
|
|
@ -88,7 +88,7 @@ public class TbProductGroupServiceImpl implements TbProductGroupService {
|
|||
resources.setCreatedAt(Instant.now().toEpochMilli());
|
||||
resources.setUpdatedAt(Instant.now().toEpochMilli());
|
||||
TbProductGroup save = tbProductGroupRepository.save(resources);
|
||||
save.setSort(save.getId());
|
||||
resources.setSort(save.getId());
|
||||
return tbProductGroupMapper.toDto(tbProductGroupRepository.save(resources));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue