Which label should be used in mybatis to use mysql's ON DUPLICATE KEY UPDATE syntax to implement existence and update?
PHP中文网2017-06-10 09:49:42
0
1
993
Mybatis seems to only provide four tags for add, delete, modify and check (<insert>/<update>/<delete>/<select>), but similar to this branch processing statement with existence and update, mybatis How to use?
Just use <insert> or <update>
mybaits and merge