| | |
| | | <if test="item.userId != null and item.userId != '' " > |
| | | user_id, |
| | | </if> |
| | | <if test="item.content != null and item.content != '' " > |
| | | content, |
| | | </if> |
| | | <if test="item.score != null and item.score != '' " > |
| | | score, |
| | | </if> |
| | | creation_time |
| | | </trim> |
| | | values |
| | |
| | | </if> |
| | | <if test="item.userId != null and item.userId != '' " > |
| | | #{item.userId}, |
| | | </if> |
| | | <if test="item.content != null and item.content != '' " > |
| | | #{item.content}, |
| | | </if> |
| | | <if test="item.score != null and item.score != '' " > |
| | | #{item.score}, |
| | | </if> |
| | | sysdate() |
| | | </trim> |
| | |
| | | <if test="item.userId != null and item.userId != '' " > |
| | | user_id=#{item.userId}, |
| | | </if> |
| | | <if test="item.content != null and item.content != '' " > |
| | | content=#{item.content}, |
| | | </if> |
| | | <if test="item.score != null and item.score != '' " > |
| | | score=#{item.score}, |
| | | </if> |
| | | update_time=sysdate() |
| | | </set> |
| | | where id = #{item.id} |