|
|
@@ -192,7 +192,7 @@
|
|
|
</update>
|
|
|
<select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">
|
|
|
select a.id,c.job_number jobNumber,a.name ,d.dept_id deptId ,d.dept_name deptName ,c.create_time createMonth,
|
|
|
- b.id projectId,b.name projectName,b.admin_name adminName ,a.project_status projectStatus,a.content ,
|
|
|
+ b.name projectName,b.admin_name adminName ,a.project_status projectStatus,a.content ,
|
|
|
a.pid ,a.aid ,a.examine_id examineId ,a.examine_name examineName ,a.examine_time examineTime,
|
|
|
a.annex_url annexUrl,a.create_time createTime,a.process_status processStatus , a.duration
|
|
|
from project_staff_record a left join project_task b on a.pid=b.id
|
|
|
@@ -241,5 +241,15 @@
|
|
|
and a.record_time between #{param3} and #{param4}
|
|
|
)x group by x.dates
|
|
|
</select>
|
|
|
+ <select id="selectDetailsById" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">
|
|
|
+ select a.id,c.job_number jobNumber,a.name ,d.dept_id deptId ,d.dept_name deptName ,c.create_time createMonth,
|
|
|
+ b.id projectId,b.name projectName,b.admin_name adminName ,a.project_status projectStatus,a.content ,
|
|
|
+ a.pid ,a.aid ,a.examine_id examineId ,a.examine_name examineName ,a.examine_time examineTime,
|
|
|
+ a.annex_url annexUrl,a.create_time createTime,a.process_status processStatus , a.duration
|
|
|
+ from project_staff_record a left join project_task b on a.pid=b.id
|
|
|
+ left join sys_user c on a.aid=c.user_id left join sys_dept d on c.dept_id =d.dept_id
|
|
|
+ where 1=1
|
|
|
+ and a.id =#{id}
|
|
|
+ </select>
|
|
|
|
|
|
</mapper>
|