|
@@ -73,8 +73,12 @@ public class ZhcxProjectDeviceIndicatorServiceImpl extends ServiceImpl<ZhcxProje
|
|
|
ZhcxProjectDeviceIndicatorDto children = new ZhcxProjectDeviceIndicatorDto();
|
|
|
children.setIndicatorname(split[0]);
|
|
|
children.setDisplayboard(item.getDisplayboard());
|
|
|
- children.setCompleted(Integer.parseInt(split[1].split("/")[0]));
|
|
|
- children.setTotal(Integer.parseInt(split[1].split("/")[1]));
|
|
|
+ if ("rectify_complete".equals(item.getType())) {
|
|
|
+ children.setUnfinished(Integer.parseInt(split[1]));
|
|
|
+ }else{
|
|
|
+ children.setCompleted(Integer.parseInt(split[1].split("/")[0]));
|
|
|
+ children.setTotal(Integer.parseInt(split[1].split("/")[1]));
|
|
|
+ }
|
|
|
children.setCompletionrate(new BigDecimal(split[2]));
|
|
|
childrenList.add(children);
|
|
|
}
|