update:
1.change category attribution
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user