commit
bed3abbd53
9 changed files with 148 additions and 4 deletions
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 业务流程状态表 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-25 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/dg-business-process-status") |
||||
public class DgBusinessProcessStatusController { |
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 业务流程状态表 Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-25 |
||||
*/ |
||||
@Mapper |
||||
public interface DgBusinessProcessStatusMapper extends BaseMapper<DgBusinessProcessStatus> { |
||||
|
||||
} |
@ -0,0 +1,17 @@ |
||||
package com.daqing.financial.guarantee.service; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.daqing.framework.domain.guarantee.DgBusinessProcessStatus; |
||||
|
||||
/** |
||||
* <p> |
||||
* 业务流程状态表 服务类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-25 |
||||
*/ |
||||
public interface IDgBusinessProcessStatusService extends IService<DgBusinessProcessStatus> { |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package com.daqing.financial.guarantee.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
import com.daqing.financial.guarantee.mapper.DgBusinessProcessStatusMapper; |
||||
import com.daqing.financial.guarantee.service.IDgBusinessProcessStatusService; |
||||
import com.daqing.framework.domain.guarantee.DgBusinessProcessStatus; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
/** |
||||
* <p> |
||||
* 业务流程状态表 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author Qyq |
||||
* @since 2020-11-25 |
||||
*/ |
||||
@Service |
||||
public class DgBusinessProcessStatusServiceImpl extends ServiceImpl<DgBusinessProcessStatusMapper, DgBusinessProcessStatus> implements IDgBusinessProcessStatusService { |
||||
|
||||
} |
@ -0,0 +1,12 @@ |
||||
<?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.DgBusinessProcessStatusMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgBusinessProcessStatus"> |
||||
<id column="id" property="id" /> |
||||
<result column="business_id" property="businessId" /> |
||||
<result column="business_status" property="businessStatus" /> |
||||
</resultMap> |
||||
|
||||
</mapper> |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 业务流程状态表 |
||||
* </p> |
||||
* |
||||
* @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; |
||||
} |
Loading…
Reference in new issue