add  Condition Query Function
Merge branch 'master' of https://github.com/amsDevelop/collaboration_team