insert into sys_services_question
que_id,
cus_id,
content,
type,
create_time,
img,
#{queId},
#{cusId},
#{content},
#{type},
#{createTime},
#{img, jdbcType=OTHER, typeHandler=com.stdiet.custom.typehandler.ArrayJsonHandler},
insert into sys_services_question_status (que_id, user_id, role, `read`, create_time, update_time) values
(#{status.queId}, #{status.userId}, #{status.role}, #{status.read}, now(), now())
update sys_services_question_status
`read` = #{read},
update_time = now(),
id = ${id}
role != #{role} and
role = 'customer' and
que_id = #{queId}
insert into sys_services_question_session
que_id,
user_id,
content,
`read`,
role,
img,
create_time,
update_time,
#{queId},
#{userId},
#{content},
#{read},
#{role},
#{img, jdbcType=OTHER, typeHandler=com.stdiet.custom.typehandler.ArrayJsonHandler},
now(),
now(),