数据库层面操作

 @Query(value = "UPDATE fors_application SET limit_count = limit_count + ? WHERE id=?",nativeQuery = true)
    @Modifying
    void updLimitCount(Integer changeNum, Integer appId);

猜你喜欢

转载自blog.csdn.net/kaichekaihanma/article/details/84649074