|
@@ -114,16 +114,16 @@ public class MeterWorkDataCountController extends BaseRESTfulController {
|
|
|
row1.createCell(1).setCellValue(new HSSFRichTextString(emps.get(i).getCarNo()));
|
|
row1.createCell(1).setCellValue(new HSSFRichTextString(emps.get(i).getCarNo()));
|
|
|
|
|
|
|
|
//业务类型
|
|
//业务类型
|
|
|
- if (emps.get(i).getMeterTypeName().equals("GM2GM")) {
|
|
|
|
|
- row1.createCell(2).setCellValue(new HSSFRichTextString("厂内转储"));
|
|
|
|
|
|
|
+ if ("GM2GM".equals(emps.get(i).getMeterTypeName())) {
|
|
|
|
|
+ row1.createCell(3).setCellValue(new HSSFRichTextString("厂内转储"));
|
|
|
}//业务类型
|
|
}//业务类型
|
|
|
- else if (emps.get(i).getMeterTypeName().equals("PO2GM")) {
|
|
|
|
|
- row1.createCell(2).setCellValue(new HSSFRichTextString("外进"));
|
|
|
|
|
|
|
+ else if ("PO2GM".equals(emps.get(i).getMeterTypeName())) {
|
|
|
|
|
+ row1.createCell(3).setCellValue(new HSSFRichTextString("外进"));
|
|
|
}//业务类型
|
|
}//业务类型
|
|
|
- else if (emps.get(i).getMeterTypeName().equals("SendToOutTms")) {
|
|
|
|
|
- row1.createCell(2).setCellValue(new HSSFRichTextString("外发"));
|
|
|
|
|
|
|
+ else if ("SendToOutTms".equals(emps.get(i).getMeterTypeName())) {
|
|
|
|
|
+ row1.createCell(3).setCellValue(new HSSFRichTextString("外发"));
|
|
|
}else {
|
|
}else {
|
|
|
- row1.createCell(2).setCellValue(emps.get(i).getMeterTypeName());
|
|
|
|
|
|
|
+ row1.createCell(3).setCellValue(emps.get(i).getMeterTypeName());
|
|
|
}
|
|
}
|
|
|
//第三列创建并赋值
|
|
//第三列创建并赋值
|
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString(emps.get(i).getMatterName()));
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString(emps.get(i).getMatterName()));
|
|
@@ -263,13 +263,13 @@ public class MeterWorkDataCountController extends BaseRESTfulController {
|
|
|
//车型
|
|
//车型
|
|
|
row1.createCell(2).setCellValue(new HSSFRichTextString(emps.get(i).getConveyanceType()));
|
|
row1.createCell(2).setCellValue(new HSSFRichTextString(emps.get(i).getConveyanceType()));
|
|
|
//业务类型
|
|
//业务类型
|
|
|
- if (emps.get(i).getMeterTypeName().equals("GM2GM")) {
|
|
|
|
|
|
|
+ if ("GM2GM".equals(emps.get(i).getMeterTypeName())) {
|
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString("厂内转储"));
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString("厂内转储"));
|
|
|
}//业务类型
|
|
}//业务类型
|
|
|
- else if (emps.get(i).getMeterTypeName().equals("PO2GM")) {
|
|
|
|
|
|
|
+ else if ("PO2GM".equals(emps.get(i).getMeterTypeName())) {
|
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString("外进"));
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString("外进"));
|
|
|
}//业务类型
|
|
}//业务类型
|
|
|
- else if (emps.get(i).getMeterTypeName().equals("SendToOutTms")) {
|
|
|
|
|
|
|
+ else if ("SendToOutTms".equals(emps.get(i).getMeterTypeName())) {
|
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString("外发"));
|
|
row1.createCell(3).setCellValue(new HSSFRichTextString("外发"));
|
|
|
}else {
|
|
}else {
|
|
|
row1.createCell(3).setCellValue(emps.get(i).getMeterTypeName());
|
|
row1.createCell(3).setCellValue(emps.get(i).getMeterTypeName());
|