fix: 茅台预约商品,增加字段展示。
This commit is contained in:
@@ -14,4 +14,6 @@ import io.swagger.annotations.ApiModel;
|
||||
public class IItemVo extends IItem
|
||||
{
|
||||
|
||||
private String itemCodeTitle;
|
||||
|
||||
}
|
||||
|
||||
@@ -45,7 +45,12 @@ public class IItemServiceImpl implements IIItemService
|
||||
@Override
|
||||
public List<IItemVo> selectIItemList(IItemDto iItemDto)
|
||||
{
|
||||
return iItemMapper.selectIItemList(iItemDto);
|
||||
List<IItemVo> list=iItemMapper.selectIItemList(iItemDto);
|
||||
//修改名称加卡号
|
||||
for (IItemVo item : list) {
|
||||
item.setItemCodeTitle(item.getTitle()+"("+item.getItemCode()+")");
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user