İlk temizlik tamamlandı bir önceki projeden
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
function removeItemBySpoolNoJointNo(&$jointDatas, $spoolNoJointNoToRemove) {
|
||||
foreach ($jointDatas as &$fluidCodes) {
|
||||
foreach ($fluidCodes as &$items) {
|
||||
foreach ($items as $key => $item) {
|
||||
if (isset($item['spool_no_joint_no']) && $item['spool_no_joint_no'] == $spoolNoJointNoToRemove) {
|
||||
unset($items[$key]); // Belirli bir koşula göre değeri sil
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user