{"param1":"select count(1) total,ceil(#page#/#rows#)+1 page,ceil(count(1)/#rows#) records  from u_user a 
	<if test=\"parentOrgId !=null and parentOrgId != ''\">
		,u_org uo
		,u_org_staff_rel uosr
	</if>
 where a.level_cd = '01' 
 <if test=\"parentOrgId !=null and parentOrgId != ''\">
		and a.user_id = uosr.staff_id
		and uosr.store_id = #storeId#
		and uosr.org_id = uo.org_id
		and uo.parent_org_id = #parentOrgId#
		and uo.status_cd = '0'
		and uosr.status_cd = '0'
	</if>
 ",
"param2":"select a.user_id userId,a.name,a.email,a.address,a.sex,a.status_cd statusCd,a.tel,a.create_time createTime from u_user a
<if test=\"parentOrgId !=null and parentOrgId != ''\">
		,u_org uo
		,u_org_staff_rel uosr
	</if>
	 where a.level_cd = '01'
<if test=\"parentOrgId !=null and parentOrgId != ''\">
		and a.user_id = uosr.staff_id
		and uosr.store_id = #storeId#
		and uosr.org_id = uo.org_id
		and uo.parent_org_id = #parentOrgId#
		and uo.status_cd = '0'
		and uosr.status_cd = '0'
	</if>
 LIMIT #page#, #rows#"}