| | |
| | | <result column="progress_status" property="progressStatus" /> |
| | | <result column="actual_invest" property="actualInvest" /> |
| | | </resultMap> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | <insert id="insertOne"> |
| | | INSERT INTO t_project_plan_progress_report ( |
| | | project_plan_info_id, |
| | | start_time, |
| | | end_time, |
| | | progress_status, |
| | | actual_invest |
| | | ) |
| | | VALUES ( |
| | | #{projectPlanInfoId}, |
| | | #{startTime}, |
| | | #{endTime}, |
| | | #{progressStatus}, |
| | | #{actualInvest} |
| | | ) |
| | | </insert> |
| | | <update id="updateOne"> |
| | | UPDATE t_project_plan_progress_report |
| | | SET |
| | | start_time = #{startTime}, |
| | | end_time = #{endTime}, |
| | | progress_status = #{progressStatus}, |
| | | actual_invest = #{actualInvest} |
| | | WHERE |
| | | id = #{id} |
| | | </update> |
| | | |
| | | |
| | | <select id="getById" resultMap="BaseResultMap"> |
| | |
| | | <select id="getDetail" resultType="com.ycl.domain.vo.ProgressReportResponseVO"> |
| | | SELECT |
| | | ppi.id, |
| | | pppr.id AS progress_report_id, |
| | | pper.id AS examine_record_id, |
| | | ppr.plan_time, |
| | | ppr.plan_time_flag, |
| | | ppi.title, |