jdbc.url=jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
jdbc.url加上标红字体
sql :
<update id="delete">
UPDATE test SET
del_flag = #{DEL_FLAG_DELETE}
WHERE id = #{id};
UPDATE test2 SET
del_flag = #{DEL_FLAG_DELETE}
WHERE test_id = #{id};
UPDATE test3 SET
del_flag = #{DEL_FLAG_DELETE}
WHERE test_id = #{id};
UPDATE srt_mp_report SET
del_flag = #{DEL_FLAG_DELETE}
WHERE test_id = #{id};
</update>