国内管道气采购
This commit is contained in:
@ -69,6 +69,13 @@ public class LngContractPurPngPointSales implements Serializable {
|
||||
@ApiModelProperty("交割点编码")
|
||||
private String pointDelyCode;
|
||||
|
||||
/**
|
||||
* 交割点编码
|
||||
*/
|
||||
@ApiModelProperty("交割点名称")
|
||||
@TableField(exist = false)
|
||||
private String pointDelyName;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
@ -94,8 +94,9 @@ public class ContractPurPngServiceImpl extends MPJBaseServiceImpl<LngContractPur
|
||||
pp.setLngContractPurPngPointSalesList(list);
|
||||
List<String> names = Lists.newArrayList();
|
||||
for(LngContractPurPngPointSales ps:list) {
|
||||
String delyNames = lngContractPurPngPointMapper.getLngStationPngNameByCode(ps.getPointDelyCode());
|
||||
names.add(delyNames);
|
||||
String delyName = lngContractPurPngPointMapper.getLngStationPngNameByCode(ps.getPointDelyCode());
|
||||
ps.setPointDelyName(delyName);
|
||||
names.add(delyName);
|
||||
}
|
||||
if(CollectionUtil.isNotEmpty(names)) {
|
||||
pp.setPointDelyName(names.stream().collect(Collectors.joining(",")));
|
||||
|
||||
Reference in New Issue
Block a user