update:删除多余代码
This commit is contained in:
@@ -677,24 +677,6 @@ public class CockpitServiceImpl implements CockpitService {
|
||||
res.add(out);
|
||||
}
|
||||
}
|
||||
// //todo 确定每托盘数量
|
||||
// List<InOutKilnVo> res = new ArrayList<>();
|
||||
// InOutKilnVo in = cockPitMapper.selectInKilnInfo();
|
||||
// in.setStat("2");
|
||||
// in.setPointName("入窑输送线");
|
||||
// in.setWorkTime("3.5");
|
||||
// in.setMaterialNum("25000");
|
||||
// InOutKilnVo out = cockPitMapper.selectOutKilnInfo();
|
||||
// if (null == out) {
|
||||
// out = new InOutKilnVo();
|
||||
// }
|
||||
// out.setStat("2");
|
||||
// out.setPointName("出窑输送线");
|
||||
// out.setWorkTime("3.5");
|
||||
// out.setMaterialNum("25000");
|
||||
// out.setDeliveredMaterialNum("25000");
|
||||
// res.add(in);
|
||||
// res.add(out);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -709,15 +691,4 @@ public class CockpitServiceImpl implements CockpitService {
|
||||
kilnVo.setMaterialInfos(kilnMaterialInfo);
|
||||
return kilnVo;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
BigDecimal bigDecimal = new BigDecimal(600);
|
||||
BigDecimal bigDecimal1 = new BigDecimal(77);
|
||||
BigDecimal add = bigDecimal.add(bigDecimal1);
|
||||
BigDecimal divide = bigDecimal.divide(add, 2, BigDecimal.ROUND_HALF_UP);
|
||||
System.out.println(bigDecimal);
|
||||
System.out.println(bigDecimal1);
|
||||
System.out.println(add);
|
||||
System.out.println(divide);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user