diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/GuaranteeLetterQueryRequest.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/GuaranteeLetterQueryRequest.java index 19e831aa..64704658 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/GuaranteeLetterQueryRequest.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/GuaranteeLetterQueryRequest.java @@ -13,7 +13,7 @@ import lombok.Data; public class GuaranteeLetterQueryRequest { @ApiModelProperty(value = "当前页码,默认为第一页") - private Integer page = 1; + private Integer page = 0; @ApiModelProperty(value = "每页记录数,默认显示10条") private Integer size = 10; diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/LoanNoticeQueryRequest.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/LoanNoticeQueryRequest.java index 805aaf66..033137bd 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/LoanNoticeQueryRequest.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/LoanNoticeQueryRequest.java @@ -15,7 +15,7 @@ import javax.validation.constraints.NotNull; public class LoanNoticeQueryRequest { @ApiModelProperty(value = "当前页码,默认为第一页") - private Integer page = 1; + private Integer page = 0; @ApiModelProperty(value = "每页记录数,默认显示10条") private Integer size = 10; diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/PaymentConfirmationQueryRequest.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/PaymentConfirmationQueryRequest.java index d8b7e550..b4d82e89 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/PaymentConfirmationQueryRequest.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/request/PaymentConfirmationQueryRequest.java @@ -15,7 +15,7 @@ import javax.validation.constraints.NotNull; public class PaymentConfirmationQueryRequest { @ApiModelProperty(value = "当前页码,默认为第一页") - private Integer page = 1; + private Integer page = 0; @ApiModelProperty(value = "每页记录数,默认显示10条") private Integer size = 10; diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/GuaranteeLetterListResponse.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/GuaranteeLetterListResponse.java index 39999398..1d66ff81 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/GuaranteeLetterListResponse.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/GuaranteeLetterListResponse.java @@ -32,6 +32,10 @@ public class GuaranteeLetterListResponse { @ApiModelProperty("唯一标识") private Integer id; + @ExcelIgnore + @ApiModelProperty("角色id") + private Integer roleId; + @ExcelIgnore @ApiModelProperty("银行名称") private String bank; diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java index 49148197..766dd585 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgGuaranteeLetterAssignUserServiceImpl.java @@ -100,7 +100,7 @@ public class DgGuaranteeLetterAssignUserServiceImpl extends ServiceImpl records = guaranteeLetterVO.getRecords(); records.forEach(guaranteeLetterListResponse -> { //角色为法规部经理则设置值 - if (roleIdList.contains(String.valueOf(PromptSuccess.FG_JL_ID))){ + if (guaranteeLetterListResponse.getRoleId().equals(PromptSuccess.FG_JL_ID)){ guaranteeLetterListResponse.setIsFgJl(1); } }); diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml index fa135bf1..aa5f54f7 100644 --- a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml +++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterAssignUserMapper.xml @@ -30,11 +30,12 @@ +