diff --git a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerAppletServiceImpl.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerAppletServiceImpl.java index 8a83ff51..6dd29159 100644 --- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerAppletServiceImpl.java +++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerAppletServiceImpl.java @@ -370,7 +370,6 @@ public class CustomerAppletServiceImpl extends ServiceImpl map = new HashMap<>(); map.put("company", company); // 个人类型暂时没有 diff --git a/dq-financial-crms/src/main/resources/mapper/crms/CustomerAppletDao.xml b/dq-financial-crms/src/main/resources/mapper/crms/CustomerAppletDao.xml index a51a7126..a2196242 100644 --- a/dq-financial-crms/src/main/resources/mapper/crms/CustomerAppletDao.xml +++ b/dq-financial-crms/src/main/resources/mapper/crms/CustomerAppletDao.xml @@ -8,11 +8,19 @@ diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlCollectionController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlCollectionController.java index d61b4c38..bb2aea39 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlCollectionController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/AlCollectionController.java @@ -6,6 +6,7 @@ import com.daqing.financial.guarantee.model.request.AlCollectionRequest; import com.daqing.financial.guarantee.model.response.AlCollectionListResponse; import com.daqing.financial.guarantee.model.response.AlCollectionResponse; import com.daqing.financial.guarantee.model.response.MoreOverdueDetailResponse; +import com.daqing.financial.guarantee.model.response.OverdueDetailResponse; import com.daqing.financial.guarantee.service.IAlCollectionService; import com.daqing.framework.domain.guarantee.AlCollection; import com.daqing.framework.model.response.ResponseResult; @@ -15,9 +16,10 @@ import io.swagger.annotations.ApiParam; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; +import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.validation.Valid; -import java.io.IOException; +import java.io.*; import java.util.List; /** @@ -62,7 +64,7 @@ public class AlCollectionController { * 催收时展示的详情 */ @GetMapping("/overdue/detail") - @ApiOperation(value = "催收时展示的详情", notes = "催收时展示的详情") + @ApiOperation(value = "催收时展示的详情", notes = "催收时展示的详情", response = OverdueDetailResponse.class) public ResponseResult overdueDetail(@RequestParam("insuranceId") Integer insuranceId) { return ResponseResult.SUCCESS(alCollectionService.overdueDetail(insuranceId)); @@ -103,8 +105,8 @@ public class AlCollectionController { * 催收列表导出 */ @ApiOperation(value = "催收列表导出", notes = "催收列表导出") - @PostMapping("/collection/list/export/excel") - public ResponseResult collectionListExportExcel(@RequestBody List ids, HttpServletResponse response) throws IOException { + @GetMapping("/collection/list/export/excel") + public ResponseResult collectionListExportExcel(@RequestParam("ids") List ids, HttpServletResponse response) throws IOException { alCollectionService.collectionListExportExcel(ids, response); return ResponseResult.SUCCESS(); diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyForServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyForServiceImpl.java index 96f8061e..22697c16 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyForServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyForServiceImpl.java @@ -16,6 +16,7 @@ import com.daqing.framework.domain.guarantee.DgCopyFor; import com.daqing.framework.domain.guarantee.DgCopyUser; import com.daqing.framework.domain.guarantee.DgProcessUser; import com.daqing.framework.model.response.PromptSuccess; +import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -42,24 +43,29 @@ public class DgCopyForServiceImpl extends ServiceImpl