ソースを参照

优化单行查询(结果集映射)

bgy 1 年間 前
コミット
fe4b315987

+ 2
- 2
qomo-kn-cost-manage-start/src/main/resources/application-dev.yml ファイルの表示

296
     #webapp文件路径
296
     #webapp文件路径
297
     webapp: /opt/webapp
297
     webapp: /opt/webapp
298
   shiro:
298
   shiro:
299
-#    excludeUrls: /api/internalService/**,/test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo,/sys/sysDepart/**,/taskSocket/**,/flowSocket/**,/dataCheck/**
300
-      excludeUrls: /**/**,/**/**/**
299
+    excludeUrls: /api/internalService/**,/test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo,/sys/sysDepart/**,/taskSocket/**,/flowSocket/**,/dataCheck/**
300
+#      excludeUrls: /**/**,/**/**/**
301
 
301
 
302
   #阿里云oss存储和大鱼短信秘钥配置
302
   #阿里云oss存储和大鱼短信秘钥配置
303
   oss:
303
   oss:

+ 43
- 3
qomo-kn-cost-manage/src/main/java/com/zzsmart/qomo/kn/cost/manage/controller/AppSceneCostStandardResultController.java ファイルの表示

6
 import com.zzsmart.qomo.kn.cost.manage.entity.AppSceneCostStandardDetail;
6
 import com.zzsmart.qomo.kn.cost.manage.entity.AppSceneCostStandardDetail;
7
 import com.zzsmart.qomo.kn.cost.manage.entity.AppSceneCostStandardResult;
7
 import com.zzsmart.qomo.kn.cost.manage.entity.AppSceneCostStandardResult;
8
 import com.zzsmart.qomo.kn.cost.manage.service.IAppSceneCostStandardResultService;
8
 import com.zzsmart.qomo.kn.cost.manage.service.IAppSceneCostStandardResultService;
9
+import com.zzsmart.qomo.kn.cost.manage.vo.AppSceneCostStandardResultVO;
9
 import io.swagger.annotations.Api;
10
 import io.swagger.annotations.Api;
10
 import io.swagger.annotations.ApiOperation;
11
 import io.swagger.annotations.ApiOperation;
11
 import lombok.extern.slf4j.Slf4j;
12
 import lombok.extern.slf4j.Slf4j;
12
 import org.jeecg.common.api.vo.Result;
13
 import org.jeecg.common.api.vo.Result;
13
 import org.jeecg.common.system.base.controller.JeecgController;
14
 import org.jeecg.common.system.base.controller.JeecgController;
14
 import org.jeecg.common.system.query.QueryGenerator;
15
 import org.jeecg.common.system.query.QueryGenerator;
16
+import org.springframework.beans.BeanUtils;
15
 import org.springframework.beans.factory.annotation.Autowired;
17
 import org.springframework.beans.factory.annotation.Autowired;
16
 import org.springframework.web.bind.annotation.GetMapping;
18
 import org.springframework.web.bind.annotation.GetMapping;
17
 import org.springframework.web.bind.annotation.RequestMapping;
19
 import org.springframework.web.bind.annotation.RequestMapping;
20
 import org.springframework.web.servlet.ModelAndView;
22
 import org.springframework.web.servlet.ModelAndView;
21
 
23
 
22
 import javax.servlet.http.HttpServletRequest;
24
 import javax.servlet.http.HttpServletRequest;
25
+import java.util.ArrayList;
26
+import java.util.List;
23
 
27
 
24
 /**
28
 /**
25
  * @Description: app_scene_cost_standard_detail
29
  * @Description: app_scene_cost_standard_detail
47
     //@AutoLog(value = "app_scene_cost_standard_detail-分页列表查询")
51
     //@AutoLog(value = "app_scene_cost_standard_detail-分页列表查询")
48
     @ApiOperation(value = "app_scene_cost_standard_detail-分页列表查询", notes = "app_scene_cost_standard_detail-分页列表查询")
52
     @ApiOperation(value = "app_scene_cost_standard_detail-分页列表查询", notes = "app_scene_cost_standard_detail-分页列表查询")
49
     @GetMapping(value = "/list")
53
     @GetMapping(value = "/list")
50
-    public Result<IPage<AppSceneCostStandardResult>> queryPageList(AppSceneCostStandardResult appSceneCostStandardResult, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, HttpServletRequest req) {
54
+    public Result<IPage<AppSceneCostStandardResultVO>> queryPageList(AppSceneCostStandardResult appSceneCostStandardResult, @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, HttpServletRequest req) {
51
         QueryWrapper<AppSceneCostStandardResult> queryWrapper = QueryGenerator.initQueryWrapper(appSceneCostStandardResult, req.getParameterMap());
55
         QueryWrapper<AppSceneCostStandardResult> queryWrapper = QueryGenerator.initQueryWrapper(appSceneCostStandardResult, req.getParameterMap());
52
         Page<AppSceneCostStandardResult> page = new Page<AppSceneCostStandardResult>(pageNo, pageSize);
56
         Page<AppSceneCostStandardResult> page = new Page<AppSceneCostStandardResult>(pageNo, pageSize);
53
         IPage<AppSceneCostStandardResult> pageList = appSceneCostStandardResultService.page(page, queryWrapper);
57
         IPage<AppSceneCostStandardResult> pageList = appSceneCostStandardResultService.page(page, queryWrapper);
54
-        return Result.OK(pageList);
58
+        IPage<AppSceneCostStandardResultVO> newpageList = new Page<>();
59
+        BeanUtils.copyProperties(pageList, newpageList);
60
+        List<AppSceneCostStandardResult> list = pageList.getRecords();
61
+        List<AppSceneCostStandardResultVO> newList = new ArrayList<>();
62
+        for (int i = 0; i < list.size(); i++) {
63
+            AppSceneCostStandardResult result = list.get(i);
64
+            AppSceneCostStandardResultVO costStandardDetail = AppSceneCostStandardResultVO.builder()
65
+                    .materialNumber(result.getMaterialNumber())
66
+//                    .materialName(oldAppSceneCostResultValue.getMarterialNo())
67
+                    .parentMaterialNumber(result.getParentMatnr())
68
+                    .versionNumber(result.getVersionNumber())
69
+//                    .level()
70
+//                    .sort()
71
+//                    .figureNumber()
72
+//                    .dosage(oldAppSceneCostResultValue.getNum() != null ? new Double(oldAppSceneCostResultValue.getNum()) : 0)
73
+//                    .unit(oldAppSceneCostResultValue.getUnit())
74
+                    .materialCost(result.getMaterialCostStage())
75
+                    .laborCost(result.getLaborCostStage())
76
+                    .equipmentCost(result.getEquipCostStage())
77
+                    .supplyMaterialCost(result.getAuxiliaryCostStage())
78
+                    .driveCost(result.getBurningCostStage())
79
+                    .logisticsCost(result.getStageLogisticsCost())
80
+                    .otherCost(result.getOtherCostStage())
81
+                    .currentStandardCost(result.getTotalStandardCostInter())
82
+                    .totalMaterialCost(result.getMaterialCostAccumulated())
83
+                    .totalLaborCost(result.getLaborCostAccumulated())
84
+                    .totalEquipmentCost(result.getEquipCostAccumulated())
85
+                    .totalSupplyMaterialCost(result.getAuxiliaryCostAccumulated())
86
+                    .totalDriveCost(result.getBurningCostAccumulated())
87
+                    .totalLogisticsCost(result.getTotalLogisticsCost())
88
+                    .totalOtherCost(result.getOtherCostAccumulated())
89
+                    .totalStandardCost(result.getTotalStandardCost())
90
+                    .createTime(result.getCreatedTime()).build();
91
+            newList.add(costStandardDetail);
92
+        }
93
+        newpageList.setRecords(newList);
94
+        return Result.OK(newpageList);
55
     }
95
     }
56
 //
96
 //
57
 //    /**
97
 //    /**
138
      * @param appSceneCostStandardDetail
178
      * @param appSceneCostStandardDetail
139
      */
