
8 changed files with 77 additions and 12 deletions
@ -0,0 +1,15 @@ |
|||
package com.supervise.rms.api.riskblacklist; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-06-26-11:17 |
|||
*/ |
|||
@Data |
|||
public class RiskBlacklistQuery implements Query { |
|||
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
|||
private Integer objectType; |
|||
} |
@ -0,0 +1,21 @@ |
|||
package com.supervise.rms.api.riskblacklist; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-06-26-11:18 |
|||
*/ |
|||
@Data |
|||
public class RiskBlacklistVo implements Vo { |
|||
private Integer id; |
|||
private String sid; |
|||
@ApiModelProperty("备注信息") |
|||
private String remarks; |
|||
@ApiModelProperty("风险对象Sid") |
|||
private String objectSid; |
|||
@ApiModelProperty("风险对象类型1.供应商2.仓库3.门店") |
|||
private Integer objectType; |
|||
} |
@ -1,7 +1,10 @@ |
|||
<?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.supervise.rms.biz.riskblacklist.RiskBlacklistMapper"> |
|||
<select id="selectRiskBlackList" resultType="com.supervise.rms.api.riskblacklist.RiskBlacklist"> |
|||
<select id="selectRiskBlackList" resultType="com.supervise.rms.api.riskblacklist.RiskBlacklistVo"> |
|||
select * from risk_blacklist |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
</mapper> |
Loading…
Reference in new issue