From 72f23fdaa41840a6bce99c7c693ba4d13882825b Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期二, 26 十一月 2024 20:34:01 +0800 Subject: [PATCH] bug --- business/src/main/resources/mapper/ProjectPlanExamineRecordMapper.xml | 41 ++++++++++++++++++++++++++++++++++++----- 1 files changed, 36 insertions(+), 5 deletions(-) diff --git a/business/src/main/resources/mapper/ProjectPlanExamineRecordMapper.xml b/business/src/main/resources/mapper/ProjectPlanExamineRecordMapper.xml index 1591b70..32dc202 100644 --- a/business/src/main/resources/mapper/ProjectPlanExamineRecordMapper.xml +++ b/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"> -- Gitblit v1.8.0