parent
9d742f9508
commit
2c1bf42181
42 changed files with 907 additions and 348 deletions
@ -1,20 +0,0 @@ |
||||
package com.daqing.financial.guarantee.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保审核 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/dg-guarantee-apply") |
||||
public class DgGuaranteeApplyController { |
||||
|
||||
} |
@ -1,20 +0,0 @@ |
||||
package com.daqing.financial.guarantee.controller; |
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保经理审核 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/dg-guarantee-apply-last") |
||||
public class DgGuaranteeApplyLastController { |
||||
|
||||
} |
@ -1,18 +0,0 @@ |
||||
package com.daqing.financial.guarantee.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.daqing.framework.domain.guarantee.DgGuaranteeApplyLast; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保经理审核 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@Mapper |
||||
public interface DgGuaranteeApplyLastMapper extends BaseMapper<DgGuaranteeApplyLast> { |
||||
|
||||
} |
@ -1,18 +0,0 @@ |
||||
package com.daqing.financial.guarantee.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.daqing.framework.domain.guarantee.DgGuaranteeApply; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保审核 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@Mapper |
||||
public interface DgGuaranteeApplyMapper extends BaseMapper<DgGuaranteeApply> { |
||||
|
||||
} |
@ -0,0 +1,36 @@ |
||||
package com.daqing.financial.guarantee.model.request; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* @Author chen |
||||
* @DATE 2020/11/12 17:14 |
||||
* @Version 1.0 |
||||
*/ |
||||
@Data |
||||
public class ApprovalGuaranteeRequest { |
||||
|
||||
@ApiModelProperty(value = "主键id") |
||||
private Integer id; |
||||
|
||||
@ApiModelProperty(value = "状态") |
||||
private Integer status; |
||||
|
||||
@ApiModelProperty(value = "审核意见") |
||||
private String applyContent; |
||||
|
||||
@ApiModelProperty(value = "审核金额") |
||||
private BigDecimal amount; |
||||
|
||||
@ApiModelProperty(value = "期限") |
||||
private String term; |
||||
|
||||
@ApiModelProperty(value = "补充调查原因") |
||||
private String[] remark; |
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,30 @@ |
||||
package com.daqing.financial.guarantee.model.request; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @Author chen |
||||
* @DATE 2020/11/12 17:14 |
||||
* @Version 1.0 |
||||
*/ |
||||
@Data |
||||
public class GuaranteeRequest { |
||||
|
||||
@ApiModelProperty(value = "主键id") |
||||
private Integer id; |
||||
|
||||
@ApiModelProperty(value = "业务id") |
||||
private Integer businessId; |
||||
|
||||
@ApiModelProperty(value = "企业id") |
||||
private Integer companyId; |
||||
|
||||
@ApiModelProperty(value = "被指派人A角id") |
||||
private Integer empAId; |
||||
|
||||
@ApiModelProperty(value = "被指派人B角id") |
||||
private Integer empBId; |
||||
|
||||
|
||||
} |
@ -0,0 +1,68 @@ |
||||
package com.daqing.financial.guarantee.model.request; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @Author chen |
||||
* @DATE 2020/11/12 17:14 |
||||
* @Version 1.0 |
||||
*/ |
||||
@Data |
||||
public class InvestigateGuaranteeRequest { |
||||
|
||||
@ApiModelProperty(value = "主键id") |
||||
private Integer id; |
||||
|
||||
@ApiModelProperty(value = "状态") |
||||
private Integer status; |
||||
|
||||
@ApiModelProperty(value = "审核意见") |
||||
private String applyContent; |
||||
|
||||
@ApiModelProperty(value = "营业执照复印件") |
||||
private String[] businessLicense; |
||||
|
||||
@ApiModelProperty(value = "上传法定代表人夫妻及企业实际经营者身份证复印件") |
||||
private String[] legalCardCopy; |
||||
|
||||
@ApiModelProperty(value = "法定代表人夫妻户口本,结婚证(离婚证)复印件") |
||||
private String[] marriageCopy; |
||||
|
||||
@ApiModelProperty(value = "法定代表人身份证明") |
||||
private String[] legalCopy; |
||||
|
||||
@ApiModelProperty(value = "公司章程") |
||||
private String[] companyConstitution; |
||||
|
||||
@ApiModelProperty(value = "会计师事务所审计的上一年度及本年度审计报告") |
||||
private String[] accountingFirm; |
||||
|
||||
/* @ApiModelProperty(value = "企业信用报告") |
||||
private List<String> companyCreditList; |
||||
|
||||
@ApiModelProperty(value = "企业法人夫妇信用报告,实际经营者信用报告") |
||||
private List<String> creditReportList; |
||||
|
||||
@ApiModelProperty(value = "征信业务授权书,承诺书") |
||||
private List<String> certificateAuthorizationList; |
||||
|
||||
@ApiModelProperty(value = "增值税纳税申报表首表复印件/完税证明") |
||||
private List<String> taxCertificateList;*/ |
||||
|
||||
@ApiModelProperty(value = "股东会会议纪要") |
||||
private String[] meetingMinutes; |
||||
|
||||
/* @ApiModelProperty(value = "反担保资料和评估报告") |
||||
private List<String> assessmentReportList;*/ |
||||
|
||||
@ApiModelProperty(value = "谈话纪要") |
||||
private String[] conversationSummary; |
||||
|
||||
@ApiModelProperty(value = "考察照片") |
||||
private String[] inspectionPhotos; |
||||
|
||||
|
||||
} |
@ -0,0 +1,44 @@ |
||||
package com.daqing.financial.guarantee.model.response; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.LinkedHashMap; |
||||
|
||||
@Data |
||||
@ToString |
||||
public class GuaranteeDetailResponse implements Serializable { |
||||
|
||||
/** |
||||
* 主键id |
||||
*/ |
||||
@ApiModelProperty(value = "id") |
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
/** |
||||
* 业务申请详细 |
||||
*/ |
||||
@ApiModelProperty(value = "业务申请详细") |
||||
private DgApplyAmountInfoResponse dgApplyAmountInfo; |
||||
|
||||
/** |
||||
* 企业详细 |
||||
*/ |
||||
@ApiModelProperty(value = "企业详细") |
||||
private LinkedHashMap linkedHashMap; |
||||
|
||||
/** |
||||
* 附件详细 |
||||
*/ |
||||
@ApiModelProperty(value = "附件详细") |
||||
private DgEnclosureInfoResponse dgEnclosureInfo; |
||||
|
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,89 @@ |
||||
package com.daqing.financial.guarantee.model.response; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.metadata.BaseRowModel; |
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
@Data |
||||
@ToString |
||||
public class GuaranteeListResponse extends BaseRowModel implements Serializable { |
||||
|
||||
/** |
||||
* 主键id |
||||
*/ |
||||
@ApiModelProperty(value = "id") |
||||
@TableId(value = "id", type = IdType.AUTO) |
||||
private Integer id; |
||||
|
||||
/** |
||||
* 企业id |
||||
*/ |
||||
@ApiModelProperty(value = "企业id") |
||||
private Integer companyId; |
||||
|
||||
/** |
||||
* 申请额度 |
||||
*/ |
||||
@ExcelProperty(value = "申请额度",index = 4) |
||||
@ApiModelProperty(value = "申请额度") |
||||
private BigDecimal applyAmount; |
||||
|
||||
/** |
||||
* 申请期限 |
||||
*/ |
||||
@ExcelProperty(value = "申请期限",index = 5) |
||||
@ApiModelProperty(value = "申请期限") |
||||
private String applyTime; |
||||
|
||||
/** |
||||
* 申请时间 |
||||
*/ |
||||
@ExcelProperty(value = "申请日期",index = 6) |
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
@ApiModelProperty(value = "申请时间") |
||||
private Date createTime; |
||||
|
||||
/** |
||||
* 业务类型 |
||||
*/ |
||||
@ExcelProperty(value = "业务类别",index = 3) |
||||
@ApiModelProperty(value = "业务类型") |
||||
private String businessType; |
||||
|
||||
/** |
||||
* 业务编号 |
||||
*/ |
||||
@ExcelProperty(value = "业务编号",index = 0) |
||||
@ApiModelProperty(value = "业务编号") |
||||
private String businessCode; |
||||
|
||||
/** |
||||
* 客户名称 |
||||
*/ |
||||
@ExcelProperty(value = "客户名称",index = 1) |
||||
@ApiModelProperty(value = "客户名称") |
||||
private String name; |
||||
|
||||
/** |
||||
* 联系电话 |
||||
*/ |
||||
@ExcelProperty(value = "联系电话",index = 2) |
||||
@ApiModelProperty(value = "联系电话") |
||||
private String phone; |
||||
|
||||
/** |
||||
* 状态 |
||||
*/ |
||||
@ExcelProperty(value = "状态",index = 7) |
||||
@ApiModelProperty(value = "状态") |
||||
private Integer status; |
||||
} |
@ -1,16 +0,0 @@ |
||||
package com.daqing.financial.guarantee.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.daqing.framework.domain.guarantee.DgGuaranteeApplyLast; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保经理审核 服务类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
public interface IDgGuaranteeApplyLastService extends IService<DgGuaranteeApplyLast> { |
||||
|
||||
} |
@ -1,16 +0,0 @@ |
||||
package com.daqing.financial.guarantee.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.daqing.framework.domain.guarantee.DgGuaranteeApply; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保审核 服务类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
public interface IDgGuaranteeApplyService extends IService<DgGuaranteeApply> { |
||||
|
||||
} |
@ -1,20 +0,0 @@ |
||||
package com.daqing.financial.guarantee.service.impl; |
||||
|
||||
import com.daqing.financial.guarantee.mapper.DgGuaranteeApplyLastMapper; |
||||
import com.daqing.financial.guarantee.service.IDgGuaranteeApplyLastService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.daqing.framework.domain.guarantee.DgGuaranteeApplyLast; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保经理审核 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@Service |
||||
public class DgGuaranteeApplyLastServiceImpl extends ServiceImpl<DgGuaranteeApplyLastMapper, DgGuaranteeApplyLast> implements IDgGuaranteeApplyLastService { |
||||
|
||||
} |
@ -1,20 +0,0 @@ |
||||
package com.daqing.financial.guarantee.service.impl; |
||||
|
||||
import com.daqing.financial.guarantee.mapper.DgGuaranteeApplyMapper; |
||||
import com.daqing.financial.guarantee.service.IDgGuaranteeApplyService; |
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.daqing.framework.domain.guarantee.DgGuaranteeApply; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保审核 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@Service |
||||
public class DgGuaranteeApplyServiceImpl extends ServiceImpl<DgGuaranteeApplyMapper, DgGuaranteeApply> implements IDgGuaranteeApplyService { |
||||
|
||||
} |
@ -1,19 +0,0 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.daqing.financial.guarantee.mapper.DgGuaranteeApplyLastMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgGuaranteeApplyLast"> |
||||
<id column="id" property="id" /> |
||||
<result column="company_id" property="companyId" /> |
||||
<result column="emp_id" property="empId" /> |
||||
<result column="amount" property="amount" /> |
||||
<result column="term" property="term" /> |
||||
<result column="remark" property="remark" /> |
||||
<result column="apply_content" property="applyContent" /> |
||||
<result column="status" property="status" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="update_time" property="updateTime" /> |
||||
</resultMap> |
||||
|
||||
</mapper> |
@ -1,19 +0,0 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.daqing.financial.guarantee.mapper.DgGuaranteeApplyMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgGuaranteeApply"> |
||||
<id column="id" property="id" /> |
||||
<result column="company_id" property="companyId" /> |
||||
<result column="emp_id" property="empId" /> |
||||
<result column="amount" property="amount" /> |
||||
<result column="term" property="term" /> |
||||
<result column="remark" property="remark" /> |
||||
<result column="apply_content" property="applyContent" /> |
||||
<result column="status" property="status" /> |
||||
<result column="create_time" property="createTime" /> |
||||
<result column="update_time" property="updateTime" /> |
||||
</resultMap> |
||||
|
||||
</mapper> |
@ -1,67 +0,0 @@ |
||||
package com.daqing.framework.domain.guarantee; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.*; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保审核 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@Data |
||||
@TableName("dg_guarantee_apply") |
||||
public class DgGuaranteeApply implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@TableId(value = "id", type = IdType.ID_WORKER) |
||||
private Integer id; |
||||
|
||||
private Integer companyId; |
||||
|
||||
/** |
||||
* 审核人 |
||||
*/ |
||||
private Integer empId; |
||||
|
||||
/** |
||||
* 审核金额 |
||||
*/ |
||||
private BigDecimal amount; |
||||
|
||||
/** |
||||
* 期限 |
||||
*/ |
||||
private String term; |
||||
|
||||
/** |
||||
* 补充调查原因 |
||||
*/ |
||||
private String remark; |
||||
|
||||
/** |
||||
* 审核意见 |
||||
*/ |
||||
private String applyContent; |
||||
|
||||
/** |
||||
* 状态(1待审核 2审核通过 3拒绝 4驳回) |
||||
*/ |
||||
private Integer status; |
||||
|
||||
@ApiModelProperty(value = "创建时间") |
||||
@TableField(fill = FieldFill.INSERT) |
||||
private Date createTime; |
||||
|
||||
@ApiModelProperty(value = "更新时间") |
||||
@TableField(fill = FieldFill.INSERT_UPDATE) |
||||
private Date updateTime; |
||||
} |
@ -1,67 +0,0 @@ |
||||
package com.daqing.framework.domain.guarantee; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.*; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.math.BigDecimal; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* <p> |
||||
* 担保经理审核 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-05 |
||||
*/ |
||||
@Data |
||||
@TableName("dg_guarantee_apply_last") |
||||
public class DgGuaranteeApplyLast implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
@TableId(value = "id", type = IdType.ID_WORKER) |
||||
private Integer id; |
||||
|
||||
private Integer companyId; |
||||
|
||||
/** |
||||
* 审核人 |
||||
*/ |
||||
private Integer empId; |
||||
|
||||
/** |
||||
* 审核金额 |
||||
*/ |
||||
private BigDecimal amount; |
||||
|
||||
/** |
||||
* 期限 |
||||
*/ |
||||
private String term; |
||||
|
||||
/** |
||||
* 补充调查原因 |
||||
*/ |
||||
private String remark; |
||||
|
||||
/** |
||||
* 审核意见 |
||||
*/ |
||||
private String applyContent; |
||||
|
||||
/** |
||||
* 状态(1待审核 2审核通过 3拒绝 4驳回) |
||||
*/ |
||||
private Integer status; |
||||
|
||||
@ApiModelProperty(value = "创建时间") |
||||
@TableField(fill = FieldFill.INSERT) |
||||
private Date createTime; |
||||
|
||||
@ApiModelProperty(value = "更新时间") |
||||
@TableField(fill = FieldFill.INSERT_UPDATE) |
||||
private Date updateTime; |
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.framework.domain.guarantee.po; |
||||
|
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
|
||||
/** |
||||
* @auther River |
||||
* @date 2020/11/6 14:32 |
||||
*/ |
||||
@Data |
||||
@ToString |
||||
public class DgGuaranteePO implements Serializable { |
||||
|
||||
private Long userId; |
||||
private Long roleId; |
||||
} |
@ -0,0 +1,28 @@ |
||||
package com.daqing.framework.domain.hrms.ext; |
||||
|
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.ToString; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
/** |
||||
* @auther River |
||||
* @date 2020/9/15 16:46 |
||||
*/ |
||||
@Data |
||||
@ToString |
||||
public class UserDeptVO implements Serializable{ |
||||
|
||||
/** |
||||
* 用户id |
||||
*/ |
||||
@ApiModelProperty("用户id") |
||||
private Long id; |
||||
|
||||
/** |
||||
* 账号 |
||||
*/ |
||||
@ApiModelProperty("账号") |
||||
private String account; |
||||
} |
Loading…
Reference in new issue