revised lib and usecase update
This commit is contained in:
@@ -21,12 +21,3 @@ func setData[T *ir.CreateDto | *ir.UpdateDto](input T, data *ir.InternalReferenc
|
||||
data.Unit_Id = inputSrc.Unit_Id
|
||||
data.Doctor_Id = inputSrc.Doctor_Id
|
||||
}
|
||||
|
||||
func setDataUpdate(src ir.UpdateDto, dst *ir.InternalReference) *ir.InternalReference {
|
||||
return &ir.InternalReference{
|
||||
Main: dst.Main,
|
||||
Encounter_Id: src.Encounter_Id,
|
||||
Unit_Id: src.Unit_Id,
|
||||
Doctor_Id: src.Doctor_Id,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user