|
@@ -1816,4 +1816,17 @@
|
|
set audit_pass_date = #{createDate}
|
|
set audit_pass_date = #{createDate}
|
|
where process_instance_id = #{processInstanceId}
|
|
where process_instance_id = #{processInstanceId}
|
|
</update>
|
|
</update>
|
|
|
|
+
|
|
|
|
+ <select id="getProjectCreateUserAndChargeUser" resultType="User">
|
|
|
|
+ select z.id,z.name,z.photo from (
|
|
|
|
+ select a.id,a.name,a.photo from sys_user a
|
|
|
|
+ left join rural_project_records b on a.id = b.create_by
|
|
|
|
+ where b.id = #{projectId}
|
|
|
|
+ union all
|
|
|
|
+ select a.id,a.name,a.photo from sys_user a
|
|
|
|
+ left join rural_project_records b on a.id = b.project_master_id
|
|
|
|
+ where b.id = #{projectId}
|
|
|
|
+ ) z
|
|
|
|
+ group by z.id
|
|
|
|
+ </select>
|
|
</mapper>
|
|
</mapper>
|