|
@@ -42,13 +42,17 @@ public class GanttServiceImpl implements GanttService {
|
|
|
public static final String GANTT_ITEM_NAME_PREFIX = "%s %s";
|
|
|
public static final String GANTT_DESC_PREFIX = " 计划时间:%s-%s </br>" +
|
|
|
"实际时间:%s-%s </br>" +
|
|
|
- "设备:%s/%s </br>";
|
|
|
- public static final String GANTT_DESC = "订单产品:%s </br>" +
|
|
|
- "交货期:%tF </br>" +
|
|
|
+ "加工设备:%s/%s </br>";
|
|
|
+ public static final String GANTT_DESC =
|
|
|
+ "输入物料:%s %d卷</br>" +
|
|
|
"工序:%s </br>" +
|
|
|
- "计划加工卷数:%d卷</br>" +
|
|
|
- "完成情况:已开工 %d/已报工 %d/已检验 %d/未完工 %d</br>" +
|
|
|
- "作业状态:%s";
|
|
|
+ "作业状态:%s </br>"+
|
|
|
+ "完成情况:已开工 %d/已报工 %d/已检验 %d/未完工 %d </br>"+
|
|
|
+ "客户订单号:%s </br>"+
|
|
|
+ "客户名称:%s </br>"+
|
|
|
+ "交货期:%tF </br>" +
|
|
|
+ "订单产品:%s </br>";
|
|
|
+
|
|
|
|
|
|
public static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
@@ -157,9 +161,12 @@ public class GanttServiceImpl implements GanttService {
|
|
|
dateFormat(ganttVos.get(0).getActualfinishdate()),
|
|
|
ganttVos.get(0).getProcessworkshop(),ganttVos.get(0).getProcessdevice());
|
|
|
String itemDesc= ganttVos.stream().map(info->{
|
|
|
- return String.format(GANTT_DESC, info.getProductname(),info.getDeliverydate(),
|
|
|
- info.getProcessname(),info.getPlanprocessrall(),info.getStartingroll(),info.getReportroll(),
|
|
|
- info.getCheckoutroll(),info.getUnfinishroll(),info.getWorkstatus() );
|
|
|
+ return String.format(GANTT_DESC,info.getInmatercondition(), info.getPlanprocessrall(),
|
|
|
+ info.getProcessname(),info.getWorkstatus(),
|
|
|
+ info.getStartingroll(),info.getReportroll(),
|
|
|
+ info.getCheckoutroll(),info.getUnfinishroll(),
|
|
|
+ info.getCustomorderno(),info.getCustomerabbreviation(),
|
|
|
+ info.getDeliverydate(),info.getOutputorderproduct());
|
|
|
}).collect(Collectors.joining("</br>"));
|
|
|
dateVo = new ScheduleGanttVo();
|
|
|
dateVo.setId(workShopIndex++);
|