update s_gxhpz_follow_task
taskStatus = #{taskStatus},
updatedAt = #{updatedAt},
operator = #{operator},
where planId = #{planId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
updatedAt = #{updatedAt},
operator = #{operator},
where id = #{id}
insert into s_gxhpz_follow_task
templeName,
appointmentDate,
businessBelonging,
taskName,
taskTheme,
planId,
taskId,
patientId,
patientName,
gender,
age,
followUpSummary,
followUpSummaryid,
disease,
storeName,
storeId,
drugsLinkId,
nodeId,
genericName,
productName,
mdmCode,
taskFollower,
returnMethod,
iscoordinate,
reasons_uncooperative,
InterviewRecord,
timeFirstDiagnosis,
permanentStopTime,
returnObject,
returnImgUrl,
medicationStatus,
stoped,
charitable,
perpetual_stopdrug_cause,
planningStrategy,
other_channels,
delay_purchase_doctor,
delayed_purchase_drugs,
is_adverse_reaction,
adverse_reaction_time,
good_response_symptom_id,
tar,
nutrition_evaluation_id,
medication_record_id,
other,
actualFollowUpTime,
callConnectedCount,
nextCallTime,
lastOutboundFlag,
outboundCallCount,
nextOutboundCallCount,
taskStatus,
completionTime,
lastOutboundStatus,
operator,
interval_this_time,
next_taskTheme,
next_follow_time,
createdAt,
values
#{templeName},
#{appointmentDate},
#{businessBelonging},
#{taskName},
#{taskTheme},
#{planId},
#{taskId},
#{patientId},
#{patientName},
#{gender},
#{age},
#{followUpSummary},
#{followUpSummaryid},
#{disease},
#{storeName},
#{storeId},
#{drugsLinkId},
#{nodeId},
#{genericName},
#{productName},
#{mdmCode},
#{taskFollower},
#{returnMethod},
#{iscoordinate},
#{reasons_uncooperative},
#{InterviewRecord},
#{timeFirstDiagnosis},
#{permanentStopTime},
#{returnObject},
#{returnImgUrl},
#{medicationStatus},
#{stoped},
#{charitable},
#{perpetual_stopdrug_cause},
#{planningStrategy},
#{other_channels},
#{delay_purchase_doctor},
#{delayed_purchase_drugs},
#{is_adverse_reaction},
#{adverse_reaction_time},
#{good_response_symptom_id},
#{tar},
#{nutrition_evaluation_id},
#{medication_record_id},
#{other},
#{actualFollowUpTime},
#{callConnectedCount},
#{nextCallTime},
#{lastOutboundFlag},
#{outboundCallCount},
#{nextOutboundCallCount},
#{taskStatus},
#{completionTime},
#{lastOutboundStatus},
#{operator},
#{interval_this_time},
#{next_taskTheme},
#{next_follow_time},
#{createdAt},
update s_gxhpz_follow_task
templeName = #{templeName},
appointmentDate = #{appointmentDate},
businessBelonging = #{businessBelonging},
taskName = #{taskName},
taskTheme = #{taskTheme},
planId = #{planId},
taskId = #{taskId},
nodeId = #{nodeId},
patientId = #{patientId},
patientName = #{patientName},
gender = #{gender},
age = #{age},
followUpSummary = #{followUpSummary},
followUpSummaryid = #{followUpSummaryid},
disease = #{disease},
storeName = #{storeName},
storeId = #{storeId},
drugsLinkId = #{drugsLinkId},
genericName = #{genericName},
productName = #{productName},
mdmCode = #{mdmCode},
taskFollower = #{taskFollower},
returnMethod = #{returnMethod},
iscoordinate = #{iscoordinate},
reasons_uncooperative = #{reasons_uncooperative},
InterviewRecord = #{InterviewRecord},
timeFirstDiagnosis = #{timeFirstDiagnosis},
permanentStopTime = #{permanentStopTime},
returnObject = #{returnObject},
returnImgUrl = #{returnImgUrl},
medicationStatus = #{medicationStatus},
stoped = #{stoped},
charitable = #{charitable},
perpetual_stopdrug_cause = #{perpetual_stopdrug_cause},
planningStrategy = #{planningStrategy},
other_channels = #{other_channels},
delay_purchase_doctor = #{delay_purchase_doctor},
delayed_purchase_drugs = #{delayed_purchase_drugs},
is_adverse_reaction = #{is_adverse_reaction},
adverse_reaction_time = #{adverse_reaction_time},
good_response_symptom_id = #{good_response_symptom_id},
tar = #{tar},
nutrition_evaluation_id = #{nutrition_evaluation_id},
medication_record_id = #{medication_record_id},
other = #{other},
actualFollowUpTime = #{actualFollowUpTime},
interval_this_time = #{interval_this_time},
next_taskTheme = #{next_taskTheme},
next_follow_time = #{next_follow_time},
callConnectedCount = #{callConnectedCount},
nextCallTime = #{nextCallTime},
lastOutboundFlag = #{lastOutboundFlag},
outboundCallCount = #{outboundCallCount},
nextOutboundCallCount = #{nextOutboundCallCount},
taskStatus = #{taskStatus},
completionTime = #{completionTime},
lastOutboundStatus = #{lastOutboundStatus},
updatedAt = #{updatedAt},
operator= #{operator},
where id = #{id}
update s_gxhpz_follow_task
appointmentDate = #{appointmentDate},
where taskId = #{taskId}
update s_dtp_prescription_registration
status = #{status},
where drugsLinkId = #{drugsLinkId}
delete from s_gxhpz_follow_task
where id in
#{id}
delete from s_gxhpz_follow_task where drugsLinkId =#{drugsLinkId}
delete from sys_job where plan_id =#{plan_id}
update sys_job
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate(),
where task_id = #{taskId} and actions = #{actions}
update s_gxhpz_follow_plan
status = #{status},
updatedBy = #{updateBy},
updatedTime = sysdate(),
where patientId= #{patientId} and storeId= #{storeId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
operator = #{operator},
updatedAt = sysdate(),
where patientId= #{patientId} and storeId= #{storeId}
update s_gxhpz_follow_plan
status = #{status},
updatedBy = #{updateBy},
updatedTime = sysdate(),
where patientId= #{patientId} and businessBelonging= #{businessBelonging} and storeId= #{storeId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
operator = #{operator},
updatedAt = sysdate(),
where patientId= #{patientId} and businessBelonging= #{businessBelonging} and storeId= #{storeId}
update s_gxhpz_follow_plan
status = #{status},
updatedBy = #{updateBy},
updatedTime = sysdate(),
where mdmCode = #{mdmCode} and patientId= #{patientId} and storeId= #{storeId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
operator = #{operator},
updatedAt = sysdate(),
where mdmCode = #{mdmCode} and patientId= #{patientId} and storeId= #{storeId}
update sys_job
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate(),
where plan_id = #{planId}
update sys_job
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate(),
where plan_id = #{planId}
update sys_job
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate(),
where plan_id = #{planId} and actions = #{actions} and store_id = #{storeId}
update sys_job
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate(),
where store_id = #{storeId} and patient_id = #{patientId}
update s_gxhpz_follow_plan
status = #{status},
updatedBy = #{updatedBy},
updatedTime = #{updatedTime},
where storeId = #{storeId} and patientId = #{patientId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
updatedAt = #{updatedAt},
operator = #{operator},
where storeId = #{storeId} and patientId = #{patientId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
updatedAt = #{updatedAt},
operator = #{operator},
where storeId = #{storeId} and patientId = #{patientId} and taskId=#{taskId}
update s_gxhpz_follow_task
taskStatus = #{taskStatus},
updatedAt = #{updatedAt},
operator = #{operator},
appointmentDate = #{appointmentDate},
where storeId = #{storeId} and patientId = #{patientId} and taskId=#{taskId}
update s_gxhpz_follow_plan
status = #{status},
updatedTime = #{updatedTime},
updatedBy = #{updatedBy},
where storeId = #{storeId} and patientId = #{patientId} and planId=#{planId}
update sys_job
status = #{status},
task_id = #{taskId},
currentExecutionCount = #{currentExecutionCount},
remainingExecutions = #{remainingExecutions},
update_time = #{updateTime},
remark = #{remark},
update_by = #{updateBy},
where store_id = #{storeId} and patient_id = #{patientId} create_id=#{createId}