| | |
| | | List<Map<String, Object>> mapList=new ArrayList<>(); |
| | | for(Map<String, Object> objectMap:object){ |
| | | mapList.add(finishedGlassShelfMapper.getSelectFinishedGlassShelfInformationInId( |
| | | objectMap.get("glassShelfName").toString(), |
| | | Double.parseDouble(objectMap.get("price").toString()), |
| | | objectMap.get("unit").toString(), |
| | | Double.parseDouble(objectMap.get("weight").toString()), |
| | | Double.parseDouble(objectMap.get("width").toString()), |
| | | Double.parseDouble(objectMap.get("height").toString()) |
| | |
| | | finishedGlassShelfEmitDetails.getMaxWeight(), |
| | | finishedGlassShelfEmitDetails.getMaxWidth(), |
| | | finishedGlassShelfEmitDetails.getMaxHeight(), |
| | | finishedGlassShelfEmitDetails.getQuantity()); |
| | | finishedGlassShelfEmitDetails.getQuantity(), |
| | | finishedGlassShelfEmitDetails.getPrice(), |
| | | finishedGlassShelfEmitDetails.getUnit(), |
| | | finishedGlassShelfEmitDetails.getGlassShelfName()); |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfEmitDetails(emitId); |
| | | finishedGlassShelfMapper.updateFinishedGlassShelfEmitDetailsLog(emitId); |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfEmitDetailsLog(emitId); |
| | | } |
| | | } |
| | | |
| | |
| | | finishedGlassShelfEmitDetails.getMaxWeight(), |
| | | finishedGlassShelfEmitDetails.getMaxWidth(), |
| | | finishedGlassShelfEmitDetails.getMaxHeight(), |
| | | finishedGlassShelfEmitDetails.getQuantity()); |
| | | finishedGlassShelfEmitDetails.getQuantity(), |
| | | finishedGlassShelfEmitDetails.getPrice(), |
| | | finishedGlassShelfEmitDetails.getUnit(), |
| | | finishedGlassShelfEmitDetails.getGlassShelfName()); |
| | | finishedGlassShelfMapper.insertFinishedGlassShelfEmitDetails(oddNumber,index,finishedGlassShelfEmitDetails); |
| | | finishedGlassShelfMapper.insertFinishedGlassShelfEmitDetailsLog( |
| | | oddNumber, |
| | |
| | | finishedGlassShelfEmitDetails.getRemarks(), |
| | | finishedGlassShelfEmitDetails.getMaxWeight(), |
| | | finishedGlassShelfEmitDetails.getMaxWidth(), |
| | | finishedGlassShelfEmitDetails.getMaxHeight() |
| | | finishedGlassShelfEmitDetails.getMaxHeight(), |
| | | finishedGlassShelfEmitDetails.getGlassShelfName(), |
| | | object.get("userName").toString() |
| | | ); |
| | | index++; |
| | | } |
| | |
| | | finishedGlassShelfEmitDetails.getMaxWeight(), |
| | | finishedGlassShelfEmitDetails.getMaxWidth(), |
| | | finishedGlassShelfEmitDetails.getMaxHeight(), |
| | | finishedGlassShelfEmitDetails.getQuantity()); |
| | | finishedGlassShelfEmitDetails.getQuantity(), |
| | | finishedGlassShelfEmitDetails.getPrice(), |
| | | finishedGlassShelfEmitDetails.getUnit(), |
| | | finishedGlassShelfEmitDetails.getGlassShelfName()); |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfEmitDetailsLog(emitId); |
| | | } |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfEmitDetails(emitId); |
| | |
| | | finishedGlassShelfWithdrawDetails.getMaxWeight(), |
| | | finishedGlassShelfWithdrawDetails.getMaxWidth(), |
| | | finishedGlassShelfWithdrawDetails.getMaxHeight(), |
| | | finishedGlassShelfWithdrawDetails.getQuantity() |
| | | finishedGlassShelfWithdrawDetails.getQuantity(), |
| | | finishedGlassShelfWithdrawDetails.getPrice(), |
| | | finishedGlassShelfWithdrawDetails.getUnit(), |
| | | finishedGlassShelfWithdrawDetails.getGlassShelfName() |
| | | ); |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfWithdrawDetails(withdrawId); |
| | | finishedGlassShelfMapper.updateFinishedGlassShelfEmitDetailsLog(withdrawId); |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfEmitDetailsLog(withdrawId); |
| | | } |
| | | } |
| | | |
| | |
| | | finishedGlassShelfWithdrawDetails.getMaxWeight(), |
| | | finishedGlassShelfWithdrawDetails.getMaxWidth(), |
| | | finishedGlassShelfWithdrawDetails.getMaxHeight(), |
| | | finishedGlassShelfWithdrawDetails.getQuantity() |
| | | finishedGlassShelfWithdrawDetails.getQuantity(), |
| | | finishedGlassShelfWithdrawDetails.getPrice(), |
| | | finishedGlassShelfWithdrawDetails.getUnit(), |
| | | finishedGlassShelfWithdrawDetails.getGlassShelfName() |
| | | ); |
| | | finishedGlassShelfMapper.insertFinishedGlassShelfWithdrawDetails(oddNumber,index,finishedGlassShelfWithdrawDetails); |
| | | finishedGlassShelfMapper.insertFinishedGlassShelfEmitDetailsLog( |
| | |
| | | finishedGlassShelfWithdrawDetails.getRemarks(), |
| | | finishedGlassShelfWithdrawDetails.getMaxWeight(), |
| | | finishedGlassShelfWithdrawDetails.getMaxWidth(), |
| | | finishedGlassShelfWithdrawDetails.getMaxHeight() |
| | | finishedGlassShelfWithdrawDetails.getMaxHeight(), |
| | | finishedGlassShelfWithdrawDetails.getGlassShelfName(), |
| | | object.get("userName").toString() |
| | | ); |
| | | index++; |
| | | } |
| | |
| | | finishedGlassShelfWithdrawDetails.getMaxWeight(), |
| | | finishedGlassShelfWithdrawDetails.getMaxWidth(), |
| | | finishedGlassShelfWithdrawDetails.getMaxHeight(), |
| | | finishedGlassShelfWithdrawDetails.getQuantity() |
| | | finishedGlassShelfWithdrawDetails.getQuantity(), |
| | | finishedGlassShelfWithdrawDetails.getPrice(), |
| | | finishedGlassShelfWithdrawDetails.getUnit(), |
| | | finishedGlassShelfWithdrawDetails.getGlassShelfName() |
| | | ); |
| | | finishedGlassShelfMapper.deleteFinishedGlassShelfEmitDetailsLog(withdrawId); |
| | | } |