Documentation ¶
Index ¶
- func CrearConsecutivoNecesidad(vigencia int) (id int, outputError map[string]interface{})
- func EvaluarMovimiento(necesidad necesidad_models.Necesidad) (resultado bool, outputError map[string]interface{})
- func GetIdProcesoNecesidad() (id int, outputError map[string]interface{})
- func GetTrNecesidad(id string) (trnecesidad models.TrNecesidad, outErr map[string]interface{})
- func InterceptorMovimientoNecesidad(id int, necesidadent necesidad_models.Necesidad) (necesidad necesidad_models.Necesidad, outputError map[string]interface{})
- func PostTrNecesidad(trnecesidad models.TrNecesidad) (out models.TrNecesidad, outErr map[string]interface{})
- func PutNecesidadService(id int, necesidadent necesidad_models.Necesidad) (necesidad necesidad_models.Necesidad, outputError map[string]interface{})
- func RealizarMovimiento(necesidad necesidad_models.Necesidad) (outputError map[string]interface{})
- func SolicitudConsecutivo(vigencia int, proceso int) (respconsecutivo models_consecutivos.Consecutivo, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrearConsecutivoNecesidad ¶ added in v1.0.0
func EvaluarMovimiento ¶ added in v0.1.0
func EvaluarMovimiento(necesidad necesidad_models.Necesidad) (resultado bool, outputError map[string]interface{})
EvaluarMovimiento, A partir de la necesidad se determina si hay fondos para crubir la necesidad evaluando si es por inversion o funcionamiento
func GetIdProcesoNecesidad ¶ added in v1.0.0
func GetTrNecesidad ¶
func GetTrNecesidad(id string) (trnecesidad models.TrNecesidad, outErr map[string]interface{})
GetTrNecesidad obtiene necesidad de crud apí con sus objetos relacionados
func InterceptorMovimientoNecesidad ¶ added in v0.1.0
func InterceptorMovimientoNecesidad(id int, necesidadent necesidad_models.Necesidad) (necesidad necesidad_models.Necesidad, outputError map[string]interface{})
InterceptorMovimientoNecesidad, toma la necesidad y su id para determinar si se debe solo actualizar o si es para aprobar y en tal caso hacer un movimiento con esta informacion de la necesidad
func PostTrNecesidad ¶
func PostTrNecesidad(trnecesidad models.TrNecesidad) (out models.TrNecesidad, outErr map[string]interface{})
PostTrNecesidad insertar la necesidad completa
func PutNecesidadService ¶ added in v0.1.0
func PutNecesidadService(id int, necesidadent necesidad_models.Necesidad) (necesidad necesidad_models.Necesidad, outputError map[string]interface{})
func RealizarMovimiento ¶ added in v0.1.0
func RealizarMovimiento(necesidad necesidad_models.Necesidad) (outputError map[string]interface{})
RealizarMovimiento, toma la informacion de la necesidad para poder generar y estructurar el movimiento
func SolicitudConsecutivo ¶ added in v1.0.0
func SolicitudConsecutivo(vigencia int, proceso int) (respconsecutivo models_consecutivos.Consecutivo, outputError map[string]interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.