Commit 8006b4b3 authored by 朱晨阳's avatar 朱晨阳

待发货电站新建发货单时电站列表添加字段

parent 301af706
......@@ -7,6 +7,8 @@ import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.List;
/**
*
*
......@@ -54,4 +56,10 @@ public class DocumentStation extends BaseEntity {
*/
@TableField("project_address_name")
private String projectAddressName;
@TableField(exist = false)
private String scale;
@TableField(exist = false)
private String realScale;
}
......@@ -1233,6 +1233,13 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
documentStation.setOwnersName(e.getOwnersName());
documentStation.setDeveloperName(e.getDeveloperName());
documentStation.setPeasantHouseholdNo(e.getPeasantHouseholdNo());
if(e.getPeasantHouseholdNo() != null) {
documentStation.setScale(householdContractMapper.getHygfCommercialScale(e.getPeasantHouseholdNo()));
documentStation.setRealScale(powerStationEngineeringInfoMapper.getRealScaleByPeasantHouseholdNo(e.getPeasantHouseholdNo()));
}
documentStation.setProjectAddressName(e.getProjectAddressName()+"/"+e.getProjectAddressDetail());
stations.add(documentStation);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment