| | |
| | | <!-- 查询组织数量 add by wuxw 2018-07-03 --> |
| | | <select id="queryOrgsCount" parameterType="Map" resultType="Map"> |
| | | select count(1) count |
| | | from u_org t,t_dict td,u_org uo |
| | | from u_org t,t_dict td,u_org uo |
| | | where 1 =1 |
| | | and t.org_level = td.status_cd |
| | | and td.table_name='u_org' |
| | | and td.table_columns = 'org_level' |
| | | and t.parent_org_id = uo.org_id |
| | | and uo.status_cd = '0' |
| | | and t.org_level = td.status_cd |
| | | and td.table_name='u_org' |
| | | and td.table_columns = 'org_level' |
| | | and t.parent_org_id = uo.org_id |
| | | and uo.status_cd = '0' |
| | | <if test="orgName !=null and orgName != ''"> |
| | | and t.org_name= #{orgName} |
| | | </if> |
| | |
| | | ]]> |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |