|
@@ -30,9 +30,10 @@
|
|
|
insert into cm_visitor_remarks_file(remarksId, fileType, fileName, ossName)
|
|
|
values (#{remarksId}, 2, #{fileName}, #{ossName})
|
|
|
</insert>
|
|
|
- <insert id="concactVisit" parameterType="com.caimei365.user.model.vo.RemarksVo" keyProperty="remarksId" useGeneratedKeys="true">
|
|
|
- insert into cm_club_remarks(clubId, serviceProviderId, remarks, addTime, questionMan,concactTime)
|
|
|
- values (#{clubId}, #{serviceProviderId}, #{remarks}, #{addTime}, #{questionMan},now())
|
|
|
+ <insert id="concactVisit" parameterType="com.caimei365.user.model.vo.RemarksVo" keyProperty="remarksId"
|
|
|
+ useGeneratedKeys="true">
|
|
|
+ insert into cm_club_remarks(clubId, serviceProviderId, remarks, addTime, questionMan, concactTime)
|
|
|
+ values (#{clubId}, #{serviceProviderId}, #{remarks}, #{addTime}, #{questionMan}, now())
|
|
|
</insert>
|
|
|
<update id="updateClubUserByUpdateInfo">
|
|
|
update user set
|
|
@@ -397,7 +398,7 @@
|
|
|
ORDER BY ADDTIME DESC
|
|
|
</select>
|
|
|
<select id="findConcactVisit" resultType="com.caimei365.user.model.vo.VisitorRemarkVo">
|
|
|
- select id as remarksId,
|
|
|
+ select id as remarksId,
|
|
|
questionManId,
|
|
|
serviceProviderId,
|
|
|
remarks,
|
|
@@ -407,7 +408,12 @@
|
|
|
concactTime
|
|
|
from cm_visitor_remarks
|
|
|
where clubId = #{clubId}
|
|
|
- and remarks is not null
|
|
|
+ and remarks is not null
|
|
|
+ </select>
|
|
|
+ <select id="findQuestionMan" resultType="java.lang.String">
|
|
|
+ select questionMan
|
|
|
+ from cm_visitor_remarks
|
|
|
+ where questionManId = #{questionManId}
|
|
|
+ AND questionMan IS NOT NULL
|
|
|
</select>
|
|
|
-
|
|
|
</mapper>
|