fssa-batch3 / sec_b_maruthan.alagar__corejava_project_2

https://fssa-batch3.github.io/sec_b_maruthan.alagar__corejava_project_2/
0 stars 0 forks source link

Find all bills by user phone number #18

Open maruthu001 opened 1 year ago

maruthu001 commented 1 year ago

Feature : Find bills by user phone number

User Story:

User can find bill details by using user phone number.

Prerequisites:

Validations:

Form Validation:

Flow:

graph  TD;

A[User Service: Get User by phone number]  -->  B[Form Validation]
B  -- Yes -->  C{Business Validation}
B -- No --> G[Throws Exception]

C  -- Yes -->  D[User DAO: find user by phone number]

D  -->  E[User Service: Get User ID ]
E-->H
C  -- No -->  F[User Service: User Not Found ]
H[Bill Service: Get Bill by User ID]  -->  I[Form Validation]
I  -- Yes -->  K[Bill DAO: find Bill by User ID]

K  -->  L[Bill Service: Display Bill Details]
I -- No --> M[Throws Exception]
maruthu001 commented 1 year ago

Completed :)