INSERT INTO hr_experimental_report(projectId, content, principle, step, analysis, summarize, improvement,
commentId, studentId, period, laboratory, className, steps1, steps2, steps3,
steps4, steps5, steps6, steps7, steps8, steps9, steps10, timeConsuming,
startTime, creationTime, purpose, teacherName)
VALUES (#{projectId}, #{content}, #{principle}, #{step}, #{analysis}, #{summarize}, #{improvement},
#{commentId}, #{studentId},
#{period}, #{laboratory}, #{className}, #{steps1}, #{steps2}, #{steps3}, #{steps4}, #{steps5},
#{steps6}, #{steps7}, #{steps8}, #{steps9}, #{steps10}, #{timeConsuming}, #{startTime}, #{creationTime},
#{purpose}, #{teacherName})
UPDATE tms_project_record tpr,tms_experimental_report ter
SET tpr.isdel = 1, ter.isdel = 1
WHERE tpr.recordId = #{recordId}
AND ter.reportId = #{reportId}
UPDATE tms_experimental_report
SET isSignature = #{isSignature},
signatureId = #{signatureId},
`comment` = #{comment}
WHERE reportId = #{reportId}
UPDATE hr_project_management
SET hr_project_management.isdel = 1
WHERE hr_project_management.projectId = #{projectId}
UPDATE tms_experimental_report
instructor=#{instructor, jdbcType=VARCHAR},
period=#{period, jdbcType=INTEGER},
proName=#{proName, jdbcType=VARCHAR},
purpose=#{purpose, jdbcType=VARCHAR},
summarize=#{summarize, jdbcType=VARCHAR},
WHERE reportId = #{reportId}