|
|
|
@ -5043,8 +5043,8 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
if (itemEntity!=null){ |
|
|
|
itemEntity.setCategoryCode(dto.getCategoryId()); |
|
|
|
itemEntity.setCategoryFullCode(dto.getCategoryFullId()); |
|
|
|
if (StringUtils.isNotBlank(dto.getCategoryName())){ |
|
|
|
itemEntity.setCategoryFullName(dto.getCategoryName()); |
|
|
|
if (StringUtils.isNotBlank(dto.getCategoryLabel())){ |
|
|
|
itemEntity.setCategoryFullName(dto.getCategoryLabel()); |
|
|
|
} |
|
|
|
baseDao.updateById(itemEntity); |
|
|
|
}else { |
|
|
|
|