seeder ongoing

This commit is contained in:
vanilia
2025-12-11 20:22:37 +07:00
parent 233918cecf
commit bc1209a270
2 changed files with 16 additions and 5 deletions

No files matched your search

@@ -889,7 +889,7 @@ func ApproveSwitchSpecialist(input e.ApproveCancelSpecialistDto) (*d.Data, error
}
// Set doctor_code; nil indicates no change.
if input.Dst_Doctor_Code == nil {
if input.Dst_Doctor_Code == nil || *input.Dst_Doctor_Code == "" {
input.Dst_Doctor_Code = irData.Doctor_Code
}