张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.thhy.materials.modules.biz.pipeplan.entity;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thhy.general.annotations.Idkey;
import lombok.Data;
 
import java.io.Serializable;
 
@Data
public class PipePlanListVo implements Serializable {
    /**
     * 计划ID
     */
 
    @Idkey
    private String planId;
 
 
    /**
     * 项目ID
     */
 
 
    private String proId;
 
    private String proName;
 
    /**
     * 年份
     */
 
 
    private Integer planYear;
 
    /**
     * 计划生产  单位环
     */
 
 
    private double planProduct;
 
    /**
     * 尺寸字典
     */
 
 
    private String size;
 
    private String sizeName;
 
    //private String planProductStr;
    @JsonIgnore
    private PlanMonthCal plan;
    @JsonIgnore
    private PlanMonthCal producted;
 
    private String[] planProductArray;
 
    public String[] getPlanProductArray() {
        String[] array = plan.getResultStr().split(",");
        array[array.length-1] = plan.getResultSum();
        return array;
    }
 
    private String[] productedArray;
 
    public String[] getProductedArray() {
        String[] array = producted.getResultStr().split(",");
        array[array.length-1] = producted.getResultSum();
        return array;
    }
}