179
      */
140
 //    //@RequiresPermissions("com.zzsmart.qomo.kn.cost.manage:app_scene_cost_standard_detail:exportXls")
180
 //    //@RequiresPermissions("com.zzsmart.qomo.kn.cost.manage:app_scene_cost_standard_detail:exportXls")
141
-    @RequestMapping(value = "/exportXls")
181
+    @GetMapping(value = "/exportXls")
142
     @ApiOperation(value = "cost-单行查询导出", notes = "cost-单行查询导出")
182
     @ApiOperation(value = "cost-单行查询导出", notes = "cost-单行查询导出")
143
     public ModelAndView exportXls(HttpServletRequest request, AppSceneCostStandardResult appSceneCostStandardDetail) {
183
     public ModelAndView exportXls(HttpServletRequest request, AppSceneCostStandardResult appSceneCostStandardDetail) {
144
         return super.exportXls(request, appSceneCostStandardDetail, AppSceneCostStandardResult.class, "标准成本单行导出");
184
         return super.exportXls(request, appSceneCostStandardDetail, AppSceneCostStandardResult.class, "标准成本单行导出");

+ 97
- 35
qomo-kn-cost-manage/src/main/java/com/zzsmart/qomo/kn/cost/manage/entity/AppSceneCostStandardDetail.java ファイルの表示

32
 public class AppSceneCostStandardDetail implements Serializable {
32
 public class AppSceneCostStandardDetail implements Serializable {
33
     private static final long serialVersionUID = 1L;
33
     private static final long serialVersionUID = 1L;
34
 
34
 
35
-    /**id*/
35
+    /**
36
+     * id
37
+     */
36
     @TableId(type = IdType.ASSIGN_ID)
38
     @TableId(type = IdType.ASSIGN_ID)
37
     @ApiModelProperty(value = "id")
39
     @ApiModelProperty(value = "id")
38
     private String id;
40
     private String id;
39
-    /**图号*/
41
+    /**
42
+     * 图号
43
+     */
40
     @Excel(name = "图号", width = 15)
44
     @Excel(name = "图号", width = 15)
41
     @ApiModelProperty(value = "图号")
45
     @ApiModelProperty(value = "图号")
42
     private String figureNumber;
46
     private String figureNumber;
43
-    /**物料号,关联kn_new_sap_mara表matnr字段*/
47
+    /**
48
+     * 物料号,关联kn_new_sap_mara表matnr字段
49
+     */
44
     @Excel(name = "物料号,关联kn_new_sap_mara表matnr字段", width = 15)
50
     @Excel(name = "物料号,关联kn_new_sap_mara表matnr字段", width = 15)
45
     @ApiModelProperty(value = "物料号,关联kn_new_sap_mara表matnr字段")
51
     @ApiModelProperty(value = "物料号,关联kn_new_sap_mara表matnr字段")
46
     private String materialNumber;
52
     private String materialNumber;
47
-    /**物料名称*/
53
+    /**
54
+     * 物料名称
55
+     */
48
     @Excel(name = "物料名称", width = 15)
56
     @Excel(name = "物料名称", width = 15)
49
     @ApiModelProperty(value = "物料名称")
57
     @ApiModelProperty(value = "物料名称")
50
     private String materialName;
58
     private String materialName;
51
-    /**父类物料号*/
59
+    /**
60
+     * 父类物料号
61
+     */
52
     @Excel(name = "父类物料号", width = 15)
62
     @Excel(name = "父类物料号", width = 15)
53
     @ApiModelProperty(value = "父类物料号")
63
     @ApiModelProperty(value = "父类物料号")
54
     private String parentMaterialNumber;
64
     private String parentMaterialNumber;
55
-    /**版本号*/
65
+    /**
66
+     * 版本号
67
+     */
56
     @Excel(name = "版本号", width = 15)
68
     @Excel(name = "版本号", width = 15)
57
     @ApiModelProperty(value = "版本号")
69
     @ApiModelProperty(value = "版本号")
58
     private String versionNumber;
70
     private String versionNumber;
59
-    /**层级*/
71
+    /**
72
+     * 层级
73
+     */
60
     @Excel(name = "层级", width = 15)
74
     @Excel(name = "层级", width = 15)
61
     @ApiModelProperty(value = "层级")
75
     @ApiModelProperty(value = "层级")
62
     private Integer level;
76
     private Integer level;
63
-    /**序号*/
77
+    /**
78
+     * 序号
79
+     */
64
     @Excel(name = "序号", width = 15)
80
     @Excel(name = "序号", width = 15)
65
     @ApiModelProperty(value = "序号")
81
     @ApiModelProperty(value = "序号")
66
     private Integer sort;
82
     private Integer sort;
67
-    /**用量*/
83
+    /**
84
+     * 用量
85
+     */
68
     @Excel(name = "用量", width = 15)
86
     @Excel(name = "用量", width = 15)
69
     @ApiModelProperty(value = "用量")
87
     @ApiModelProperty(value = "用量")
70
     private Double dosage;
88
     private Double dosage;
71
-    /**单位*/
89
+    /**
90
+     * 单位
91
+     */
72
     @Excel(name = "单位", width = 15)
92
     @Excel(name = "单位", width = 15)
73
     @ApiModelProperty(value = "单位")
93
     @ApiModelProperty(value = "单位")
74
     private String unit;
94
     private String unit;
75
-    /**本阶材料费*/
95
+    /**
96
+     * 本阶材料费
97
+     */
76
     @Excel(name = "本阶材料费", width = 15)
98
     @Excel(name = "本阶材料费", width = 15)
77
     @ApiModelProperty(value = "本阶材料费")
99
     @ApiModelProperty(value = "本阶材料费")
78
     private BigDecimal materialCost;
100
     private BigDecimal materialCost;
79
-    /**本阶人工费*/
101
+    /**
102
+     * 本阶人工费
103
+     */
80
     @Excel(name = "本阶人工陈本", width = 15)
104
     @Excel(name = "本阶人工陈本", width = 15)
81
     @ApiModelProperty(value = "本阶人工成本")
105
     @ApiModelProperty(value = "本阶人工成本")
82
     private BigDecimal laborCost;
106
     private BigDecimal laborCost;
83
-    /**本阶辅料费*/
107
+    /**
108
+     * 本阶辅料费
109
+     */
84
     @Excel(name = "本阶辅料费", width = 15)
110
     @Excel(name = "本阶辅料费", width = 15)
85
     @ApiModelProperty(value = "本阶辅料费")
111
     @ApiModelProperty(value = "本阶辅料费")
86
     private BigDecimal supplyMaterialCost;
112
     private BigDecimal supplyMaterialCost;
87
-    /**本阶机器折旧费*/
113
+    /**
114
+     * 本阶机器折旧费
115
+     */
88
     @Excel(name = "本阶机器折旧费", width = 15)
116
     @Excel(name = "本阶机器折旧费", width = 15)
89
     @ApiModelProperty(value = "本阶机器折旧费")
117
     @ApiModelProperty(value = "本阶机器折旧费")
90
     private BigDecimal equipmentCost;
118
     private BigDecimal equipmentCost;
91
-    /**本阶水电费(燃动费)*/
119
+    /**
120
+     * 本阶水电费(燃动费)
121
+     */
92
     @Excel(name = "本阶水电费(燃动费)", width = 15)
122
     @Excel(name = "本阶水电费(燃动费)", width = 15)
93
     @ApiModelProperty(value = "本阶水电费(燃动费)")
123
     @ApiModelProperty(value = "本阶水电费(燃动费)")
94
     private BigDecimal driveCost;
124
     private BigDecimal driveCost;
95
-    /**本阶其他制造费*/
125
+    /**
126
+     * 本阶其他制造费
127
+     */
96
     @Excel(name = "本阶其他费用", width = 15)
128
     @Excel(name = "本阶其他费用", width = 15)
97
     @ApiModelProperty(value = "本阶其他费用")
129
     @ApiModelProperty(value = "本阶其他费用")
98
     private BigDecimal otherCost;
130
     private BigDecimal otherCost;
99
-    /**本阶物流费*/
131
+    /**
132
+     * 本阶物流费
133
+     */
100
     @Excel(name = "本阶物流费", width = 15)
134
     @Excel(name = "本阶物流费", width = 15)
101
     @ApiModelProperty(value = "本阶物流费")
135
     @ApiModelProperty(value = "本阶物流费")
102
     private BigDecimal logisticsCost;
136
     private BigDecimal logisticsCost;
103
-    /**累计物料成本*/
137
+    /**
138
+     * 累计物料成本
139
+     */
104
     @Excel(name = "累计物料成本", width = 15)
140
     @Excel(name = "累计物料成本", width = 15)
105
     @ApiModelProperty(value = "累计物料成本")
141
     @ApiModelProperty(value = "累计物料成本")
106
     private BigDecimal totalMaterialCost;
142
     private BigDecimal totalMaterialCost;
107
-    /**累计人工成本*/
143
+    /**
144
+     * 累计人工成本
145
+     */
108
     @Excel(name = "累计人工成本", width = 15)
146
     @Excel(name = "累计人工成本", width = 15)
109
     @ApiModelProperty(value = "累计人工成本")
147
     @ApiModelProperty(value = "累计人工成本")
110
     private BigDecimal totalLaborCost;
148
     private BigDecimal totalLaborCost;
111
-    /**累计辅料费*/
149
+    /**
150
+     * 累计辅料费
151
+     */
112
     @Excel(name = "累计辅料费", width = 15)
152
     @Excel(name = "累计辅料费", width = 15)
113
     @ApiModelProperty(value = "累计辅料费")
153
     @ApiModelProperty(value = "累计辅料费")
114
     private BigDecimal totalSupplyMaterialCost;
154
     private BigDecimal totalSupplyMaterialCost;
115
-    /**累计机器折旧费*/
155
+    /**
156
+     * 累计机器折旧费
157
+     */
116
     @Excel(name = "累计机器折旧费", width = 15)
158
     @Excel(name = "累计机器折旧费", width = 15)
117
     @ApiModelProperty(value = "累计机器折旧费")
159
     @ApiModelProperty(value = "累计机器折旧费")
118
     private BigDecimal totalEquipmentCost;
160
     private BigDecimal totalEquipmentCost;
119
-    /**累计水电费(燃动费)*/
161
+    /**
162
+     * 累计水电费(燃动费)
163
+     */
120
     @Excel(name = "累计水电费(燃动费)", width = 15)
164
     @Excel(name = "累计水电费(燃动费)", width = 15)
121
     @ApiModelProperty(value = "累计水电费(燃动费)")
165
     @ApiModelProperty(value = "累计水电费(燃动费)")
122
     private BigDecimal totalDriveCost;
166
     private BigDecimal totalDriveCost;
123
-    /**累计其他费用*/
167
+    /**
168
+     * 累计其他费用
169
+     */
124
     @Excel(name = "累计其他费用", width = 15)
170
     @Excel(name = "累计其他费用", width = 15)
125
     @ApiModelProperty(value = "累计其他费用")
171
     @ApiModelProperty(value = "累计其他费用")
126
     private BigDecimal totalOtherCost;
172
     private BigDecimal totalOtherCost;
127
-    /**累计物流费用*/
173
+    /**
174
+     * 累计物流费用
175
+     */
128
     @Excel(name = "累计物流费用", width = 15)
176
     @Excel(name = "累计物流费用", width = 15)
129
     @ApiModelProperty(value = "累计物流费用")
177
     @ApiModelProperty(value = "累计物流费用")
130
     private BigDecimal totalLogisticsCost;
178
     private BigDecimal totalLogisticsCost;
131
-    /**本阶标准成本*/
179
+    /**
180
+     * 本阶标准成本
181
+     */
132
     @Excel(name = "本阶标准成本", width = 15)
182
     @Excel(name = "本阶标准成本", width = 15)
133
     @ApiModelProperty(value = "本阶标准成本")
183
     @ApiModelProperty(value = "本阶标准成本")
134
     private BigDecimal currentStandardCost;
184
     private BigDecimal currentStandardCost;
135
-    /**累计标准成本*/
185
+    /**
186
+     * 累计标准成本
187
+     */
136
     @Excel(name = "累计标准成本", width = 15)
188
     @Excel(name = "累计标准成本", width = 15)
137
     @ApiModelProperty(value = "累计标准成本")
189
     @ApiModelProperty(value = "累计标准成本")
138
     private BigDecimal totalStandardCost;
190
     private BigDecimal totalStandardCost;
139
-    /**创建人*/
191
+    /**
192
+     * 创建人
193
+     */
140
     @ApiModelProperty(value = "创建人")
194
     @ApiModelProperty(value = "创建人")
141
     private String createBy;
195
     private String createBy;
142
-    /**创建日期*/
143
-    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
144
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
196
+    /**
197
+     * 创建日期
198
+     */
199
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
200
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
145
     @ApiModelProperty(value = "创建日期")
201
     @ApiModelProperty(value = "创建日期")
146
     private Date createTime;
202
     private Date createTime;
147
-    /**修改人*/
203
+    /**
204
+     * 修改人
205
+     */
148
     @ApiModelProperty(value = "修改人")
206
     @ApiModelProperty(value = "修改人")
149
     private String updateBy;
207
     private String updateBy;
150
-    /**修改日期*/
151
-    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
152
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
208
+    /**
209
+     * 修改日期
210
+     */
211
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
212
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
153
     @ApiModelProperty(value = "修改日期")
213
     @ApiModelProperty(value = "修改日期")
154
     private Date updateTime;
214
     private Date updateTime;
155
-    /**备注*/
215
+    /**
216
+     * 备注
217
+     */
156
     @Excel(name = "备注", width = 15)
218
     @Excel(name = "备注", width = 15)
157
     @ApiModelProperty(value = "备注")
219
     @ApiModelProperty(value = "备注")
158
     private String remark;
220
     private String remark;

+ 209
- 0
qomo-kn-cost-manage/src/main/java/com/zzsmart/qomo/kn/cost/manage/vo/AppSceneCostStandardResultVO.java ファイルの表示

1
+package com.zzsmart.qomo.kn.cost.manage.vo;
2
+
3
+import com.baomidou.mybatisplus.annotation.IdType;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import com.fasterxml.jackson.annotation.JsonFormat;
6
+import io.swagger.annotations.ApiModelProperty;
7
+import lombok.AllArgsConstructor;
8
+import lombok.Builder;
9
+import lombok.Data;
10
+import lombok.NoArgsConstructor;
11
+import org.jeecgframework.poi.excel.annotation.Excel;
12
+import org.springframework.format.annotation.DateTimeFormat;
13
+
14
+import java.math.BigDecimal;
15
+import java.util.Date;
16
+
17
+@Data
18
+@NoArgsConstructor
19
+@AllArgsConstructor
20
+@Builder
21
+public class AppSceneCostStandardResultVO {
22
+
23
+    /**
24
+     * id
25
+     */
26
+    @TableId(type = IdType.ASSIGN_ID)
27
+    @ApiModelProperty(value = "id")
28
+    private String id;
29
+    /**
30
+     * 图号
31
+     */
32
+    @Excel(name = "图号", width = 15)
33
+    @ApiModelProperty(value = "图号")
34
+    private String figureNumber;
35
+    /**
36
+     * 物料号,关联kn_new_sap_mara表matnr字段
37
+     */
38
+    @Excel(name = "物料号,关联kn_new_sap_mara表matnr字段", width = 15)
39
+    @ApiModelProperty(value = "物料号,关联kn_new_sap_mara表matnr字段")
40
+    private String materialNumber;
41
+    /**
42
+     * 物料名称
43
+     */
44
+    @Excel(name = "物料名称", width = 15)
45
+    @ApiModelProperty(value = "物料名称")
46
+    private String materialName;
47
+    /**
48
+     * 父类物料号
49
+     */
50
+    @Excel(name = "父类物料号", width = 15)
51
+    @ApiModelProperty(value = "父类物料号")
52
+    private String parentMaterialNumber;
53
+    /**
54
+     * 版本号
55
+     */
56
+    @Excel(name = "版本号", width = 15)
57
+    @ApiModelProperty(value = "版本号")
58
+    private String versionNumber;
59
+    /**
60
+     * 层级
61
+     */
62
+    @Excel(name = "层级", width = 15)
63
+    @ApiModelProperty(value = "层级")
64
+    private Integer level;
65
+    /**
66
+     * 序号
67
+     */
68
+    @Excel(name = "序号", width = 15)
69
+    @ApiModelProperty(value = "序号")
70
+    private Integer sort;
71
+    /**
72
+     * 用量
73
+     */
74
+    @Excel(name = "用量", width = 15)
75
+    @ApiModelProperty(value = "用量")
76
+    private Double dosage;
77
+    /**
78
+     * 单位
79
+     */
80
+    @Excel(name = "单位", width = 15)
81
+    @ApiModelProperty(value = "单位")
82
+    private String unit;
83
+    /**
84
+     * 本阶材料费
85
+     */
86
+    @Excel(name = "本阶材料费", width = 15)
87
+    @ApiModelProperty(value = "本阶材料费")
88
+    private BigDecimal materialCost;
89
+    /**
90
+     * 本阶人工费
91
+     */
92
+    @Excel(name = "本阶人工陈本", width = 15)
93
+    @ApiModelProperty(value = "本阶人工成本")
94
+    private BigDecimal laborCost;
95
+    /**
96
+     * 本阶辅料费
97
+     */
98
+    @Excel(name = "本阶辅料费", width = 15)
99
+    @ApiModelProperty(value = "本阶辅料费")
100
+    private BigDecimal supplyMaterialCost;
101
+    /**
102
+     * 本阶机器折旧费
103
+     */
104
+    @Excel(name = "本阶机器折旧费", width = 15)
105
+    @ApiModelProperty(value = "本阶机器折旧费")
106
+    private BigDecimal equipmentCost;
107
+    /**
108
+     * 本阶水电费(燃动费)
109
+     */
110
+    @Excel(name = "本阶水电费(燃动费)", width = 15)
111
+    @ApiModelProperty(value = "本阶水电费(燃动费)")
112
+    private BigDecimal driveCost;
113
+    /**
114
+     * 本阶其他制造费
115
+     */
116
+    @Excel(name = "本阶其他费用", width = 15)
117
+    @ApiModelProperty(value = "本阶其他费用")
118
+    private BigDecimal otherCost;
119
+    /**
120
+     * 本阶物流费
121
+     */
122
+    @Excel(name = "本阶物流费", width = 15)
123
+    @ApiModelProperty(value = "本阶物流费")
124
+    private BigDecimal logisticsCost;
125
+    /**
126
+     * 累计物料成本
127
+     */
128
+    @Excel(name = "累计物料成本", width = 15)
129
+    @ApiModelProperty(value = "累计物料成本")
130
+    private BigDecimal totalMaterialCost;
131
+    /**
132
+     * 累计人工成本
133
+     */
134
+    @Excel(name = "累计人工成本", width = 15)
135
+    @ApiModelProperty(value = "累计人工成本")
136
+    private BigDecimal totalLaborCost;
137
+    /**
138
+     * 累计辅料费
139
+     */
140
+    @Excel(name = "累计辅料费", width = 15)
141
+    @ApiModelProperty(value = "累计辅料费")
142
+    private BigDecimal totalSupplyMaterialCost;
143
+    /**
144
+     * 累计机器折旧费
145
+     */
146
+    @Excel(name = "累计机器折旧费", width = 15)
147
+    @ApiModelProperty(value = "累计机器折旧费")
148
+    private BigDecimal totalEquipmentCost;
149
+    /**
150
+     * 累计水电费(燃动费)
151
+     */
152
+    @Excel(name = "累计水电费(燃动费)", width = 15)
153
+    @ApiModelProperty(value = "累计水电费(燃动费)")
154
+    private BigDecimal totalDriveCost;
155
+    /**
156
+     * 累计其他费用
157
+     */
158
+    @Excel(name = "累计其他费用", width = 15)
159
+    @ApiModelProperty(value = "累计其他费用")
160
+    private BigDecimal totalOtherCost;
161
+    /**
162
+     * 累计物流费用
163
+     */
164
+    @Excel(name = "累计物流费用", width = 15)
165
+    @ApiModelProperty(value = "累计物流费用")
166
+    private BigDecimal totalLogisticsCost;
167
+    /**
168
+     * 本阶标准成本
169
+     */
170
+    @Excel(name = "本阶标准成本", width = 15)
171
+    @ApiModelProperty(value = "本阶标准成本")
172
+    private BigDecimal currentStandardCost;
173
+    /**
174
+     * 累计标准成本
175
+     */
176
+    @Excel(name = "累计标准成本", width = 15)
177
+    @ApiModelProperty(value = "累计标准成本")
178
+    private BigDecimal totalStandardCost;
179
+    /**
180
+     * 创建人
181
+     */
182
+    @ApiModelProperty(value = "创建人")
183
+    private String createBy;
184
+    /**
185
+     * 创建日期
186
+     */
187
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
188
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
189
+    @ApiModelProperty(value = "创建日期")
190
+    private Date createTime;
191
+    /**
192
+     * 修改人
193
+     */
194
+    @ApiModelProperty(value = "修改人")
195
+    private String updateBy;
196
+    /**
197
+     * 修改日期
198
+     */
199
+    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
200
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
201
+    @ApiModelProperty(value = "修改日期")
202
+    private Date updateTime;
203
+    /**
204
+     * 备注
205
+     */
206
+    @Excel(name = "备注", width = 15)
207
+    @ApiModelProperty(value = "备注")
208
+    private String remark;
209
+}