update
This commit is contained in:
parent
1083752499
commit
0f6ebdb702
@ -130,7 +130,7 @@ class SupervisionInspectionLogic extends BaseLogic
|
||||
]);
|
||||
if(json_encode($data['check_item_detail_ids']) != json_encode($params['check_item_detail_ids'])){
|
||||
$supervision_inspection_result_ids = SupervisionInspectionResult::where('inspection_id',$params['id'])->column('id');
|
||||
SupervisionInspectionResult::where('id','in',$supervision_inspection_result_ids)->delete();
|
||||
SupervisionInspectionResult::destroy($supervision_inspection_result_ids);
|
||||
}
|
||||
if(!empty($params['inspection_result'])){
|
||||
foreach($params['inspection_result'] as $v){
|
||||
|
Loading…
x
Reference in New Issue
Block a user