xiangpei
2024-11-26 e8e9d4975d457bb17d28dfbb39ee79be918034ba
business/src/main/resources/mapper/ProjectPlanExamineRecordMapper.xml
@@ -5,6 +5,7 @@
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ycl.domain.vo.ProjectPlanExamineRecordVO">
        <result column="project_plan_record_id" property="projectPlanRecordId" />
        <result column="project_plan_info_id" property="projectPlanInfoId" />
        <result column="department_user_id" property="departmentUserId" />
        <result column="manager_user_id" property="managerUserId" />
        <result column="department_examine" property="departmentExamine" />
@@ -19,11 +20,41 @@
        <result column="gmt_create" property="gmtCreate" />
        <result column="gmt_update" property="gmtUpdate" />
    </resultMap>
    <insert id="insertOne">
        insert into t_project_plan_examine_record (
            project_plan_record_id,
            project_plan_info_id,
            department_user_id,
            manager_user_id,
            department_examine,
            department_approval,
            department_approval_reply,
            manage_examine,
            manage_approval,
            manage_approval_reply,
            event_type,
            delay_start_time,
            delay_end_time,
            gmt_create,
            gmt_update
        ) values (
            #{projectPlanRecordId},
            #{projectPlanInfoId},
            #{departmentUserId},
            #{managerUserId},
            #{departmentExamine},
            #{departmentApproval},
            #{departmentApprovalReply},
            #{manageExamine},
            #{manageApproval},
            #{manageApprovalReply},
            #{eventType},
            #{delayStartTime},
            #{delayEndTime},
            #{gmtCreate},
            #{gmtUpdate}
        )
    </insert>
    <select id="getById" resultMap="BaseResultMap">