diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgBusinessProcessStatusController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgBusinessProcessStatusController.java new file mode 100644 index 00000000..218f5736 --- /dev/null +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgBusinessProcessStatusController.java @@ -0,0 +1,21 @@ +package com.daqing.financial.guarantee.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RestController; + +/** + *

+ * 业务流程状态表 前端控制器 + *

+ * + * @author Qyq + * @since 2020-11-25 + */ +@RestController +@RequestMapping("/dg-business-process-status") +public class DgBusinessProcessStatusController { + +} diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgBusinessProcessStatusMapper.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgBusinessProcessStatusMapper.java new file mode 100644 index 00000000..d3700398 --- /dev/null +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgBusinessProcessStatusMapper.java @@ -0,0 +1,19 @@ +package com.daqing.financial.guarantee.mapper; + + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.daqing.framework.domain.guarantee.DgBusinessProcessStatus; +import org.apache.ibatis.annotations.Mapper; + +/** + *

+ * 业务流程状态表 Mapper 接口 + *

+ * + * @author Qyq + * @since 2020-11-25 + */ +@Mapper +public interface DgBusinessProcessStatusMapper extends BaseMapper { + +} diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/BusinessApplicationListResponse.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/BusinessApplicationListResponse.java index e29675ab..d22cec7c 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/BusinessApplicationListResponse.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/model/response/BusinessApplicationListResponse.java @@ -106,9 +106,17 @@ public class BusinessApplicationListResponse extends BaseRowModel implements Ser /** * 状态 */ - @ExcelProperty(value = "状态",index = 7) - @ApiModelProperty(value = "状态") + @ExcelProperty(value = "审批状态",index = 7) + @ApiModelProperty(value = "审批状态") private Integer status; + @ExcelProperty(value = "业务状态",index = 8) + @ApiModelProperty(value = "业务状态") + private Integer businessStatus; + + @ExcelProperty(value = "操作状态",index = 9) + @ApiModelProperty(value = "操作状态") + private Integer operatingStatus; + } diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IDgBusinessProcessStatusService.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IDgBusinessProcessStatusService.java new file mode 100644 index 00000000..8100a7ca --- /dev/null +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IDgBusinessProcessStatusService.java @@ -0,0 +1,17 @@ +package com.daqing.financial.guarantee.service; + + +import com.baomidou.mybatisplus.extension.service.IService; +import com.daqing.framework.domain.guarantee.DgBusinessProcessStatus; + +/** + *

+ * 业务流程状态表 服务类 + *

+ * + * @author Qyq + * @since 2020-11-25 + */ +public interface IDgBusinessProcessStatusService extends IService { + +} diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java index f912972f..b736d86b 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java @@ -78,6 +78,9 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl + * 业务流程状态表 服务实现类 + *

+ * + * @author Qyq + * @since 2020-11-25 + */ +@Service +public class DgBusinessProcessStatusServiceImpl extends ServiceImpl implements IDgBusinessProcessStatusService { + +} diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/util/MyBatisPlusCodeGenerator.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/util/MyBatisPlusCodeGenerator.java index 26eb91be..1663e228 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/util/MyBatisPlusCodeGenerator.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/util/MyBatisPlusCodeGenerator.java @@ -25,7 +25,7 @@ public class MyBatisPlusCodeGenerator { public static final String PACKAGE_NAME = "com.daqing.financial.guarantee"; public static void main(String[] args) { - String[] tables = new String[] {"dg_apply_amount_list"};//表名数组 + String[] tables = new String[] {"dg_business_process_status"};//表名数组 String[] tablePrefixs = new String[] {""};//去掉前缀 executeCode(PACKAGE_NAME,tables,tablePrefixs); } diff --git a/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgBusinessProcessStatusMapper.xml b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgBusinessProcessStatusMapper.xml new file mode 100644 index 00000000..567a989d --- /dev/null +++ b/dq-financial-guarantee/src/main/resources/mapper/guarantee/DgBusinessProcessStatusMapper.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgBusinessProcessStatus.java b/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgBusinessProcessStatus.java new file mode 100644 index 00000000..2b687f15 --- /dev/null +++ b/dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgBusinessProcessStatus.java @@ -0,0 +1,39 @@ +package com.daqing.framework.domain.guarantee; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.io.Serializable; + +/** + *

+ * 业务流程状态表 + *

+ * + * @author Qyq + * @since 2020-11-25 + */ +@Data +@TableName("dg_business_process_status") +public class DgBusinessProcessStatus implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键id + */ + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + + /** + * 业务id + */ + private Integer businessId; + + /** + * 业务状态:1->进行中;2->已完成;3->已否决; + */ + private Integer businessStatus; +}