73 changed files with 1817 additions and 76 deletions
@ -0,0 +1,58 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
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; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrand.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrand <br/> |
|||
* Description: 限定品牌. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品牌", description = "限定品牌") |
|||
@TableName("restricted_brand") |
|||
public class RestrictedBrand extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("代码") |
|||
private String code; // 代码
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
} |
@ -0,0 +1,58 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandVo.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandVo <br/> |
|||
* Description: 限定品牌 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品牌 视图数据详情", description = "限定品牌 视图数据详情") |
|||
public class RestrictedBrandDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("代码") |
|||
private String code; // 代码
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
} |
@ -0,0 +1,58 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandDto.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandDto <br/> |
|||
* Description: 限定品牌 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品牌 数据传输对象", description = "限定品牌 数据传输对象") |
|||
public class RestrictedBrandDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("代码") |
|||
private String code; // 代码
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
} |
@ -0,0 +1,76 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandFeign.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandFeign <br/> |
|||
* Description: 限定品牌. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "限定品牌") |
|||
@FeignClient( |
|||
contextId = "yxt-supervise-RestrictedBrand", |
|||
name = "yxt-supervise", |
|||
path = "v1/restrictedbrand", |
|||
fallback = RestrictedBrandFeignFallback.class) |
|||
public interface RestrictedBrandFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<RestrictedBrandVo>> listPage(@RequestBody PagerQuery<RestrictedBrandQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody RestrictedBrandDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<RestrictedBrandDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,70 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandFeignFallback.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandFeignFallback <br/> |
|||
* Description: 限定品牌. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class RestrictedBrandFeignFallback implements RestrictedBrandFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<RestrictedBrandVo>> listPage(PagerQuery<RestrictedBrandQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口yxt-supervise/restrictedbrand/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(RestrictedBrandDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口yxt-supervise/restrictedbrand/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口yxt-supervise/restrictedbrand/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<RestrictedBrandDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口yxt-supervise/restrictedbrand/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,56 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandQuery.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandQuery <br/> |
|||
* Description: 限定品牌 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品牌 查询条件", description = "限定品牌 查询条件") |
|||
public class RestrictedBrandQuery implements Query { |
|||
|
|||
@ApiModelProperty("代码") |
|||
private String code; // 代码
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
} |
@ -0,0 +1,58 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedbrand; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandVo.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandVo <br/> |
|||
* Description: 限定品牌 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品牌 视图数据对象", description = "限定品牌 视图数据对象") |
|||
public class RestrictedBrandVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("代码") |
|||
private String code; // 代码
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
} |
@ -0,0 +1,59 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
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; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategory.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategory <br/> |
|||
* Description: 限定品类. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品类", description = "限定品类") |
|||
@TableName("restricted_category") |
|||
public class RestrictedCategory extends BaseEntity { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty("监管品类") |
|||
private String categorys; // 监管品类
|
|||
@ApiModelProperty("监管品类Key") |
|||
private String categoryKey; // 监管品类Key
|
|||
|
|||
|
|||
} |
@ -0,0 +1,57 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryVo.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryVo <br/> |
|||
* Description: 限定品类 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品类 视图数据详情", description = "限定品类 视图数据详情") |
|||
public class RestrictedCategoryDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
@ApiModelProperty("监管品类") |
|||
private String categorys; // 监管品类
|
|||
@ApiModelProperty("监管品类Key") |
|||
private String categoryKey; // 监管品类Key
|
|||
|
|||
} |
@ -0,0 +1,57 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryDto.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryDto <br/> |
|||
* Description: 限定品类 数据传输对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品类 数据传输对象", description = "限定品类 数据传输对象") |
|||
public class RestrictedCategoryDto implements Dto { |
|||
|
|||
private String sid; // sid
|
|||
@ApiModelProperty("监管品类") |
|||
private String categorys; // 监管品类
|
|||
@ApiModelProperty("监管品类Key") |
|||
private String categoryKey; // 监管品类Key
|
|||
|
|||
} |
@ -0,0 +1,76 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryFeign.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryFeign <br/> |
|||
* Description: 限定品类. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "限定品类") |
|||
@FeignClient( |
|||
contextId = "yxt-supervise-RestrictedCategory", |
|||
name = "yxt-supervise", |
|||
path = "v1/restrictedcategory", |
|||
fallback = RestrictedCategoryFeignFallback.class) |
|||
public interface RestrictedCategoryFeign { |
|||
|
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
@ResponseBody |
|||
public ResultBean<PagerVo<RestrictedCategoryVo>> listPage(@RequestBody PagerQuery<RestrictedCategoryQuery> pq); |
|||
|
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
@ResponseBody |
|||
public ResultBean save(@RequestBody RestrictedCategoryDto dto); |
|||
|
|||
@ApiOperation("根据sid删除记录") |
|||
@DeleteMapping("/delBySids") |
|||
@ResponseBody |
|||
public ResultBean delBySids(@RequestBody String[] sids); |
|||
|
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
@ResponseBody |
|||
public ResultBean<RestrictedCategoryDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
} |
@ -0,0 +1,70 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryFeignFallback.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryFeignFallback <br/> |
|||
* Description: 限定品类. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class RestrictedCategoryFeignFallback implements RestrictedCategoryFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<RestrictedCategoryVo>> listPage(PagerQuery<RestrictedCategoryQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口yxt-supervise/restrictedcategory/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(RestrictedCategoryDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口yxt-supervise/restrictedcategory/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口yxt-supervise/restrictedcategory/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<RestrictedCategoryDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口yxt-supervise/restrictedcategory/fetchDetailsBySid无法访问"); |
|||
} |
|||
} |
@ -0,0 +1,56 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryQuery.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryQuery <br/> |
|||
* Description: 限定品类 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品类 查询条件", description = "限定品类 查询条件") |
|||
public class RestrictedCategoryQuery implements Query { |
|||
|
|||
@ApiModelProperty("监管品类") |
|||
private String categorys; // 监管品类
|
|||
@ApiModelProperty("监管品类Key") |
|||
private String categoryKey; // 监管品类Key
|
|||
|
|||
} |
@ -0,0 +1,57 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.api.restrictedcategory; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryVo.java <br/> |
|||
* Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryVo <br/> |
|||
* Description: 限定品类 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "限定品类 视图数据对象", description = "限定品类 视图数据对象") |
|||
public class RestrictedCategoryVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
@ApiModelProperty("监管品类") |
|||
private String categorys; // 监管品类
|
|||
@ApiModelProperty("监管品类Key") |
|||
private String categoryKey; // 监管品类Key
|
|||
|
|||
} |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risk; |
|||
package com.supervise.rms.api.risk; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risk; |
|||
package com.supervise.rms.api.risk; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risk; |
|||
package com.supervise.rms.api.risk; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risk; |
|||
package com.supervise.rms.api.risk; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risk; |
|||
package com.supervise.rms.api.risk; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicators; |
|||
package com.supervise.rms.api.riskindicators; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicators; |
|||
package com.supervise.rms.api.riskindicators; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicators; |
|||
package com.supervise.rms.api.riskindicators; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicators; |
|||
package com.supervise.rms.api.riskindicators; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicators; |
|||
package com.supervise.rms.api.riskindicators; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorslevel; |
|||
package com.supervise.rms.api.riskindicatorslevel; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorslevel; |
|||
package com.supervise.rms.api.riskindicatorslevel; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorslevel; |
|||
package com.supervise.rms.api.riskindicatorslevel; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorslevel; |
|||
package com.supervise.rms.api.riskindicatorslevel; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorslevel; |
|||
package com.supervise.rms.api.riskindicatorslevel; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorstype; |
|||
package com.supervise.rms.api.riskindicatorstype; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorstype; |
|||
package com.supervise.rms.api.riskindicatorstype; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,6 +1,5 @@ |
|||
package com.supervise.rmc.api.riskindicatorstype; |
|||
package com.supervise.rms.api.riskindicatorstype; |
|||
|
|||
import com.supervise.rmc.api.riskindicatorslevel.RiskIndicatorsLevelFeignFallback; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorstype; |
|||
package com.supervise.rms.api.riskindicatorstype; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.riskindicatorstype; |
|||
package com.supervise.rms.api.riskindicatorstype; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risklist; |
|||
package com.supervise.rms.api.risklist; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risklist; |
|||
package com.supervise.rms.api.risklist; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -1,6 +1,5 @@ |
|||
package com.supervise.rmc.api.risklist; |
|||
package com.supervise.rms.api.risklist; |
|||
|
|||
import com.supervise.rmc.api.riskindicatorstype.RiskIndicatorsTypeFeignFallback; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risklist; |
|||
package com.supervise.rms.api.risklist; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
@ -1,4 +1,4 @@ |
|||
package com.supervise.rmc.api.risklist; |
|||
package com.supervise.rms.api.risklist; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
@ -0,0 +1,4 @@ |
|||
package com.supervise.rms.biz.auditingorder; |
|||
|
|||
public class AuditingOrderRest { |
|||
} |
@ -0,0 +1,21 @@ |
|||
package com.supervise.rms.biz.auditingorder; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandService.java <br/> |
|||
* Class: com.yxt.supervise.rms.biz.orderreview.AuditingSupplierService <br/> |
|||
* Description: 定单审核 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class AuditingOrderService { |
|||
|
|||
} |
@ -0,0 +1,4 @@ |
|||
package com.supervise.rms.biz.auditingsupplier; |
|||
|
|||
public class AuditingSupplierRest { |
|||
} |
@ -0,0 +1,20 @@ |
|||
package com.supervise.rms.biz.auditingsupplier; |
|||
|
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandService.java <br/> |
|||
* Class: com.yxt.supervise.rms.biz.auditingsupplier.AuditingSupplierService <br/> |
|||
* Description: 供应商审核 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class AuditingSupplierService { |
|||
|
|||
} |
@ -0,0 +1,67 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.biz.restrictedbrand; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.core.toolkit.Constants; |
|||
import com.supervise.rms.api.restrictedbrand.RestrictedBrand; |
|||
import com.supervise.rms.api.restrictedbrand.RestrictedBrandVo; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandMapper.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.restrictedbrand.RestrictedBrandMapper <br/> |
|||
* Description: 限定品牌. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface RestrictedBrandMapper extends BaseMapper<RestrictedBrand> { |
|||
|
|||
//@Update("update restricted_brand set name=#{msg} where id=#{id}")
|
|||
//IPage<RestrictedBrandVo> voPage(IPage<RestrictedBrand> page, @Param(Constants.WRAPPER) QueryWrapper<RestrictedBrand> qw);
|
|||
|
|||
IPage<RestrictedBrandVo> selectPageVo(IPage<RestrictedBrand> page, @Param(Constants.WRAPPER) Wrapper<RestrictedBrand> qw); |
|||
|
|||
List<RestrictedBrandVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<RestrictedBrand> qw); |
|||
|
|||
@Select("select * from restricted_brand") |
|||
List<RestrictedBrandVo> selectListVo(); |
|||
@Select("select * from restricted_brand where code=#{brandCode}") |
|||
RestrictedBrand selectByBrands(@Param("brandCode")String brandCode); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?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.restrictedbrand.RestrictedBrandMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandVo"> |
|||
SELECT * FROM restricted_brand <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandVo"> |
|||
SELECT * FROM restricted_brand <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,126 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.biz.restrictedbrand; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.supervise.portal.api.restrictedbrand.*; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import org.springframework.web.multipart.MultipartFile; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import java.io.File; |
|||
import java.io.IOException; |
|||
import java.io.InputStream; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandFeignFallback.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.restrictedbrand.RestrictedBrandRest <br/> |
|||
* Description: 限定品牌. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "限定品牌") |
|||
@RestController("com.yxt.supervise.portal.biz.restrictedbrand.RestrictedBrandRest") |
|||
@RequestMapping("v1/restrictedbrand") |
|||
public class RestrictedBrandRest implements RestrictedBrandFeign { |
|||
|
|||
@Autowired |
|||
private RestrictedBrandService restrictedBrandService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<RestrictedBrandVo>> listPage(@RequestBody PagerQuery<RestrictedBrandQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<RestrictedBrandVo> pv = restrictedBrandService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody RestrictedBrandDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
restrictedBrandService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
restrictedBrandService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<RestrictedBrandDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
RestrictedBrandDetailsVo vo = restrictedBrandService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
@ApiOperation(" ") |
|||
@RequestMapping(value = "/importBrandSort", method = RequestMethod.POST) |
|||
public ResultBean importBrandSort(@RequestParam("filename") MultipartFile file, |
|||
HttpServletRequest request, HttpServletResponse response){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
String temp = request.getSession().getServletContext() |
|||
.getRealPath(File.separator) |
|||
+ "temp"; // 临时目录
|
|||
File tempFile = new File(temp); |
|||
if (!tempFile.exists()) { |
|||
tempFile.mkdirs(); |
|||
} |
|||
String name = file.getOriginalFilename();// 获取上传文件名,包括路径
|
|||
long size = file.getSize(); |
|||
if ((name == null || name.equals("")) && size == 0) |
|||
return null; |
|||
InputStream in = null; |
|||
try { |
|||
in = file.getInputStream(); |
|||
} catch (IOException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
//inventoryInformationService.readBrandPeriodSorXls1(in,"");
|
|||
restrictedBrandService.readBrandPeriodSorXls1(in,""); |
|||
return rb; |
|||
} |
|||
} |
@ -0,0 +1,176 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.biz.restrictedbrand; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.alibaba.fastjson.JSON; |
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.supervise.rms.api.restrictedbrand.*; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.supervise.portal.api.restrictedbrand.*; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import org.apache.poi.hssf.usermodel.HSSFCell; |
|||
import org.apache.poi.hssf.usermodel.HSSFRow; |
|||
import org.apache.poi.hssf.usermodel.HSSFSheet; |
|||
import org.apache.poi.hssf.usermodel.HSSFWorkbook; |
|||
import org.apache.poi.ss.usermodel.CellType; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.io.IOException; |
|||
import java.io.InputStream; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedBrandService.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.restrictedbrand.RestrictedBrandService <br/> |
|||
* Description: 限定品牌 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
public class RestrictedBrandService extends MybatisBaseService<RestrictedBrandMapper, RestrictedBrand> { |
|||
private QueryWrapper<RestrictedBrand> createQueryWrapper(RestrictedBrandQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<RestrictedBrand> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<RestrictedBrandVo> listPageVo(PagerQuery<RestrictedBrandQuery> pq) { |
|||
RestrictedBrandQuery query = pq.getParams(); |
|||
QueryWrapper<RestrictedBrand> qw = createQueryWrapper(query); |
|||
IPage<RestrictedBrand> page = PagerUtil.queryToPage(pq); |
|||
IPage<RestrictedBrandVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<RestrictedBrandVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(RestrictedBrandDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(RestrictedBrandDto dto){ |
|||
RestrictedBrand entity = new RestrictedBrand(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(RestrictedBrandDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
RestrictedBrand entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public RestrictedBrandDetailsVo fetchDetailsVoBySid(String sid){ |
|||
RestrictedBrand entity = fetchBySid(sid); |
|||
RestrictedBrandDetailsVo vo = new RestrictedBrandDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
public void readBrandPeriodSorXls1(InputStream is, String sid) { |
|||
HSSFWorkbook hssfWorkbook = null; |
|||
try { |
|||
hssfWorkbook = new HSSFWorkbook(is); |
|||
} catch (IOException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
|
|||
List<String> lisss=new ArrayList<>(); |
|||
List<String> lisss2=new ArrayList<>(); |
|||
HSSFSheet hssfSheet = hssfWorkbook.getSheetAt(0); |
|||
|
|||
// 循环行Row
|
|||
for (int rowNum = 1; rowNum <= hssfSheet.getLastRowNum(); rowNum++) { |
|||
RestrictedBrand pr=new RestrictedBrand(); |
|||
HSSFRow hssfRow = hssfSheet.getRow(rowNum); |
|||
int i = 0; |
|||
try{ |
|||
if(rowNum>=1){ |
|||
for ( ; i < hssfRow.getLastCellNum(); i++) { |
|||
HSSFCell brandIdHSSFCell = hssfRow.getCell(i); |
|||
if(brandIdHSSFCell!=null){ |
|||
if (i == 1) {//品牌编码
|
|||
brandIdHSSFCell.setCellType(CellType.STRING); |
|||
if (StringUtils.isNotBlank(brandIdHSSFCell.getStringCellValue())) { |
|||
String value = brandIdHSSFCell.getStringCellValue(); |
|||
pr.setCode(value); |
|||
} |
|||
} |
|||
if (i == 2) {//品牌名称
|
|||
brandIdHSSFCell.setCellType(CellType.STRING); |
|||
if (StringUtils.isNotBlank(brandIdHSSFCell.getStringCellValue())) { |
|||
String value = brandIdHSSFCell.getStringCellValue(); |
|||
pr.setName(value); |
|||
} |
|||
} |
|||
}else{ |
|||
System.err.println("rowNum="+rowNum+",i="+i+",value=null"); |
|||
} |
|||
} |
|||
} |
|||
}catch(Exception e){ |
|||
e.printStackTrace(); |
|||
System.err.println("i="+i+",value=null"); |
|||
} |
|||
|
|||
lisss.add(rowNum+""); |
|||
baseMapper.insert(pr); |
|||
log.info("productInformation:{}", JSONObject.toJSONString(pr)); |
|||
} |
|||
String x = JSON.toJSONString(lisss); |
|||
System.out.println(x); |
|||
String x1 = JSON.toJSONString(lisss2); |
|||
System.out.println(x1); |
|||
//return message;
|
|||
} |
|||
|
|||
public RestrictedBrand selectByBrands(String brandCode) { |
|||
return baseMapper.selectByBrands(brandCode); |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.biz.restrictedcategory; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.core.toolkit.Constants; |
|||
import com.supervise.rms.api.restrictedcategory.RestrictedCategory; |
|||
import com.supervise.rms.api.restrictedcategory.RestrictedCategoryVo; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.apache.ibatis.annotations.Select; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryMapper.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.restrictedcategory.RestrictedCategoryMapper <br/> |
|||
* Description: 限定品类. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface RestrictedCategoryMapper extends BaseMapper<RestrictedCategory> { |
|||
|
|||
//@Update("update restricted_category set name=#{msg} where id=#{id}")
|
|||
//IPage<RestrictedCategoryVo> voPage(IPage<RestrictedCategory> page, @Param(Constants.WRAPPER) QueryWrapper<RestrictedCategory> qw);
|
|||
|
|||
IPage<RestrictedCategoryVo> selectPageVo(IPage<RestrictedCategory> page, @Param(Constants.WRAPPER) Wrapper<RestrictedCategory> qw); |
|||
|
|||
List<RestrictedCategoryVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<RestrictedCategory> qw); |
|||
|
|||
@Select("select * from restricted_category") |
|||
List<RestrictedCategoryVo> selectListVo(); |
|||
@Select("select * from restricted_category where categorys like CONCAT('%',#{categoryKey},'%') and brands like CONCAT('%',#{brandCode},'%')") |
|||
List<RestrictedCategory> limitJudgement(@Param("categoryKey")String categoryKey, @Param("brandCode")String brandCode); |
|||
@Select("select * from restricted_category where categoryKey = #{categoryKey} ") |
|||
RestrictedCategory selectByCategorys(@Param("categoryKey")String categoryKey); |
|||
@Select("select * from restricted_category where brands like CONCAT('%',#{brandCode},'%') ") |
|||
List<RestrictedCategory> selectByBrands(@Param("brandCode")String brand); |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?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.restrictedcategory.RestrictedCategoryMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryVo"> |
|||
SELECT * FROM restricted_category <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryVo"> |
|||
SELECT * FROM restricted_category <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,127 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.biz.restrictedcategory; |
|||
|
|||
import com.supervise.rms.api.restrictedcategory.*; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.supervise.portal.api.restrictedcategory.*; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import org.springframework.web.multipart.MultipartFile; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import java.io.File; |
|||
import java.io.IOException; |
|||
import java.io.InputStream; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryFeignFallback.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.restrictedcategory.RestrictedCategoryRest <br/> |
|||
* Description: 限定品类. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Api(tags = "限定品类") |
|||
@RestController("com.yxt.supervise.portal.biz.restrictedcategory.RestrictedCategoryRest") |
|||
@RequestMapping("v1/restrictedcategory") |
|||
public class RestrictedCategoryRest implements RestrictedCategoryFeign { |
|||
|
|||
@Autowired |
|||
private RestrictedCategoryService restrictedCategoryService; |
|||
|
|||
@Override |
|||
@ApiOperation("根据条件分页查询数据的列表") |
|||
@PostMapping("/listPage") |
|||
public ResultBean<PagerVo<RestrictedCategoryVo>> listPage(@RequestBody PagerQuery<RestrictedCategoryQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
PagerVo<RestrictedCategoryVo> pv = restrictedCategoryService.listPageVo(pq); |
|||
return rb.success().setData(pv); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("新增或修改") |
|||
@PostMapping("/save") |
|||
public ResultBean save(@RequestBody RestrictedCategoryDto dto){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
restrictedCategoryService.saveOrUpdateDto(dto); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据sid批量删除") |
|||
@PostMapping("/delBySids") |
|||
public ResultBean delBySids(@RequestBody String[] sids){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
restrictedCategoryService.delBySids(sids); |
|||
return rb.success(); |
|||
} |
|||
|
|||
@Override |
|||
@ApiOperation("根据SID获取一条记录") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<RestrictedCategoryDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
RestrictedCategoryDetailsVo vo = restrictedCategoryService.fetchDetailsVoBySid(sid); |
|||
return rb.success().setData(vo); |
|||
} |
|||
@ApiOperation(" ") |
|||
@RequestMapping(value = "/importBrandSort", method = RequestMethod.POST) |
|||
public ResultBean importBrandSort(@RequestParam("filename") MultipartFile file, |
|||
HttpServletRequest request, HttpServletResponse response){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
String temp = request.getSession().getServletContext() |
|||
.getRealPath(File.separator) |
|||
+ "temp"; // 临时目录
|
|||
File tempFile = new File(temp); |
|||
if (!tempFile.exists()) { |
|||
tempFile.mkdirs(); |
|||
} |
|||
String name = file.getOriginalFilename();// 获取上传文件名,包括路径
|
|||
long size = file.getSize(); |
|||
if ((name == null || name.equals("")) && size == 0) |
|||
return null; |
|||
InputStream in = null; |
|||
try { |
|||
in = file.getInputStream(); |
|||
} catch (IOException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
//inventoryInformationService.readBrandPeriodSorXls1(in,"");
|
|||
restrictedCategoryService.readBrandPeriodSorXls1(in,""); |
|||
return rb; |
|||
} |
|||
} |
@ -0,0 +1,223 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.supervise.rms.biz.restrictedcategory; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.alibaba.fastjson.JSON; |
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.supervise.rms.api.restrictedcategory.*; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.yxt.common.base.utils.PagerUtil; |
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.supervise.portal.api.brandinfo.BrandInfoVo; |
|||
import com.yxt.supervise.portal.api.dictcommon.DictCommonDetailsVo; |
|||
import com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrand; |
|||
import com.yxt.supervise.portal.api.restrictedcategory.*; |
|||
import com.yxt.supervise.portal.biz.brandinfo.BrandInfoService; |
|||
import com.yxt.supervise.portal.biz.dictcommon.DictCommonService; |
|||
import com.yxt.supervise.portal.biz.restrictedbrand.RestrictedBrandService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import org.apache.poi.hssf.usermodel.HSSFCell; |
|||
import org.apache.poi.hssf.usermodel.HSSFRow; |
|||
import org.apache.poi.hssf.usermodel.HSSFSheet; |
|||
import org.apache.poi.hssf.usermodel.HSSFWorkbook; |
|||
import org.apache.poi.ss.usermodel.CellType; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import javax.annotation.Resource; |
|||
import java.io.IOException; |
|||
import java.io.InputStream; |
|||
import java.util.ArrayList; |
|||
import java.util.HashMap; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* Project: yxt-supervise(宇信通监管) <br/> |
|||
* File: RestrictedCategoryService.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.restrictedcategory.RestrictedCategoryService <br/> |
|||
* Description: 限定品类 业务逻辑. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-11-22 21:47:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
public class RestrictedCategoryService extends MybatisBaseService<RestrictedCategoryMapper, RestrictedCategory> { |
|||
@Resource |
|||
private DictCommonService dictCommonService; |
|||
@Resource |
|||
private BrandInfoService brandInfoService; |
|||
@Resource |
|||
private RestrictedBrandService restrictedBrandService; |
|||
private QueryWrapper<RestrictedCategory> createQueryWrapper(RestrictedCategoryQuery query) { |
|||
// todo: 这里根据具体业务调整查询条件
|
|||
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
|||
QueryWrapper<RestrictedCategory> qw = new QueryWrapper<>(); |
|||
return qw; |
|||
} |
|||
|
|||
public PagerVo<RestrictedCategoryVo> listPageVo(PagerQuery<RestrictedCategoryQuery> pq) { |
|||
RestrictedCategoryQuery query = pq.getParams(); |
|||
QueryWrapper<RestrictedCategory> qw = createQueryWrapper(query); |
|||
IPage<RestrictedCategory> page = PagerUtil.queryToPage(pq); |
|||
IPage<RestrictedCategoryVo> pagging = baseMapper.selectPageVo(page, qw); |
|||
PagerVo<RestrictedCategoryVo> p = PagerUtil.pageToVo(pagging, null); |
|||
return p; |
|||
} |
|||
|
|||
public void saveOrUpdateDto(RestrictedCategoryDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
this.insertByDto(dto); |
|||
return; |
|||
} |
|||
this.updateByDto(dto); |
|||
} |
|||
|
|||
public void insertByDto(RestrictedCategoryDto dto){ |
|||
RestrictedCategory entity = new RestrictedCategory(); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.insert(entity); |
|||
} |
|||
|
|||
public void updateByDto(RestrictedCategoryDto dto){ |
|||
String dtoSid = dto.getSid(); |
|||
if (StringUtils.isBlank(dtoSid)) { |
|||
return; |
|||
} |
|||
RestrictedCategory entity = fetchBySid(dtoSid); |
|||
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
|||
baseMapper.updateById(entity); |
|||
} |
|||
|
|||
public RestrictedCategoryDetailsVo fetchDetailsVoBySid(String sid){ |
|||
RestrictedCategory entity = fetchBySid(sid); |
|||
RestrictedCategoryDetailsVo vo = new RestrictedCategoryDetailsVo(); |
|||
BeanUtil.copyProperties(entity, vo); |
|||
return vo; |
|||
} |
|||
|
|||
public void readBrandPeriodSorXls1(InputStream is, String sid) { |
|||
HSSFWorkbook hssfWorkbook = null; |
|||
try { |
|||
hssfWorkbook = new HSSFWorkbook(is); |
|||
} catch (IOException e) { |
|||
e.printStackTrace(); |
|||
} |
|||
|
|||
List<String> lisss=new ArrayList<>(); |
|||
List<String> lisss2=new ArrayList<>(); |
|||
HSSFSheet hssfSheet = hssfWorkbook.getSheetAt(0); |
|||
|
|||
// 循环行Row
|
|||
for (int rowNum = 1; rowNum <= hssfSheet.getLastRowNum(); rowNum++) { |
|||
RestrictedCategory pr=new RestrictedCategory(); |
|||
HSSFRow hssfRow = hssfSheet.getRow(rowNum); |
|||
int i = 0; |
|||
try{ |
|||
if(rowNum>=1){ |
|||
for ( ; i < hssfRow.getLastCellNum(); i++) { |
|||
HSSFCell brandIdHSSFCell = hssfRow.getCell(i); |
|||
if(brandIdHSSFCell!=null){ |
|||
if (i == 1) {//编码
|
|||
brandIdHSSFCell.setCellType(CellType.STRING); |
|||
if (StringUtils.isNotBlank(brandIdHSSFCell.getStringCellValue())) { |
|||
String value = brandIdHSSFCell.getStringCellValue(); |
|||
pr.setCategorys(value); |
|||
} |
|||
} |
|||
/*if (i == 2) {//名称
|
|||
brandIdHSSFCell.setCellType(CellType.STRING); |
|||
if (StringUtils.isNotBlank(brandIdHSSFCell.getStringCellValue())) { |
|||
String value = brandIdHSSFCell.getStringCellValue(); |
|||
pr.setBrands(value); |
|||
} |
|||
}*/ |
|||
}else{ |
|||
System.err.println("rowNum="+rowNum+",i="+i+",value=null"); |
|||
} |
|||
} |
|||
} |
|||
}catch(Exception e){ |
|||
e.printStackTrace(); |
|||
System.err.println("i="+i+",value=null"); |
|||
} |
|||
|
|||
lisss.add(rowNum+""); |
|||
baseMapper.insert(pr); |
|||
log.info("productInformation:{}", JSONObject.toJSONString(pr)); |
|||
} |
|||
String x = JSON.toJSONString(lisss); |
|||
System.out.println(x); |
|||
String x1 = JSON.toJSONString(lisss2); |
|||
System.out.println(x1); |
|||
//return message;
|
|||
} |
|||
|
|||
/** |
|||
* 商品限制判断 |
|||
* @param categoryKey 品类键值 |
|||
* @param brandCode 品牌代码 |
|||
* @return ResultBean<ActivityCreateStepVo> |
|||
* 2022/4/28 聂金毅 修改 |
|||
*/ |
|||
public Map<String,String> limitJudgement(String categoryKey, String brandCode) { |
|||
Map<String,String> result=new HashMap<>(); |
|||
RestrictedCategory r=baseMapper.selectByCategorys(categoryKey); |
|||
result.put("success","1"); |
|||
String msg=""; |
|||
if(r==null ){ |
|||
result.put("success","0"); |
|||
DictCommonDetailsVo category = dictCommonService.fetchByKeyAndType(categoryKey, "category"); |
|||
if(category==null){ |
|||
msg=msg+categoryKey+"商品品类不存在;"; |
|||
}else{ |
|||
msg=msg+category.getDictValue()+"["+categoryKey+"]"+"不符合监管品类;"; |
|||
} |
|||
} |
|||
RestrictedBrand r1=restrictedBrandService.selectByBrands(brandCode); |
|||
if(r1==null ){ |
|||
result.put("success","0"); |
|||
BrandInfoVo brandInfoVo = brandInfoService.selectByCode(brandCode); |
|||
if(brandInfoVo==null){ |
|||
msg=msg+categoryKey+"商品品牌不存在;"; |
|||
}else{ |
|||
msg=msg+brandInfoVo.getName()+"["+brandCode+"]"+"不符合监管品牌;"; |
|||
} |
|||
} |
|||
result.put("msg",msg); |
|||
return result; |
|||
} |
|||
} |
@ -1,5 +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.supervise.rmc.biz.risk.RiskMapper"> |
|||
<mapper namespace="com.supervise.rms.biz.risk.RiskMapper"> |
|||
|
|||
</mapper> |
@ -1,7 +1,6 @@ |
|||
package com.supervise.rmc.biz.risk; |
|||
package com.supervise.rms.biz.risk; |
|||
|
|||
import com.supervise.rmc.api.risk.RiskFeign; |
|||
import com.supervise.rmc.api.risklist.RiskListFeign; |
|||
import com.supervise.rms.api.risk.RiskFeign; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
@ -1,8 +1,7 @@ |
|||
package com.supervise.rmc.biz.risk; |
|||
package com.supervise.rms.biz.risk; |
|||
|
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.supervise.rmc.api.risk.Risk; |
|||
import com.supervise.rmc.api.risklist.RiskList; |
|||
import com.supervise.rms.api.risk.Risk; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
@ -1,5 +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.supervise.rmc.biz.riskindicators.RiskIndicatorsMapper"> |
|||
<mapper namespace="com.supervise.rms.biz.riskindicators.RiskIndicatorsMapper"> |
|||
|
|||
</mapper> |
@ -1,7 +1,6 @@ |
|||
package com.supervise.rmc.biz.riskindicators; |
|||
package com.supervise.rms.biz.riskindicators; |
|||
|
|||
import com.supervise.rmc.api.risk.RiskFeign; |
|||
import com.supervise.rmc.api.riskindicators.RiskIndicatorsFeign; |
|||
import com.supervise.rms.api.riskindicators.RiskIndicatorsFeign; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
@ -1,8 +1,7 @@ |
|||
package com.supervise.rmc.biz.riskindicators; |
|||
package com.supervise.rms.biz.riskindicators; |
|||
|
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.supervise.rmc.api.risk.Risk; |
|||
import com.supervise.rmc.api.riskindicators.RiskIndicators; |
|||
import com.supervise.rms.api.riskindicators.RiskIndicators; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
@ -1,5 +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.supervise.rmc.biz.riskindicatorslevel.RiskIndicatorsLevelMapper"> |
|||
<mapper namespace="com.supervise.rms.biz.riskindicatorslevel.RiskIndicatorsLevelMapper"> |
|||
|
|||
</mapper> |
@ -1,6 +1,6 @@ |
|||
package com.supervise.rmc.biz.riskindicatorslevel; |
|||
package com.supervise.rms.biz.riskindicatorslevel; |
|||
|
|||
import com.supervise.rmc.api.risk.RiskFeign; |
|||
import com.supervise.rms.api.risk.RiskFeign; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
@ -1,8 +1,7 @@ |
|||
package com.supervise.rmc.biz.riskindicatorslevel; |
|||
package com.supervise.rms.biz.riskindicatorslevel; |
|||
|
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.supervise.rmc.api.risk.Risk; |
|||
import com.supervise.rmc.api.riskindicatorslevel.RiskIndicatorsLevel; |
|||
import com.supervise.rms.api.riskindicatorslevel.RiskIndicatorsLevel; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
@ -1,5 +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.supervise.rmc.biz.riskindicatorstype.RiskIndicatorsTypeMapper"> |
|||
<mapper namespace="com.supervise.rms.biz.riskindicatorstype.RiskIndicatorsTypeMapper"> |
|||
|
|||
</mapper> |
@ -1,6 +1,6 @@ |
|||
package com.supervise.rmc.biz.riskindicatorstype; |
|||
package com.supervise.rms.biz.riskindicatorstype; |
|||
|
|||
import com.supervise.rmc.api.risk.RiskFeign; |
|||
import com.supervise.rms.api.risk.RiskFeign; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
@ -1,8 +1,7 @@ |
|||
package com.supervise.rmc.biz.riskindicatorstype; |
|||
package com.supervise.rms.biz.riskindicatorstype; |
|||
|
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.supervise.rmc.api.risk.Risk; |
|||
import com.supervise.rmc.api.riskindicatorstype.RiskIndicatorsType; |
|||
import com.supervise.rms.api.riskindicatorstype.RiskIndicatorsType; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
@ -1,5 +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.supervise.rmc.biz.risklist.RiskListMapper"> |
|||
<mapper namespace="com.supervise.rms.biz.risklist.RiskListMapper"> |
|||
|
|||
</mapper> |
@ -1,6 +1,6 @@ |
|||
package com.supervise.rmc.biz.risklist; |
|||
package com.supervise.rms.biz.risklist; |
|||
|
|||
import com.supervise.rmc.api.risklist.RiskListFeign; |
|||
import com.supervise.rms.api.risklist.RiskListFeign; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
@ -1,7 +1,7 @@ |
|||
package com.supervise.rmc.biz.risklist; |
|||
package com.supervise.rms.biz.risklist; |
|||
|
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import com.supervise.rmc.api.risklist.RiskList; |
|||
import com.supervise.rms.api.risklist.RiskList; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Service |
Loading…
Reference in new issue