添加抄送附件及图片

master
chen 4 years ago
parent 6e19994b05
commit 8cca9b02fd
  1. 8
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/CopyForMeResponse.java
  2. 8
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgCopyUserMapper.xml

@ -97,4 +97,12 @@ public class CopyForMeResponse {
@ApiModelProperty("银行名称") @ApiModelProperty("银行名称")
private String bank; private String bank;
@ExcelIgnore
@ApiModelProperty("附件")
private String file;
@ExcelIgnore
@ApiModelProperty("图片附件")
private String imgFile;
} }

@ -27,6 +27,9 @@
<result column="loan_tern" property="loanTern"/> <result column="loan_tern" property="loanTern"/>
<result column="bank" property="bank"/> <result column="bank" property="bank"/>
<result column="passing_time" property="passingTime"/> <result column="passing_time" property="passingTime"/>
<result column="file" property="file"/>
<result column="img_file" property="imgFile"/>
</resultMap> </resultMap>
<select id="selectCopyForMe" parameterType="com.daqing.financial.guarantee.model.request.CopyForMeRequest" <select id="selectCopyForMe" parameterType="com.daqing.financial.guarantee.model.request.CopyForMeRequest"
@ -36,8 +39,8 @@
aai.business_type,aai.bank,aai.business_type, aai.business_type,aai.bank,aai.business_type,
cc.name,cc.phone,cf.process_id, cc.name,cc.phone,cf.process_id,
cf.update_time as approve_date,cf.detail_id,cf.business_id, cf.update_time as approve_date,cf.detail_id,cf.business_id,
bps.business_status, bps.business_status,pcc.img_file,
lcc.loan_money,lcc.loan_tern,lcc.passing_time lcc.loan_money,lcc.loan_tern,lcc.passing_time,lcc.file
FROM FROM
dg_copy_user cu dg_copy_user cu
JOIN dg_copy_for cf ON cu.copy_id = cf.id JOIN dg_copy_for cf ON cu.copy_id = cf.id
@ -45,6 +48,7 @@
LEFT JOIN crms_company_customer ccc ON aai.company_id = ccc.id LEFT JOIN crms_company_customer ccc ON aai.company_id = ccc.id
left join dg_loan_committee_consider lcc on cf.business_id = lcc.business_id left join dg_loan_committee_consider lcc on cf.business_id = lcc.business_id
LEFT JOIN crms_customer cc ON ccc.customer_id = cc.id LEFT JOIN crms_customer cc ON ccc.customer_id = cc.id
LEFT JOIN dg_payment_confirmation_consider pcc ON pcc.business_id = cf.business_id
LEFT JOIN dg_business_process_status bps ON bps.business_id = aai.id LEFT JOIN dg_business_process_status bps ON bps.business_id = aai.id
WHERE cu.user_id = #{userId} WHERE cu.user_id = #{userId}
<if test="startTime != null and endTime != ''"> <if test="startTime != null and endTime != ''">

Loading…
Cancel
Save