7 changed files with 52 additions and 21 deletions
@ -1,18 +1,33 @@
@@ -1,18 +1,33 @@
|
||||
package vip.xumy.idle.server.mapper; |
||||
|
||||
import org.apache.ibatis.annotations.Mapper; |
||||
import org.apache.ibatis.annotations.Update; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
||||
import vip.xumy.idle.server.pojo.Archive; |
||||
|
||||
/** Ownership belongs to the company |
||||
/** |
||||
* Ownership belongs to the company |
||||
* |
||||
* @author:mengyxu |
||||
* @date:2025年5月19日 |
||||
* @author:mengyxu |
||||
* @date:2025年5月19日 |
||||
*/ |
||||
|
||||
@Mapper |
||||
public interface IArchiveMapper extends BaseMapper<Archive> { |
||||
|
||||
@Update(""" |
||||
UPDATE archive |
||||
SET |
||||
lv = #{lv}, |
||||
coins = #{coins}, |
||||
strengthen_lv= #{strengthenLv} , |
||||
archive = #{archive} |
||||
WHERE |
||||
username = #{username} |
||||
and version = #{version} |
||||
""") |
||||
void update(Archive archive); |
||||
|
||||
} |
||||
|
Loading…
Reference in new issue