11-25-报销默认只能看见自己
This commit is contained in:
@ -52,6 +52,9 @@ public class XzdBxBxsqController extends BaseController {
|
||||
private final IXzdProjectService xzdProjectService;
|
||||
private final IXzdSupplierOpenBankService xzdSupplierOpenBankService;
|
||||
private final IXzdBxBxsqBxlxService xzdBxBxsqBxlxService;
|
||||
private final IXzdYhxxService xzdYhxxService;
|
||||
|
||||
|
||||
/**
|
||||
* 查询报销-报销申请列表
|
||||
*/
|
||||
@ -61,8 +64,6 @@ public class XzdBxBxsqController extends BaseController {
|
||||
return xzdBxBxsqService.queryPageList(bo, pageQuery);
|
||||
}
|
||||
|
||||
private final IXzdYhxxService xzdYhxxService;
|
||||
|
||||
/**
|
||||
* 查询银行数据关联列表
|
||||
*/
|
||||
|
||||
@ -29,9 +29,7 @@ import org.dromara.xzd.bx.bxsq.fymx.service.impl.XzdBxBxsqFymxServiceImpl;
|
||||
import org.dromara.xzd.bx.bxsq.mapper.XzdBxBxsqMapper;
|
||||
import org.dromara.xzd.bx.bxsq.service.IXzdBxBxsqService;
|
||||
import org.dromara.xzd.domain.XzdProject;
|
||||
import org.dromara.xzd.domain.XzdSupplierOpenBank;
|
||||
import org.dromara.xzd.domain.XzdYhxx;
|
||||
import org.dromara.xzd.domain.bo.XzdYhxxBo;
|
||||
import org.dromara.xzd.service.impl.XzdProjectServiceImpl;
|
||||
import org.dromara.xzd.service.impl.XzdSupplierOpenBankServiceImpl;
|
||||
import org.dromara.xzd.service.impl.XzdYhxxServiceImpl;
|
||||
@ -97,6 +95,11 @@ public class XzdBxBxsqServiceImpl extends ServiceImpl<XzdBxBxsqMapper, XzdBxBxsq
|
||||
*/
|
||||
@Override
|
||||
public TableDataInfo<XzdBxBxsqVo> queryPageList(XzdBxBxsqBo bo, PageQuery pageQuery) {
|
||||
//暂时定为只能看见自己的报销
|
||||
if (bo.getBxr() == null){
|
||||
bo.setBxr(LoginHelper.getUserId());
|
||||
}
|
||||
|
||||
LambdaQueryWrapper<XzdBxBxsq> lqw = buildQueryWrapper(bo);
|
||||
Page<XzdBxBxsqVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
|
||||
setValue(result.getRecords());
|
||||
|
||||
Reference in New Issue
Block a user