一日流程评估详情和计划修改

This commit is contained in:
zhanglipeng
2021-04-09 15:00:10 +08:00
parent 7682ce5795
commit fd6a5bfa6c
11 changed files with 393 additions and 91 deletions

View File

@ -15,6 +15,7 @@
<result property="createtime" column="createtime"/>
<result property="updateuser" column="updateuser"/>
<result property="updatetime" column="updatetime"/>
<result property="mrz" column="mrz"/>
</resultMap>
<sql id="selectByDayFlowStandardVo">
@ -37,6 +38,11 @@
</where>
</select>
<select id="selectByDayFlowStandardListAssessment" parameterType="ByDayFlowStandard" resultMap="ByDayFlowStandardResult">
select a.id, a.task_code, a.standard_title, a.score, a.standard_sort, a.createuser, a.createtime, a.updateuser, a.updatetime,b.value as mrz from by_day_flow_standard a
left join (select * from by_dayflowassessmentitem where pid=#{id}) b on a.id=b.item
</select>
<select id="selectByDayFlowStandardById" parameterType="Long" resultMap="ByDayFlowStandardResult">
<include refid="selectByDayFlowStandardVo"/>
where id = #{id}