实现历史项目导入任务提交流程
This commit is contained in:
@@ -19,6 +19,15 @@
|
||||
<result property="createByName" column="create_by_name"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="ProjectHistoryListItemResultMap" type="com.ruoyi.ccdi.project.domain.vo.CcdiProjectHistoryListItemVO">
|
||||
<id property="projectId" column="project_id"/>
|
||||
<result property="projectName" column="project_name"/>
|
||||
<result property="description" column="description"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="isArchived" column="is_archived"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 分页查询项目列表 -->
|
||||
<select id="selectProjectPage" resultMap="ProjectVOResultMap">
|
||||
SELECT
|
||||
@@ -41,6 +50,24 @@
|
||||
ORDER BY p.update_time DESC
|
||||
</select>
|
||||
|
||||
<select id="selectHistoryProjects" resultMap="ProjectHistoryListItemResultMap">
|
||||
SELECT
|
||||
p.project_id,
|
||||
p.project_name,
|
||||
p.description,
|
||||
p.status,
|
||||
p.is_archived,
|
||||
p.create_time
|
||||
FROM ccdi_project p
|
||||
<where>
|
||||
p.status in ('1', '2')
|
||||
<if test="queryDTO.projectName != null and queryDTO.projectName != ''">
|
||||
AND p.project_name LIKE CONCAT('%', #{queryDTO.projectName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY p.update_time DESC
|
||||
</select>
|
||||
|
||||
<update id="updateRiskCountsByProjectId">
|
||||
update ccdi_project
|
||||
set high_risk_count = #{highRiskCount},
|
||||
|
||||
Reference in New Issue
Block a user