zhangyuewww 2 years ago
parent
commit
88e64c46c0

+ 1 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/ExpenseInfoServiceImpl.java

@@ -1758,6 +1758,7 @@ public class ExpenseInfoServiceImpl extends ServiceImpl<ExpenseInfoMapper, Expen
         pageView.put("searchKeyWord", expenseInfo.getSearchKeyWord());
         pageView.put("searchType", expenseInfo.getSearchType());
         pageView.put("contractType", expenseInfo.getContractType());
+        pageView.put("compId", expenseInfo.getCompId());
         pageView.put("pageSize", expenseInfo.getPageSize());
         pageView.put("currentPage", expenseInfo.getCurrentPage());
         pageView.put("contractNo", expenseInfo.getContractNo());

+ 2 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/ExpenseInfoMapper.xml

@@ -429,6 +429,7 @@
         cmi.delete_flag='0'
         WHERE
         ei.delete_flag = '0'
+        and ei.comp_id= #{compId}
         and ei.cost_type='5'
         <if test="searchType != null and searchType != ''">
             <if test="searchType == 1">
@@ -480,6 +481,7 @@
         cmi.delete_flag='0'
         WHERE
         ei.delete_flag = '0'
+        and ei.comp_id= #{compId}
         and ei.cost_type='5'
         and ei.status!='待确认'
         <if test="searchType != null and searchType != ''">