参数序列化问题4
This commit is contained in:
@@ -204,7 +204,21 @@ public class PpPackageServiceImpl extends ServiceImpl<PpPackageMapper, PpPackage
|
||||
|
||||
@Override
|
||||
public PpPackageVO convertPackageToVo(PpPackage ppPackage) {
|
||||
PpPackageVO packageVO = BeanUtil.copyProperties(ppPackage, PpPackageVO.class);
|
||||
PpPackageVO packageVO = new PpPackageVO();
|
||||
packageVO.setId(ppPackage.getId());
|
||||
packageVO.setShopId(ppPackage.getShopId());
|
||||
packageVO.setUseShopType(ppPackage.getUseShopType());
|
||||
packageVO.setUseShops(ppPackage.getUseShops());
|
||||
packageVO.setPackageName(ppPackage.getPackageName());
|
||||
packageVO.setDescription(ppPackage.getDescription());
|
||||
packageVO.setOriginPrice(ppPackage.getOriginPrice());
|
||||
packageVO.setPrice(ppPackage.getPrice());
|
||||
packageVO.setUseTimes(ppPackage.getUseTimes());
|
||||
packageVO.setOtherDesc(ppPackage.getOtherDesc());
|
||||
packageVO.setExpireHours(ppPackage.getExpireHours());
|
||||
packageVO.setOnlineStatus(ppPackage.getOnlineStatus());
|
||||
packageVO.setCreateTime(ppPackage.getCreateTime());
|
||||
packageVO.setUpdateTime(ppPackage.getUpdateTime());
|
||||
|
||||
packageVO.setUseWeeks(JSONArray.parseArray(ppPackage.getUseWeeks(), String.class));
|
||||
packageVO.setPackageContent(JSONArray.parseArray(ppPackage.getPackageContent(), PpPackageVO.PackageContent.class));
|
||||
|
||||
Reference in New Issue
Block a user