fixing error sql script
This commit is contained in:
@@ -89,7 +89,7 @@ type EmployeUpdateDto struct {
|
||||
Person_Id *uint `json:"-"`
|
||||
Division_Code *string `json:"division_code"`
|
||||
Number *string `json:"number" validate:"maxLength=20"`
|
||||
Position_Code erg.EmployeePosisitionCode `json:"status_code" validate:"maxLength=10"`
|
||||
Position_Code erg.EmployeePosisitionCode `json:"position_code" validate:"maxLength=20"`
|
||||
Status_Code erc.ActiveStatusCode `json:"status_code" validate:"maxLength=10"`
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ func setDataUpdate(src e.UpdateDto, dst *e.Encounter) {
|
||||
}
|
||||
|
||||
func setDataDischarge(src e.DischargeDto, dst *e.Encounter) {
|
||||
dst.DischargeMethod_Code = src.DischargeMethod_Code
|
||||
dst.Discharge_Method_Code = src.DischargeMethod_Code
|
||||
dst.EarlyEducation = src.EarlyEducation
|
||||
dst.MedicalDischargeEducation = src.MedicalDischargeEducation
|
||||
dst.AdmDischargeEducation = src.AdmDischargeEducation
|
||||
|
||||
Reference in New Issue
Block a user