@ -57,8 +57,13 @@ public class CostStatisticsEntity extends BaseEntity {
/**
* 作业中心名称
*/
@Schema(description = "作业中心名称")
@Schema(description = "作业中心编码")
private String workCenterName;
private String workCenterCode;
* 月份
@ -140,6 +140,7 @@ public class CostStatisticsServiceImpl extends BaseServiceImpl<CostStatisticsMap
}
CostStatisticsEntity entity = new CostStatisticsEntity();
entity.setWorkCenterId(workCenter.getId());
entity.setWorkCenterCode(workCenter.getWcCode());
entity.setWorkCenterName(workCenter.getWcName());
entity.setMonth(month);
entity.setProductCost(productCost);