gongdecai пре 4 година
родитељ
комит
460f3626e9

+ 4 - 4
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/ContractManagementInfoServiceImpl.java

@@ -39,8 +39,8 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
 
     @Autowired
     private IContractProcessInfoService contractProcessInfoService;
-    @Autowired
-    private ContractManagementInfoMapper contractManagementInfoMapper;
+//    @Autowired
+//    private ContractManagementInfoMapper contractManagementInfoMapper;
 
 
     /**
@@ -123,8 +123,8 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
         pageView.put("endDate",contractManagementInfo.getEndDate());
         pageView.put("searchType",contractManagementInfo.getSearchType());
         // 查询服务商总数
-        Integer dataCount = contractManagementInfoMapper.getCountByCondition(pageView);
-        List<ContractManagementInfo> dataList = contractManagementInfoMapper.getListByCondition(pageView);
+        Integer dataCount = baseMapper.getCountByCondition(pageView);
+        List<ContractManagementInfo> dataList = baseMapper.getListByCondition(pageView);
         Page<ContractManagementInfo> page = new Page<>();
         page.setRecords(dataList == null ? Lists.newArrayList() : dataList);
         page.setTotal(dataCount == null ? 0 : dataCount);