Browse Source

修改参数

caizhen 4 năm trước cách đây
mục cha
commit
ce198b79b6

+ 3 - 1
lift-business-service/src/main/java/cn/com/ty/lift/business/contract/dao/mapper/ContractsMapper.java

@@ -21,6 +21,8 @@ public interface ContractsMapper extends BaseMapper<Contracts> {
 
     List<ContractExportDto> findAllContracts(ContractRequest contractRequest);
 
-    List<ContractExportDto> findAllErContracts();
+    List<ContractExportDto> findAllContracts();
+
+    List<ContractExportDto> findAllErContracts(ContractRequest contractRequest);
 
 }

+ 1 - 1
lift-business-service/src/main/java/cn/com/ty/lift/business/contract/service/ContractService.java

@@ -328,7 +328,7 @@ public class ContractService extends ServiceImpl<ContractsMapper, Contracts> {
         /**
          * 临修数据
          */
-        List<ContractExportDto> contractTemList=contractsMapper.findAllErContracts();
+        List<ContractExportDto> contractTemList=contractsMapper.findAllErContracts(contractRequest);
 
         /**
          * 数据合并

+ 2 - 0
lift-business-service/src/main/java/cn/com/ty/lift/business/project/dao/mapper/ProjectMapper.java

@@ -68,4 +68,6 @@ public interface ProjectMapper extends BaseMapper<Project> {
 
     List<Map<String, String>> exportLiftList(@Param("exportLiftList") List<String> ids);
 
+
+
 }

+ 1 - 1
lift-business-service/src/main/java/cn/com/ty/lift/business/project/service/ProjectService.java

@@ -493,7 +493,7 @@ public class ProjectService extends ServiceImpl<ProjectMapper, Project> {
     }
 
     public List<Map<String, String>> exportList(List<String> ids) {
-        return baseMapper.exportList(ids);
+        return baseMapper.List(ids);
     }
 
     public List<Map<String, String>> exportLiftList(List<String> ids) {

+ 1 - 1
lift-business-service/src/main/resources/mapper/contract/ContractsMapper.xml

@@ -52,7 +52,7 @@
 
     <!-- 根据项目、合同号、合同类型、合同状态查询合同管理列表-->
     <select id="findByCondition"
-            resultType="cn.com.ty.lift.business.contract.dao.entity.model.response.ContractResponse"
+            resultType="cn.com.ty.lift.business.contract.dao.entity.model.response.ContractResponse">
             parameterType="cn.com.ty.lift.business.contract.dao.entity.model.request.ContractRequest">
         SELECT
         c.id AS id,