|
|
|
@ -15,6 +15,7 @@ import com.zdxt.enforcementcode.domain.bo.MssqOrderFlowBo; |
|
|
|
import com.zdxt.enforcementcode.domain.bo.enterprise.AppEnterpriseComplaintBo; |
|
|
|
import com.zdxt.enforcementcode.domain.vo.ZdxtFileVo; |
|
|
|
import com.zdxt.enforcementcode.domain.vo.enterprise.AppEnterpriseComplaintVo; |
|
|
|
import com.zdxt.enforcementcode.mapper.EnterpriseInformationMapper; |
|
|
|
import com.zdxt.enforcementcode.mapper.ZdxtFileMapper; |
|
|
|
import com.zdxt.enforcementcode.mapper.enterprise.AppEnforcementRegistrationMapper; |
|
|
|
import com.zdxt.enforcementcode.mapper.enterprise.AppEnterpriseComplaintMapper; |
|
|
|
@ -68,6 +69,9 @@ public class AppEnterpriseComplaintServiceImpl implements IAppEnterpriseComplain |
|
|
|
@Autowired |
|
|
|
private IMssqApiService mssqApiService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private EnterpriseInformationMapper enterpriseInformationMapper; |
|
|
|
|
|
|
|
/** |
|
|
|
* 企业端-投诉建议详情 |
|
|
|
* |
|
|
|
@ -198,6 +202,19 @@ public class AppEnterpriseComplaintServiceImpl implements IAppEnterpriseComplain |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public TableDataInfo<AppEnterpriseComplaintVo> getAllCheckList(AppEnterpriseComplaintBo bo, PageQuery pageQuery) { |
|
|
|
|
|
|
|
//根据部门查询 企业统一社会信用代码
|
|
|
|
String deptId=LoginHelper.getDeptId(); |
|
|
|
|
|
|
|
|
|
|
|
//enterprise_information
|
|
|
|
LambdaQueryWrapper<EnterpriseInformation> lqw = Wrappers.lambdaQuery(); |
|
|
|
lqw.eq(EnterpriseInformation::getDeptId, deptId); |
|
|
|
EnterpriseInformation enterpriseInformation = enterpriseInformationMapper.selectOne(lqw); |
|
|
|
if(enterpriseInformation == null){ |
|
|
|
return TableDataInfo.build(); |
|
|
|
} |
|
|
|
bo.setEnterpriseNumber(enterpriseInformation.getEnterpriseNumber()); |
|
|
|
// 1. 调用 setDept() 处理部门过滤(从投诉事项编码提取信用代码查部门)
|
|
|
|
List<String> deptList = setDept(bo.getComplaintItemCodes()); |
|
|
|
|
|
|
|
|