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.modules.kiosk.pojo.entity.PriceListEntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.PriceListVO;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
@@ -37,16 +38,16 @@ import java.util.Objects;
|
||||
* @author Ray
|
||||
* @since 2025-10-13
|
||||
*/
|
||||
public class PriceListWrapper extends BaseEntityWrapper<PriceListEntity, PriceListVO> {
|
||||
public class PriceListWrapper extends BaseEntityWrapper<PriceListEntity, PriceListVO> {
|
||||
|
||||
public static PriceListWrapper build() {
|
||||
return new PriceListWrapper();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public PriceListVO entityVO(PriceListEntity priceList) {
|
||||
PriceListVO priceListVO = Objects.requireNonNull(BeanUtil.copyProperties(priceList, PriceListVO.class));
|
||||
|
||||
priceListVO.setCsize(priceList.getSize());
|
||||
//User createUser = UserCache.getUser(priceList.getCreateUser());
|
||||
//User updateUser = UserCache.getUser(priceList.getUpdateUser());
|
||||
//priceListVO.setCreateUserName(createUser.getName());
|
||||
|
||||
Reference in New Issue
Block a user