Parameters
| Name | Type | Mode |
|---|---|---|
| i_followup_id | integer | IN (DEFAULT NULL) |
| i_booking_id | integer | IN (DEFAULT NULL) |
| i_register_id | integer | IN (DEFAULT NULL) |
| i_assign_user | text | IN (DEFAULT NULL) |
Create by KenG (2020/03/12) # Return json # Condition return - In case 1: all value null will returnn all followup data - In case 2: if have followup_id only -> will return followup and comments where id of followup table - In case 3: if have booking_id only -> will return followup and comments where ref_type = booking and ref_id = booking_id - In case 4: if have register_id only -> will return followup and comments where ref_type = register and ref_id = register_id - In case 5: if have assign_user only -> will return followup and comments where assign_users that have param assign_user (get all followup that assign that user)
| Name | Type | Mode |
|---|---|---|
| i_followup_id | integer | IN (DEFAULT NULL) |
| i_booking_id | integer | IN (DEFAULT NULL) |
| i_register_id | integer | IN (DEFAULT NULL) |
| i_assign_user | text | IN (DEFAULT NULL) |