新增license分页接口及实现

This commit is contained in:
aoshiguchen
2022-08-06 19:34:40 +08:00
parent 2b8c538a7b
commit bc7ecaac6e
15 changed files with 322 additions and 17 deletions
@@ -1,5 +1,9 @@
<mapper namespace = "fun.asgc.neutrino.proxy.server.dal.LicenseMapper">
<select id="page" resultType="fun.asgc.neutrino.proxy.server.controller.res.LicenseListRes">
select * from `license`
</select>
<insert id="add">
insert into `license`(`name`,`key`,`user_id`,`is_online`,`enable`,`create_time`,`update_time`)
values (:name, :key, :userId, :isOnline, :enable, :createTime, :updateTime)