Commit 5e3f7747 by huluobin

update

parent 2159f48d
...@@ -6,7 +6,6 @@ import com.blt.other.common.exception.BizRuntimeException; ...@@ -6,7 +6,6 @@ import com.blt.other.common.exception.BizRuntimeException;
import com.blt.other.database.model.*; import com.blt.other.database.model.*;
import com.blt.other.module.auth.dao.OaUserMapper; import com.blt.other.module.auth.dao.OaUserMapper;
import com.blt.other.module.auth.dao.UserDao; import com.blt.other.module.auth.dao.UserDao;
import com.blt.other.module.auth.model.OaUser;
import com.blt.other.module.cost.dao.*; import com.blt.other.module.cost.dao.*;
import com.blt.other.module.cost.dto.request.GetAllCostPlanReq; import com.blt.other.module.cost.dto.request.GetAllCostPlanReq;
import com.blt.other.module.cost.dto.response.GetAllCostPlanResp; import com.blt.other.module.cost.dto.response.GetAllCostPlanResp;
...@@ -150,7 +149,7 @@ public abstract class AbstractCostPlanService implements CostPlanService { ...@@ -150,7 +149,7 @@ public abstract class AbstractCostPlanService implements CostPlanService {
@Override @Override
public GetAllCostPlanResp getAllCostList(GetAllCostPlanReq req) { public GetAllCostPlanResp getAllCostList(GetAllCostPlanReq req) {
if (req.getAuthType() != 0) { if (req.getAuthType() != null && req.getAuthType() != 0) {
req.setUserId(null); req.setUserId(null);
} }
PageHelper.startPage(req.getPageNum(), req.getPageSize()); PageHelper.startPage(req.getPageNum(), req.getPageSize());
......
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