mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
新增ISV修复
This commit is contained in:
@@ -10,6 +10,7 @@ import com.gitee.easyopen.doc.annotation.ApiDocMethod;
|
||||
import com.gitee.easyopen.util.CopyUtil;
|
||||
import com.gitee.fastmybatis.core.PageInfo;
|
||||
import com.gitee.fastmybatis.core.query.Query;
|
||||
import com.gitee.fastmybatis.core.query.Sort;
|
||||
import com.gitee.fastmybatis.core.util.MapperUtil;
|
||||
import com.gitee.sop.adminserver.api.IdParam;
|
||||
import com.gitee.sop.adminserver.api.isv.param.IsvInfoFormAdd;
|
||||
@@ -82,6 +83,7 @@ public class IsvApi {
|
||||
})
|
||||
PageInfo<IsvInfoVO> pageIsv(IsvPageParam param) {
|
||||
Query query = Query.build(param);
|
||||
query.orderby("id", Sort.DESC);
|
||||
PageInfo<IsvInfo> pageInfo = MapperUtil.query(isvInfoMapper, query);
|
||||
List<IsvInfo> list = pageInfo.getList();
|
||||
|
||||
@@ -165,6 +167,7 @@ public class IsvApi {
|
||||
}
|
||||
IsvKeysGenVO isvKeysGenVO = this.createIsvKeys();
|
||||
IsvKeys isvKeys = new IsvKeys();
|
||||
isvKeys.setAppKey(appKey);
|
||||
CopyUtil.copyPropertiesIgnoreNull(isvKeysGenVO, isvKeys);
|
||||
isvKeysMapper.saveIgnoreNull(isvKeys);
|
||||
|
||||
|
@@ -28,6 +28,8 @@ public class IsvInfo {
|
||||
/** appKey, 数据库字段:app_key */
|
||||
private String appKey;
|
||||
|
||||
private String secret = "";
|
||||
|
||||
/** 1启用,2禁用, 数据库字段:status */
|
||||
private Byte status;
|
||||
|
||||
|
Reference in New Issue
Block a user