1.change category attribution
This commit is contained in:
2025-11-15 03:40:49 +08:00
parent c5fe5421fa
commit f459e85c2e

View File

@@ -29,6 +29,7 @@ import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil; import org.springblade.core.tool.utils.BeanUtil;
import org.springblade.modules.kiosk.pojo.entity.PriceListEntity; import org.springblade.modules.kiosk.pojo.entity.PriceListEntity;
import org.springblade.modules.kiosk.pojo.vo.PriceListVO; import org.springblade.modules.kiosk.pojo.vo.PriceListVO;
import java.util.Objects; import java.util.Objects;
/** /**
@@ -46,7 +47,7 @@ public class PriceListWrapper extends BaseEntityWrapper<PriceListEntity, PriceLi
@Override @Override
public PriceListVO entityVO(PriceListEntity priceList) { public PriceListVO entityVO(PriceListEntity priceList) {
PriceListVO priceListVO = Objects.requireNonNull(BeanUtil.copyProperties(priceList, PriceListVO.class)); PriceListVO priceListVO = Objects.requireNonNull(BeanUtil.copyProperties(priceList, PriceListVO.class));
priceListVO.setCsize(priceList.getSize());
//User createUser = UserCache.getUser(priceList.getCreateUser()); //User createUser = UserCache.getUser(priceList.getCreateUser());
//User updateUser = UserCache.getUser(priceList.getUpdateUser()); //User updateUser = UserCache.getUser(priceList.getUpdateUser());
//priceListVO.setCreateUserName(createUser.getName()); //priceListVO.setCreateUserName(createUser.getName());