Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code migration of get location by parent location service #438

Open
proshantokuet opened this issue Feb 25, 2021 · 0 comments
Open

Code migration of get location by parent location service #438

proshantokuet opened this issue Feb 25, 2021 · 0 comments
Assignees

Comments

@proshantokuet
Copy link
Member

Query:
SELECT parent_location_id parent_id,l.id id, split_part(l.name, ':', 1) as name from core.location l WHERE l.parent_location_id=#{parentId,jdbcType=BIGINT}

Github link: server-web/blob/brac-hnpp/opensrp-core/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomClientMapper.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant