37 changed files with 575 additions and 0 deletions
@ -0,0 +1,25 @@ |
|||||
|
package com.yxt.supervise.portal.api.risk; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel(value = "风险表", description = "风险表") |
||||
|
@TableName("risk") |
||||
|
public class Risk extends BaseEntity { |
||||
|
@ApiModelProperty("风险指标Sid") |
||||
|
private String riskIndicatorsSid; |
||||
|
@ApiModelProperty("风险处理状态0.待处理1.处理中2.完成") |
||||
|
private Integer riskTreatmentStatus; |
||||
|
@ApiModelProperty("风险消除程度0.未消除1.已消除") |
||||
|
private Integer riskEliminationDegree; |
||||
|
@ApiModelProperty("客户Sid") |
||||
|
private String customerSid; |
||||
|
@ApiModelProperty("风险处于位置1.供应商2.一类仓3.门店仓") |
||||
|
private Integer riskInPositionNum; |
||||
|
@ApiModelProperty("风险处于位置Sid") |
||||
|
private String riskInPositionSid; |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.supervise.portal.api.risk; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskDto implements Dto { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险指标Sid") |
||||
|
private String riskIndicatorsSid; |
||||
|
@ApiModelProperty("风险处理状态0.待处理1.处理中2.完成") |
||||
|
private Integer riskTreatmentStatus; |
||||
|
@ApiModelProperty("风险消除程度0.未消除1.已消除") |
||||
|
private Integer riskEliminationDegree; |
||||
|
@ApiModelProperty("客户Sid") |
||||
|
private String customerSid; |
||||
|
@ApiModelProperty("风险处于位置1.供应商2.一类仓3.门店仓") |
||||
|
private Integer riskInPositionNum; |
||||
|
@ApiModelProperty("风险处于位置Sid") |
||||
|
private String riskInPositionSid; |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.risk; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.salesdata.SalesDataFeignFallback; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
|
||||
|
@Api(tags = "风险表") |
||||
|
@FeignClient( |
||||
|
contextId = "yxt-supervise-Risk", |
||||
|
name = "yxt-supervise", |
||||
|
path = "v1/risk", |
||||
|
fallback = RiskFeignFallback.class) |
||||
|
public interface RiskFeign { |
||||
|
} |
@ -0,0 +1,7 @@ |
|||||
|
package com.yxt.supervise.portal.api.risk; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
@Component |
||||
|
public class RiskFeignFallback implements RiskFeign { |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.supervise.portal.api.risk; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskVo implements Vo { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险指标Sid") |
||||
|
private String riskIndicatorsSid; |
||||
|
@ApiModelProperty("风险处理状态0.待处理1.处理中2.完成") |
||||
|
private Integer riskTreatmentStatus; |
||||
|
@ApiModelProperty("风险消除程度0.未消除1.已消除") |
||||
|
private Integer riskEliminationDegree; |
||||
|
@ApiModelProperty("客户Sid") |
||||
|
private String customerSid; |
||||
|
@ApiModelProperty("风险处于位置1.供应商2.一类仓3.门店仓") |
||||
|
private Integer riskInPositionNum; |
||||
|
@ApiModelProperty("风险处于位置Sid") |
||||
|
private String riskInPositionSid; |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicators; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel(value = "风险名单表", description = "风险名单表") |
||||
|
@TableName("risk_list") |
||||
|
public class RiskIndicators extends BaseEntity { |
||||
|
@ApiModelProperty("风险对象Sid") |
||||
|
private String riskObjectSid; |
||||
|
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
||||
|
private Integer riskObjectType; |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicators; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskIndicatorsDto implements Dto { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险对象Sid") |
||||
|
private String riskObjectSid; |
||||
|
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
||||
|
private Integer riskObjectType; |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicators; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.salesdata.SalesDataFeignFallback; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
|
||||
|
@Api(tags = "风险指标表") |
||||
|
@FeignClient( |
||||
|
contextId = "yxt-supervise-RiskIndicators", |
||||
|
name = "yxt-supervise", |
||||
|
path = "v1/superviseRiskIndicators", |
||||
|
fallback = RiskIndicatorsFeignFallback.class) |
||||
|
public interface RiskIndicatorsFeign { |
||||
|
} |
@ -0,0 +1,7 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicators; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
@Component |
||||
|
public class RiskIndicatorsFeignFallback implements RiskIndicatorsFeign { |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicators; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskIndicatorsVo implements Vo { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险对象Sid") |
||||
|
private String riskObjectSid; |
||||
|
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
||||
|
private Integer riskObjectType; |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorslevel; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel(value = "风险名单表", description = "风险名单表") |
||||
|
@TableName("risk_list") |
||||
|
public class RiskIndicatorsLevel extends BaseEntity { |
||||
|
@ApiModelProperty("风险对象Sid") |
||||
|
private String riskObjectSid; |
||||
|
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
||||
|
private Integer riskObjectType; |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorslevel; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskIndicatorsLevelDto implements Dto { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险对象Sid") |
||||
|
private String riskObjectSid; |
||||
|
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
||||
|
private Integer riskObjectType; |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorslevel; |
||||
|
|
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
|
||||
|
@Api(tags = "风险指标等级表") |
||||
|
@FeignClient( |
||||
|
contextId = "yxt-supervise-RiskIndicatorsLevel", |
||||
|
name = "yxt-supervise", |
||||
|
path = "v1/riskIndicatorsLevel", |
||||
|
fallback = RiskIndicatorsLevelFeignFallback.class) |
||||
|
public interface RiskIndicatorsLevelFeign { |
||||
|
} |
@ -0,0 +1,7 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorslevel; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
@Component |
||||
|
public class RiskIndicatorsLevelFeignFallback implements RiskIndicatorsLevelFeign { |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorslevel; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskIndicatorsLevelVo implements Vo { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险对象Sid") |
||||
|
private String riskObjectSid; |
||||
|
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
||||
|
private Integer riskObjectType; |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorstype; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
@ApiModel(value = "风险名单表", description = "风险名单表") |
||||
|
@TableName("risk_list") |
||||
|
public class RiskIndicatorsType extends BaseEntity { |
||||
|
@ApiModelProperty("风险指标类别名称") |
||||
|
private String riskIndicatorsTypeName; |
||||
|
@ApiModelProperty("风险指标类别代码") |
||||
|
private String riskIndicatorsTypeCode; |
||||
|
@ApiModelProperty("层级") |
||||
|
private Integer Hierarchy; |
||||
|
@ApiModelProperty("父类Sid") |
||||
|
private String PSid; |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorstype; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskIndicatorsTypeDto implements Dto { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险指标类别名称") |
||||
|
private String riskIndicatorsTypeName; |
||||
|
@ApiModelProperty("风险指标类别代码") |
||||
|
private String riskIndicatorsTypeCode; |
||||
|
@ApiModelProperty("层级") |
||||
|
private Integer Hierarchy; |
||||
|
@ApiModelProperty("父类Sid") |
||||
|
private String PSid; |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorstype; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.riskindicatorslevel.RiskIndicatorsLevelFeignFallback; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
|
||||
|
@Api(tags = "风险指标类别表") |
||||
|
@FeignClient( |
||||
|
contextId = "yxt-supervise-RiskIndicatorsType", |
||||
|
name = "yxt-supervise", |
||||
|
path = "v1/riskIndicatorsType", |
||||
|
fallback = RiskIndicatorsTypeFeignFallback.class) |
||||
|
public interface RiskIndicatorsTypeFeign { |
||||
|
} |
@ -0,0 +1,7 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorstype; |
||||
|
|
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
@Component |
||||
|
public class RiskIndicatorsTypeFeignFallback implements RiskIndicatorsTypeFeign { |
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.supervise.portal.api.riskindicatorstype; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class RiskIndicatorsTypeVo implements Vo { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("风险指标类别名称") |
||||
|
private String riskIndicatorsTypeName; |
||||
|
@ApiModelProperty("风险指标类别代码") |
||||
|
private String riskIndicatorsTypeCode; |
||||
|
@ApiModelProperty("层级") |
||||
|
private Integer Hierarchy; |
||||
|
@ApiModelProperty("父类Sid") |
||||
|
private String PSid; |
||||
|
} |
@ -1,4 +1,14 @@ |
|||||
package com.yxt.supervise.portal.api.risklist; |
package com.yxt.supervise.portal.api.risklist; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.riskindicatorstype.RiskIndicatorsTypeFeignFallback; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
|
||||
|
@Api(tags = "风险指标类别表") |
||||
|
@FeignClient( |
||||
|
contextId = "yxt-supervise-RiskList", |
||||
|
name = "yxt-supervise", |
||||
|
path = "v1/riskList", |
||||
|
fallback = RiskListFeignFallback.class) |
||||
public interface RiskListFeign { |
public interface RiskListFeign { |
||||
} |
} |
||||
|
@ -0,0 +1,36 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.portal.biz.risk; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.risklist.RiskList; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
@Mapper |
||||
|
public interface RiskMapper extends BaseMapper<Risk> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
<?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.yxt.supervise.portal.biz.risk.RiskMapper"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.biz.risk; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.risk.RiskFeign; |
||||
|
import com.yxt.supervise.portal.api.risklist.RiskListFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@Api(tags = "风险名单表") |
||||
|
@RestController("com.yxt.supervise.portal.biz.risk.RiskRest") |
||||
|
@RequestMapping("v1/risk") |
||||
|
public class RiskRest implements RiskFeign { |
||||
|
|
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.supervise.portal.biz.risk; |
||||
|
|
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.risklist.RiskList; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
@Service |
||||
|
public class RiskService extends MybatisBaseService<RiskMapper, Risk> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.portal.biz.riskindicators; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.riskindicators.RiskIndicators; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
@Mapper |
||||
|
public interface RiskIndicatorsMapper extends BaseMapper<RiskIndicators> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
<?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.yxt.supervise.portal.biz.riskindicators.RiskIndicatorsMapper"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,14 @@ |
|||||
|
package com.yxt.supervise.portal.biz.riskindicators; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.risk.RiskFeign; |
||||
|
import com.yxt.supervise.portal.api.riskindicators.RiskIndicatorsFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@Api(tags = "风险指标表") |
||||
|
@RestController("com.yxt.supervise.portal.biz.riskindicators.RiskIndicatorsRest") |
||||
|
@RequestMapping("v1/riskIndicators") |
||||
|
public class RiskIndicatorsRest implements RiskIndicatorsFeign { |
||||
|
|
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.supervise.portal.biz.riskindicators; |
||||
|
|
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.riskindicators.RiskIndicators; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
@Service |
||||
|
public class RiskIndicatorsService extends MybatisBaseService<RiskIndicatorsMapper, RiskIndicators> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.portal.biz.riskindicatorslevel; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.riskindicatorslevel.RiskIndicatorsLevel; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
@Mapper |
||||
|
public interface RiskIndicatorsLevelMapper extends BaseMapper<RiskIndicatorsLevel> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
<?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.yxt.supervise.portal.biz.riskindicatorslevel.RiskIndicatorsLevelMapper"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,13 @@ |
|||||
|
package com.yxt.supervise.portal.biz.riskindicatorslevel; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.risk.RiskFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@Api(tags = "风险名单表") |
||||
|
@RestController("com.yxt.supervise.portal.biz.riskindicatorslevel.RiskIndicatorsLevelRest") |
||||
|
@RequestMapping("v1/risk") |
||||
|
public class RiskIndicatorsLevelRest implements RiskFeign { |
||||
|
|
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.supervise.portal.biz.riskindicatorslevel; |
||||
|
|
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.riskindicatorslevel.RiskIndicatorsLevel; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
@Service |
||||
|
public class RiskIndicatorsLevelService extends MybatisBaseService<RiskIndicatorsLevelMapper, RiskIndicatorsLevel> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.supervise.portal.biz.riskindicatorstype; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.riskindicatorstype.RiskIndicatorsType; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
@Mapper |
||||
|
public interface RiskIndicatorsTypeMapper extends BaseMapper<RiskIndicatorsType> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
<?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.yxt.supervise.portal.biz.riskindicatorstype.RiskIndicatorsTypeMapper"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,13 @@ |
|||||
|
package com.yxt.supervise.portal.biz.riskindicatorstype; |
||||
|
|
||||
|
import com.yxt.supervise.portal.api.risk.RiskFeign; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@Api(tags = "风险名单表") |
||||
|
@RestController("com.yxt.supervise.portal.biz.riskindicatorstype.RiskIndicatorsTypeRest") |
||||
|
@RequestMapping("v1/risk") |
||||
|
public class RiskIndicatorsTypeRest implements RiskFeign { |
||||
|
|
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.yxt.supervise.portal.biz.riskindicatorstype; |
||||
|
|
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.supervise.portal.api.risk.Risk; |
||||
|
import com.yxt.supervise.portal.api.riskindicatorstype.RiskIndicatorsType; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
@Service |
||||
|
public class RiskIndicatorsTypeService extends MybatisBaseService<RiskIndicatorsTypeMapper, RiskIndicatorsType> { |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue