diff --git a/api/v0/post/application.php b/api/v0/post/application.php index ffc5840..ff0ed19 100644 --- a/api/v0/post/application.php +++ b/api/v0/post/application.php @@ -85,7 +85,7 @@ if (!empty($post_content['sn']) && !empty($post_content['testdetails'])) { $historytype = ${'HistoryType_'.$input_type}; $equipmentCreate = 1; $equipmentUpdate = 1; - $servicetoolHistoryUpdate = 1; + $servicetoolHistoryUpdate = 0; break; case 3: //Serialnumber @@ -102,7 +102,7 @@ if (!empty($post_content['sn']) && !empty($post_content['testdetails'])) { case 5://Maintenance_Test $historytype = ${'HistoryType_'.$input_type}; $equipmentUpdate = 0; - $servicetoolHistoryUpdate = 1; + $servicetoolHistoryUpdate = 0; break; case 6://Assembly_Test