Commit 583caf73 by wangchunyang

日常管理框架代码上传

parent 4d55aed8
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -21,13 +22,13 @@ public class KeyDmBorrowServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmBorrow.";
@ApiOperation(value = "领用申请列表", desc = "分页查询")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectList", map);
}
@ApiOperation(value = "待审核列表", desc = "分页查询待审核")
public Map<String, Object> selectPendingList(Map<String, Object> map) {
public Page<Map<String, Object>> selectPendingList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectPendingList", map);
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -21,7 +22,7 @@ public class KeyDmInboundServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmInbound.";
@ApiOperation(value = "入库记录列表", desc = "分页查询")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectList", map);
}
......@@ -74,7 +75,7 @@ public class KeyDmInboundServiceImpl {
}
@ApiOperation(value = "待归还列表(来自申领)", desc = "查询待归还记录")
public Map<String, Object> selectPendingReturnList(Map<String, Object> map) {
public Page<Map<String, Object>> selectPendingReturnList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectPendingReturnList", map);
}
......@@ -92,7 +93,7 @@ public class KeyDmInboundServiceImpl {
}
@ApiOperation(value = "库存查询", desc = "实时库存")
public Map<String, Object> selectInventoryList(Map<String, Object> map) {
public Page<Map<String, Object>> selectInventoryList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectInventoryList", map);
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -21,13 +22,13 @@ public class KeyDmLeaveServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmLeave.";
@ApiOperation(value = "分页查询请假申请列表", desc = "分页查询")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectList", map);
}
@ApiOperation(value = "待审核列表", desc = "查询待审核数据")
public Map<String, Object> selectPendingList(Map<String, Object> map) {
public Page<Map<String, Object>> selectPendingList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectPendingList", map);
}
......@@ -89,7 +90,7 @@ public class KeyDmLeaveServiceImpl {
}
@ApiOperation(value = "审批历史查询", desc = "查询审批历史")
public Map<String, Object> selectApprovalHistory(Map<String, Object> map) {
public Page<Map<String, Object>> selectApprovalHistory(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectApprovalHistory", map);
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -20,7 +21,7 @@ public class KeyDmLeaveTypeServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmLeaveType.";
@ApiOperation(value = "查询请假类型列表", desc = "分页查询请假类型")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) {
map = new HashMap<>();
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -20,7 +21,7 @@ public class KeyDmMaterialCategoryServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmMaterialCategory.";
@ApiOperation(value = "查询办公用品分类列表", desc = "分页查询办公用品分类")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) {
map = new HashMap<>();
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -20,7 +21,7 @@ public class KeyDmMaterialServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmMaterial.";
@ApiOperation(value = "查询办公用品列表", desc = "分页查询办公用品")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) {
map = new HashMap<>();
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -21,7 +22,7 @@ public class KeyDmUserCategoryServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmUserCategory.";
@ApiOperation(value = "查询人员分类列表", desc = "分页查询人员分类")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) {
map = new HashMap<>();
}
......
package com.scpyun.platform.jilinsscgsdp.service.impl;
import com.scpyun.base.bean.Page;
import com.scpyun.base.core.annotation.Api;
import com.scpyun.base.core.annotation.ApiOperation;
import com.scpyun.base.core.exception.CustomException;
......@@ -21,7 +22,7 @@ public class KeyDmUserServiceImpl {
private final String namespace = "com.scpyun.platform.standard.jilinsscgsdp.keyDmUser.";
@ApiOperation(value = "分页查询日常人员列表", desc = "分页")
public Map<String, Object> selectList(Map<String, Object> map) {
public Page<Map<String, Object>> selectList(Map<String, Object> map) {
if (map == null) map = new HashMap<>();
return commonService.findPage(namespace + "selectList", map);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论