|
|
|
@ -332,8 +332,9 @@ public class InspectionTaskController extends BladeController { |
|
|
|
Integer insertIndex = 0; |
|
|
|
Integer insertIndex = 0; |
|
|
|
if (preserveSlotList.size() > 0) { |
|
|
|
if (preserveSlotList.size() > 0) { |
|
|
|
List<MesRbFilePreserveDetailEntity> childrenList; |
|
|
|
List<MesRbFilePreserveDetailEntity> childrenList; |
|
|
|
List<MesRbFilePreserveDetailDTO> childrenListNew = new ArrayList<>(); |
|
|
|
|
|
|
|
for (MesRbFilePreserveSlotEntity dsRbFilePreserveSlot : preserveSlotList) { |
|
|
|
for (MesRbFilePreserveSlotEntity dsRbFilePreserveSlot : preserveSlotList) { |
|
|
|
|
|
|
|
List<MesRbFilePreserveDetailDTO> childrenListNew = new ArrayList<>(); |
|
|
|
if(null != dsRbFilePreserveSlot.getInsertIndex()){ |
|
|
|
if(null != dsRbFilePreserveSlot.getInsertIndex()){ |
|
|
|
if(Integer.parseInt(dsRbFilePreserveSlot.getInsertIndex()) > insertIndex){ |
|
|
|
if(Integer.parseInt(dsRbFilePreserveSlot.getInsertIndex()) > insertIndex){ |
|
|
|
insertIndex = Integer.parseInt(dsRbFilePreserveSlot.getInsertIndex()); |
|
|
|
insertIndex = Integer.parseInt(dsRbFilePreserveSlot.getInsertIndex()); |
|
|
|
|