|
@@ -97,10 +97,13 @@
|
|
|
DISTINCT a.user_id userId,
|
|
|
a.`name` AS name,
|
|
|
d.dept_name AS deptName,
|
|
|
- a.phone AS phone
|
|
|
+ a.phone AS phone,
|
|
|
+ a.post post,
|
|
|
+ b.dict_label postName
|
|
|
FROM
|
|
|
centerdata_t_hydraulic_river_length a
|
|
|
LEFT JOIN ${database_system}.sys_dept d ON a.dept_id = d.dept_id
|
|
|
+ left join ${database_system}.sys_dict_data b on a.post = b.dict_value
|
|
|
WHERE
|
|
|
a.type = #{leadType}
|
|
|
<if test="dictType != null and dictType != ''">AND a.post = #{dictType}</if>
|