|
@@ -9,9 +9,9 @@
|
|
|
agent, assist_person, finish_time, status, conclusion, create_person_id,
|
|
|
create_person_name)
|
|
|
values
|
|
|
- (#{reportId}, #{parentId}, #{followUpName}, #{remark},
|
|
|
- #{timeLimit}, #{agent}, #{assistPerson}, #{finishTime}, #{status},
|
|
|
- #{conclusion}, #{createPersonId}, #{createPersonName})
|
|
|
+ (#{reportId}, #{parentId}, #{followUpName}, #{remark},
|
|
|
+ #{timeLimit}, #{agent}, #{assistPerson}, #{finishTime}, #{status},
|
|
|
+ #{conclusion}, #{createPersonId}, #{createPersonName})
|
|
|
</insert>
|
|
|
<!--根据id修改数据-->
|
|
|
<!--int update(FollowUp followUp);-->
|
|
@@ -78,24 +78,24 @@
|
|
|
<result column="file_name" property="fileName"/>
|
|
|
</resultMap>
|
|
|
|
|
|
-<!-- <select id="query" resultMap="queryMap">-->
|
|
|
-<!-- select id,-->
|
|
|
-<!-- report_id,-->
|
|
|
-<!-- parent_id,-->
|
|
|
-<!-- follow_up_name,-->
|
|
|
-<!-- remark,-->
|
|
|
-<!-- time_limit,-->
|
|
|
-<!-- agent,-->
|
|
|
-<!-- assist_person,-->
|
|
|
-<!-- finish_time,-->
|
|
|
-<!-- status,-->
|
|
|
-<!-- conclusion,-->
|
|
|
-<!-- create_person_id,-->
|
|
|
-<!-- create_person_name,-->
|
|
|
-<!-- create_time-->
|
|
|
-<!-- from follow_up-->
|
|
|
-<!-- where report_id = #{reportId}-->
|
|
|
-<!-- </select>-->
|
|
|
+ <!-- <select id="query" resultMap="queryMap">-->
|
|
|
+ <!-- select id,-->
|
|
|
+ <!-- report_id,-->
|
|
|
+ <!-- parent_id,-->
|
|
|
+ <!-- follow_up_name,-->
|
|
|
+ <!-- remark,-->
|
|
|
+ <!-- time_limit,-->
|
|
|
+ <!-- agent,-->
|
|
|
+ <!-- assist_person,-->
|
|
|
+ <!-- finish_time,-->
|
|
|
+ <!-- status,-->
|
|
|
+ <!-- conclusion,-->
|
|
|
+ <!-- create_person_id,-->
|
|
|
+ <!-- create_person_name,-->
|
|
|
+ <!-- create_time-->
|
|
|
+ <!-- from follow_up-->
|
|
|
+ <!-- where report_id = #{reportId}-->
|
|
|
+ <!-- </select>-->
|
|
|
|
|
|
<select id="query" resultMap="queryMap">
|
|
|
select a.id, a.report_id, a.parent_id, a.follow_up_name,a.remark,a.time_limit,a.agent,a.assist_person,a.finish_time,a.status, a.conclusion,
|
|
@@ -132,9 +132,9 @@
|
|
|
from asso_follow_up_file
|
|
|
where follow_up_id = #{followUpId}
|
|
|
and FILE_ID in
|
|
|
- <foreach collection="fileIds" item="fileId" index="index" open="(" close=")" separator=",">
|
|
|
- #{fileId}
|
|
|
- </foreach>
|
|
|
+ <foreach collection="fileIds" item="fileId" index="index" open="(" close=")" separator=",">
|
|
|
+ #{fileId}
|
|
|
+ </foreach>
|
|
|
</delete>
|
|
|
|
|
|
|
|
@@ -146,11 +146,11 @@
|
|
|
|
|
|
|
|
|
<!--插入数据-->
|
|
|
- <!--int addAssoIds(List<AssoFollowUpFile> assoFollowUpFiles);-->
|
|
|
+ <!--int addAssoIds(AssoFollowUpFile assoFollowUpFile);-->
|
|
|
<insert id="addAssoIds" useGeneratedKeys="true" keyProperty="id">
|
|
|
insert into asso_follow_up_file(follow_up_id, file_id, file_type)
|
|
|
values
|
|
|
(#{followUpId}, #{fileId}, #{fileType})
|
|
|
</insert>
|
|
|
|
|
|
-</mapper>
|
|
|
+</mapper>
|