Commit bfb0c12f authored by alex yao's avatar alex yao

feat:新增审核单接口

parent 6dd9c5e2
...@@ -44,6 +44,6 @@ public interface ApprovalRest extends BaseRest { ...@@ -44,6 +44,6 @@ public interface ApprovalRest extends BaseRest {
/** /**
* 获取审批单列表 * 获取审批单列表
*/ */
List<BizApprovalDto> getList(@RequestBody BizApprovalDto dto, PagingInfo pagingInfo); List<BizApprovalDto> getList(@RequestBody BizApprovalDto dto, PagingInfo pagingInfo) throws Exception;
} }
...@@ -77,7 +77,7 @@ public class ApprovalRestImpl implements ApprovalRest { ...@@ -77,7 +77,7 @@ public class ApprovalRestImpl implements ApprovalRest {
} }
@Override @Override
public List<BizApprovalDto> getList(BizApprovalDto dto, PagingInfo pagingInfo) { public List<BizApprovalDto> getList(BizApprovalDto dto, PagingInfo pagingInfo) throws Exception {
Assert.notNull(dto, "approvalDto can not be null"); Assert.notNull(dto, "approvalDto can not be null");
UserBaseEntity userBaseEntity = BlContext.getCurrentUserNotException(); UserBaseEntity userBaseEntity = BlContext.getCurrentUserNotException();
if (userBaseEntity == null) { if (userBaseEntity == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment