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/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java index 227cb424..392c5367 100644 --- a/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java +++ b/dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java @@ -669,12 +669,12 @@ public class CustomerServiceImpl extends ServiceImpl() .eq("customer_id", customerEntity.getId())); - companyCustomerEntity.setCustomerId(entity.getId()); + companyCustomerEntity.setCustomerId(customerEntity.getId()); int company = companyCustomerDao.update(companyCustomerEntity, new QueryWrapper() .eq("customer_id", companyCustomerEntity.getCustomerId())); //根据企业id删除关联关系 - crmsCustomerRelatedMapper.delete(new QueryWrapper().eq("customer_id",entity.getId()));//companyCustomerEntity.getId() + crmsCustomerRelatedMapper.delete(new QueryWrapper().eq("customer_id", entity.getId()));//companyCustomerEntity.getId() //绑定关联关系 List relatedList = new ArrayList<>(); @@ -683,7 +683,7 @@ public class CustomerServiceImpl extends ServiceImpl 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/DgEfficiencyServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgEfficiencyServiceImpl.java index 72341baa..7f73c76d 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgEfficiencyServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgEfficiencyServiceImpl.java @@ -185,6 +185,9 @@ public class DgEfficiencyServiceImpl extends ServiceImpl