|
@ -60,7 +60,7 @@ |
|
|
del_flag = '0' |
|
|
del_flag = '0' |
|
|
<if test="orgType != null and orgType !=''"> |
|
|
<if test="orgType != null and orgType !=''"> |
|
|
<if test="orgType == 'agency'"> |
|
|
<if test="orgType == 'agency'"> |
|
|
AND org_id = #{orgId} |
|
|
AND all_parent_ids LIKE CONCAT('%',#{orgId},'%') |
|
|
</if> |
|
|
</if> |
|
|
<if test="orgType == 'grid'"> |
|
|
<if test="orgType == 'grid'"> |
|
|
AND grid_id = #{orgId} |
|
|
AND grid_id = #{orgId} |
|
@ -76,7 +76,6 @@ |
|
|
org_id AS "agencyId", |
|
|
org_id AS "agencyId", |
|
|
org_name AS "agencyName", |
|
|
org_name AS "agencyName", |
|
|
grid_id AS "gridId", |
|
|
grid_id AS "gridId", |
|
|
grid_name AS "gridName", |
|
|
|
|
|
user_id AS "userId", |
|
|
user_id AS "userId", |
|
|
user_name AS "userName", |
|
|
user_name AS "userName", |
|
|
round(index_score, 1) AS "indexScore" |
|
|
round(index_score, 1) AS "indexScore" |
|
@ -87,7 +86,7 @@ |
|
|
AND party_flag = '1'<!-- 是否是党员标志:1是。0不是党员 --> |
|
|
AND party_flag = '1'<!-- 是否是党员标志:1是。0不是党员 --> |
|
|
<if test="orgType != null and orgType !=''"> |
|
|
<if test="orgType != null and orgType !=''"> |
|
|
<if test="orgType == 'agency'"> |
|
|
<if test="orgType == 'agency'"> |
|
|
AND org_id = #{orgId} |
|
|
AND all_parent_ids LIKE CONCAT('%',#{orgId},'%') |
|
|
</if> |
|
|
</if> |
|
|
<if test="orgType == 'grid'"> |
|
|
<if test="orgType == 'grid'"> |
|
|
AND grid_id = #{orgId} |
|
|
AND grid_id = #{orgId} |
|
|