| | |
| | | @GetMapping("/commonList") |
| | | public TableDataInfo commonList(EnforceOrderQueryBo bo) |
| | | { |
| | | if (bo.getCheckDeptId()==null){ |
| | | bo.setCheckDeptId(deptService.getCheckDeptIdByLoginDeptId(SecurityUtils.getDeptId())); |
| | | } |
| | | startPage(); |
| | | List<EnforceOrderVo> list = iEnforceOrderService.queryCommonList(bo); |
| | | return getDataTable(list); |
| | |
| | | } |
| | | addCheckLog(company, bo); |
| | | company.setCheckReason(bo.getCheckReason()); |
| | | companyService.updStatus(companyBo); |
| | | companyService.updateById(company); |
| | | companyService.updStatus(companyBo); |
| | | } |
| | | return true; |
| | | case 2: |
| | |
| | | public List<EnforceOrderVo> queryCommonList(EnforceOrderQueryBo bo) |
| | | { |
| | | QueryWrapper<EnforceOrder> qw = getQw(bo); |
| | | if (bo.getCheckDeptId()!=null){ |
| | | bo.setCheckDeptId(deptService.getCheckDeptIdByLoginDeptId(SecurityUtils.getDeptId())); |
| | | } |
| | | |
| | | |
| | | List<EnforceOrder> list = this.list(qw); |
| | | return Convert.toList(EnforceOrderVo.class , list); |