11 changed files with 127 additions and 2 deletions
@ -0,0 +1,17 @@ |
|||
package com.yxt.supervise.portal.api.risklist; |
|||
|
|||
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 RiskList extends BaseEntity { |
|||
@ApiModelProperty("风险对象Sid") |
|||
private String riskObjectSid; |
|||
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
|||
private Integer riskObjectType; |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.yxt.supervise.portal.api.risklist; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class RiskListDto implements Dto { |
|||
private String sid; |
|||
@ApiModelProperty("风险对象Sid") |
|||
private String riskObjectSid; |
|||
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
|||
private Integer riskObjectType; |
|||
} |
@ -0,0 +1,4 @@ |
|||
package com.yxt.supervise.portal.api.risklist; |
|||
|
|||
public interface RiskListFeign { |
|||
} |
@ -0,0 +1,7 @@ |
|||
package com.yxt.supervise.portal.api.risklist; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
|||
@Component |
|||
public class RiskListFeignFallback implements RiskListFeign{ |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.yxt.supervise.portal.api.risklist; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class RiskListVo implements Vo { |
|||
private String sid; |
|||
@ApiModelProperty("风险对象Sid") |
|||
private String riskObjectSid; |
|||
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
|||
private Integer riskObjectType; |
|||
} |
@ -0,0 +1,35 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.risklist; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.yxt.supervise.portal.api.risklist.RiskList; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
@Mapper |
|||
public interface RiskListMapper extends BaseMapper<RiskList> { |
|||
|
|||
|
|||
} |
@ -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.risklist.RiskListMapper"> |
|||
|
|||
</mapper> |
@ -0,0 +1,13 @@ |
|||
package com.yxt.supervise.portal.biz.risklist; |
|||
|
|||
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.risklist.RiskListRest") |
|||
@RequestMapping("v1/riskList") |
|||
public class RiskListRest implements RiskListFeign { |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
package com.yxt.supervise.portal.biz.risklist; |
|||
|
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.supervise.portal.api.risklist.RiskList; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
|||
public class RiskListService extends MybatisBaseService<RiskListMapper, RiskList> { |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue