diff --git a/yxt_supervise/pom.xml b/yxt_supervise/pom.xml index d828f0e8..b2e70233 100644 --- a/yxt_supervise/pom.xml +++ b/yxt_supervise/pom.xml @@ -14,7 +14,6 @@ supervise-portal supervise-system - yxt_adapter supervise-rms yxt-supervise-enterprisecentre supervise-crm diff --git a/yxt_supervise/supervise-portal/pom.xml b/yxt_supervise/supervise-portal/pom.xml index d0703127..fc7158ab 100644 --- a/yxt_supervise/supervise-portal/pom.xml +++ b/yxt_supervise/supervise-portal/pom.xml @@ -7,7 +7,6 @@ 4.0.0 supervise-portal - supervise-portal-api supervise-portal-biz com.yxt.supervise diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/pom.xml b/yxt_supervise/supervise-portal/supervise-portal-biz/pom.xml index 92a18483..cf4a2b1a 100644 --- a/yxt_supervise/supervise-portal/supervise-portal-biz/pom.xml +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/pom.xml @@ -40,16 +40,15 @@ - - supervise-portal-api - com.yxt.supervise - 0.0.1-SNAPSHOT - com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-openfeign + mysql @@ -177,6 +176,12 @@ commons-codec 1.10 + + com.alibaba + easyexcel-core + 3.2.1 + compile + diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStore.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStore.java new file mode 100644 index 00000000..90db705a --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStore.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + +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(宇信通监管)
+ * File: PurchaseRequisitionStore.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStore
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息", description = "采购订单商品信息") +@TableName("purchase_requisition_store") +public class PurchaseRequisitionStore extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("关联表sid") + private String mainSid; // 关联表sid + @ApiModelProperty("烟草证编码") + private String yCode; // 烟草证编码 + @ApiModelProperty("门店代码") + private String storeCode; // 门店代码 + @ApiModelProperty("门店名称") + private String storeName; // 门店名称 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("明细总金额") + private String detailPrice; // 明细总金额 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreDetailsVo.java new file mode 100644 index 00000000..e822b7e7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreDetailsVo.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionStoreVo.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreVo
+ * Description: 采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 视图数据详情", description = "采购订单商品信息 视图数据详情") +public class PurchaseRequisitionStoreDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + private String mainSid; // 关联表sid + @ApiModelProperty("烟草证编码") + private String yCode; // 烟草证编码 + @ApiModelProperty("门店代码") + private String storeCode; // 门店代码 + @ApiModelProperty("门店名称") + private String storeName; // 门店名称 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("明细总金额") + private String detailPrice; // 明细总金额 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreDto.java new file mode 100644 index 00000000..0a2e5dcb --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreDto.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionStoreDto.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreDto
+ * Description: 采购订单商品信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 数据传输对象", description = "采购订单商品信息 数据传输对象") +public class PurchaseRequisitionStoreDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + private String mainSid; // 关联表sid + @ApiModelProperty("烟草证编码") + private String yCode; // 烟草证编码 + @ApiModelProperty("门店代码") + private String storeCode; // 门店代码 + @ApiModelProperty("门店名称") + private String storeName; // 门店名称 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("明细总金额") + private String detailPrice; // 明细总金额 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreFeign.java new file mode 100644 index 00000000..79bc163e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreFeign.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionStoreFeign.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreFeign
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "采购订单商品信息") +@FeignClient( + contextId = "yxt-supervise-PurchaseRequisitionStore", + name = "yxt-supervise", + path = "v1/purchaserequisitionstore", + fallback = PurchaseRequisitionStoreFeignFallback.class) +public interface PurchaseRequisitionStoreFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody PurchaseRequisitionStoreDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreFeignFallback.java new file mode 100644 index 00000000..4f3c23f2 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreFeignFallback.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + +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(宇信通监管)
+ * File: PurchaseRequisitionStoreFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreFeignFallback
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class PurchaseRequisitionStoreFeignFallback implements PurchaseRequisitionStoreFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/purchaserequisitionstore/listPage无法访问"); + } + + @Override + public ResultBean save(PurchaseRequisitionStoreDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/purchaserequisitionstore/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/purchaserequisitionstore/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/purchaserequisitionstore/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreQuery.java new file mode 100644 index 00000000..dc0a055f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreQuery.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionStoreQuery.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreQuery
+ * Description: 采购订单商品信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 查询条件", description = "采购订单商品信息 查询条件") +public class PurchaseRequisitionStoreQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + private String mainSid; // 关联表sid + @ApiModelProperty("烟草证编码") + private String yCode; // 烟草证编码 + @ApiModelProperty("门店代码") + private String storeCode; // 门店代码 + @ApiModelProperty("门店名称") + private String storeName; // 门店名称 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("明细总金额") + private String detailPrice; // 明细总金额 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreVo.java new file mode 100644 index 00000000..adfc2e89 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitionstore/PurchaseRequisitionStoreVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitionstore; + + +import com.yxt.anrui.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoDetailsVo; +import com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetails; +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionStoreVo.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreVo
+ * Description: 采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 视图数据对象", description = "采购订单商品信息 视图数据对象") +public class PurchaseRequisitionStoreVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + private String mainSid; // 关联表sid + @ApiModelProperty("烟草证编码") + private String yCode; // 烟草证编码 + @ApiModelProperty("门店代码") + private String storeCode; // 门店代码 + @ApiModelProperty("门店名称") + private String storeName; // 门店名称 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("明细总金额") + private String detailPrice; // 明细总金额 + + private List detailsList = new ArrayList<>(); + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobacco.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobacco.java new file mode 100644 index 00000000..5357ca39 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobacco.java @@ -0,0 +1,104 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + +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(宇信通监管)
+ * File: PurchaseRequisitionTobacco.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobacco
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表", description = "采购订单表") +@TableName("purchase_requisition_tobacco") +public class PurchaseRequisitionTobacco extends BaseEntity { + private static final long serialVersionUID = 1L; + + + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("供应商唯一编码") + private String supplierOnlyCode; // 供应商唯一编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("监管0未审核,1审核通过,2审核不通过") + private String purchaseState; // 监管0未审核,1审核通过,2审核不通过 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private String bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("完成状态") + private String completionStatus; // 完成状态 + @ApiModelProperty("完成状态Key") + private String completionStatusKey; // 完成状态Key + @ApiModelProperty("填单人code") + private String tdrCode; + @ApiModelProperty("填单人姓名") + private String tdrName; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoDetailsVo.java new file mode 100644 index 00000000..342bb27b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoDetailsVo.java @@ -0,0 +1,108 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoVo.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoVo
+ * Description: 采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 视图数据详情", description = "采购订单表 视图数据详情") +public class PurchaseRequisitionTobaccoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("供应商唯一编码") + private String supplierOnlyCode; // 供应商唯一编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("监管0未审核,1审核通过,2审核不通过") + private String purchaseState; // 监管0未审核,1审核通过,2审核不通过 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private String bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("完成状态") + private String completionStatus; // 完成状态 + @ApiModelProperty("完成状态Key") + private String completionStatusKey; // 完成状态Key + @ApiModelProperty("填单人code") + private String tdrCode; + @ApiModelProperty("填单人姓名") + private String tdrName; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoDto.java new file mode 100644 index 00000000..346e20fc --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoDto.java @@ -0,0 +1,108 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDto.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoDto
+ * Description: 采购订单表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 数据传输对象", description = "采购订单表 数据传输对象") +public class PurchaseRequisitionTobaccoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("供应商唯一编码") + private String supplierOnlyCode; // 供应商唯一编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("监管0未审核,1审核通过,2审核不通过") + private String purchaseState; // 监管0未审核,1审核通过,2审核不通过 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private String bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("完成状态") + private String completionStatus; // 完成状态 + @ApiModelProperty("完成状态Key") + private String completionStatusKey; // 完成状态Key + @ApiModelProperty("填单人code") + private String tdrCode; + @ApiModelProperty("填单人姓名") + private String tdrName; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoFeign.java new file mode 100644 index 00000000..f648058b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoFeign.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoFeign.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoFeign
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "采购订单表") +@FeignClient( + contextId = "yxt-supervise-PurchaseRequisitionTobacco", + name = "yxt-supervise", + path = "v1/purchaserequisitiontobacco", + fallback = PurchaseRequisitionTobaccoFeignFallback.class) +public interface PurchaseRequisitionTobaccoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody PurchaseRequisitionTobaccoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoFeignFallback.java new file mode 100644 index 00000000..ef467527 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoFeignFallback.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + +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(宇信通监管)
+ * File: PurchaseRequisitionTobaccoFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoFeignFallback
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class PurchaseRequisitionTobaccoFeignFallback implements PurchaseRequisitionTobaccoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/purchaserequisitiontobacco/listPage无法访问"); + } + + @Override + public ResultBean save(PurchaseRequisitionTobaccoDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/purchaserequisitiontobacco/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/purchaserequisitiontobacco/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/purchaserequisitiontobacco/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoQuery.java new file mode 100644 index 00000000..d469fa5e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoQuery.java @@ -0,0 +1,106 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoQuery.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoQuery
+ * Description: 采购订单表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 查询条件", description = "采购订单表 查询条件") +public class PurchaseRequisitionTobaccoQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("供应商唯一编码") + private String supplierOnlyCode; // 供应商唯一编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("监管0未审核,1审核通过,2审核不通过") + private String purchaseState; // 监管0未审核,1审核通过,2审核不通过 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private String bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("完成状态") + private String completionStatus; // 完成状态 + @ApiModelProperty("完成状态Key") + private String completionStatusKey; // 完成状态Key + @ApiModelProperty("填单人code") + private String tdrCode; + @ApiModelProperty("填单人姓名") + private String tdrName; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoVo.java new file mode 100644 index 00000000..ba4627b7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobacco/PurchaseRequisitionTobaccoVo.java @@ -0,0 +1,116 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobacco; + + +import com.yxt.anrui.portal.api.purchaserequisitionstore.PurchaseRequisitionStoreVo; +import com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetails; +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoVo.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobacco.PurchaseRequisitionTobaccoVo
+ * Description: 采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 视图数据对象", description = "采购订单表 视图数据对象") +public class PurchaseRequisitionTobaccoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("供应商唯一编码") + private String supplierOnlyCode; // 供应商唯一编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("监管0未审核,1审核通过,2审核不通过") + private String purchaseState; // 监管0未审核,1审核通过,2审核不通过 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private String bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("完成状态") + private String completionStatus; // 完成状态 + @ApiModelProperty("完成状态Key") + private String completionStatusKey; // 完成状态Key + @ApiModelProperty("填单人code") + private String tdrCode; + @ApiModelProperty("填单人姓名") + private String tdrName; + + + private List storeList = new ArrayList<>(); +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetails.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetails.java new file mode 100644 index 00000000..7245885e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetails.java @@ -0,0 +1,77 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + +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(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetails.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetails
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表", description = "采购订单表") +@TableName("purchase_requisition_tobacco_details") +public class PurchaseRequisitionTobaccoDetails extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("关联表sid") + private String mainSid; // 关联表sid + @ApiModelProperty("卷烟代码") + private String yCode; // 卷烟代码 + @ApiModelProperty("商品编码") + private String prodCode; // 门店名称编码 + @ApiModelProperty("商品名称") + private String prodName; // 门店名称 + @ApiModelProperty("批发价") + private String pfj; // 批发价 + @ApiModelProperty("要货量") + private String yhl; // 要货量 + @ApiModelProperty("订单量") + private String ddl; // 订单量 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("厂家名称") + private String cjmc; // 厂家名称 + @ApiModelProperty("零售指导价") + private String lszdj; // 零售指导价 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsDetailsVo.java new file mode 100644 index 00000000..5817f2da --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsDetailsVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetailsVo.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetailsVo
+ * Description: 采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 视图数据详情", description = "采购订单表 视图数据详情") +public class PurchaseRequisitionTobaccoDetailsDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("关联表sid") + private String mainSid; // 关联表sid + @ApiModelProperty("卷烟代码") + private String yCode; // 卷烟代码 + @ApiModelProperty("商品编码") + private String prodCode; // 门店名称编码 + @ApiModelProperty("商品名称") + private String prodName; // 门店名称 + @ApiModelProperty("批发价") + private String pfj; // 批发价 + @ApiModelProperty("要货量") + private String yhl; // 要货量 + @ApiModelProperty("订单量") + private String ddl; // 订单量 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("厂家名称") + private String cjmc; // 厂家名称 + @ApiModelProperty("零售指导价") + private String lszdj; // 零售指导价 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsDto.java new file mode 100644 index 00000000..4ca5b4a2 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsDto.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetailsDto.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetailsDto
+ * Description: 采购订单表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 数据传输对象", description = "采购订单表 数据传输对象") +public class PurchaseRequisitionTobaccoDetailsDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("关联表sid") + private String mainSid; // 关联表sid + @ApiModelProperty("卷烟代码") + private String yCode; // 卷烟代码 + @ApiModelProperty("商品编码") + private String prodCode; // 门店名称编码 + @ApiModelProperty("商品名称") + private String prodName; // 门店名称 + @ApiModelProperty("批发价") + private String pfj; // 批发价 + @ApiModelProperty("要货量") + private String yhl; // 要货量 + @ApiModelProperty("订单量") + private String ddl; // 订单量 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("厂家名称") + private String cjmc; // 厂家名称 + @ApiModelProperty("零售指导价") + private String lszdj; // 零售指导价 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsFeign.java new file mode 100644 index 00000000..ad527d28 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsFeign.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetailsFeign.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetailsFeign
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "采购订单表") +@FeignClient( + contextId = "yxt-supervise-PurchaseRequisitionTobaccoDetails", + name = "yxt-supervise", + path = "v1/purchaserequisitiontobaccodetails", + fallback = PurchaseRequisitionTobaccoDetailsFeignFallback.class) +public interface PurchaseRequisitionTobaccoDetailsFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody PurchaseRequisitionTobaccoDetailsDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsFeignFallback.java new file mode 100644 index 00000000..83ca3d2c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsFeignFallback.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + +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(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetailsFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetailsFeignFallback
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class PurchaseRequisitionTobaccoDetailsFeignFallback implements PurchaseRequisitionTobaccoDetailsFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/purchaserequisitiontobaccodetails/listPage无法访问"); + } + + @Override + public ResultBean save(PurchaseRequisitionTobaccoDetailsDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/purchaserequisitiontobaccodetails/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/purchaserequisitiontobaccodetails/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/purchaserequisitiontobaccodetails/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsQuery.java new file mode 100644 index 00000000..ac4e6adb --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsQuery.java @@ -0,0 +1,77 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetailsQuery.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetailsQuery
+ * Description: 采购订单表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 查询条件", description = "采购订单表 查询条件") +public class PurchaseRequisitionTobaccoDetailsQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("关联表sid") + private String mainSid; // 关联表sid + @ApiModelProperty("卷烟代码") + private String yCode; // 卷烟代码 + @ApiModelProperty("商品编码") + private String prodCode; // 门店名称编码 + @ApiModelProperty("商品名称") + private String prodName; // 门店名称 + @ApiModelProperty("批发价") + private String pfj; // 批发价 + @ApiModelProperty("要货量") + private String yhl; // 要货量 + @ApiModelProperty("订单量") + private String ddl; // 订单量 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("厂家名称") + private String cjmc; // 厂家名称 + @ApiModelProperty("零售指导价") + private String lszdj; // 零售指导价 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsVo.java new file mode 100644 index 00000000..ecd2f94c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/anrui/portal/api/purchaserequisitiontobaccodetails/PurchaseRequisitionTobaccoDetailsVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.anrui.portal.api.purchaserequisitiontobaccodetails; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: PurchaseRequisitionTobaccoDetailsVo.java
+ * Class: com.yxt.supervise.portal.api.purchaserequisitiontobaccodetails.PurchaseRequisitionTobaccoDetailsVo
+ * Description: 采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-28 11:37:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 视图数据对象", description = "采购订单表 视图数据对象") +public class PurchaseRequisitionTobaccoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("关联表sid") + private String mainSid; // 关联表sid + @ApiModelProperty("卷烟代码") + private String yCode; // 卷烟代码 + @ApiModelProperty("商品编码") + private String prodCode; // 门店名称编码 + @ApiModelProperty("商品名称") + private String prodName; // 门店名称 + @ApiModelProperty("批发价") + private String pfj; // 批发价 + @ApiModelProperty("要货量") + private String yhl; // 要货量 + @ApiModelProperty("订单量") + private String ddl; // 订单量 + @ApiModelProperty("金额") + private String price; // 金额 + @ApiModelProperty("厂家名称") + private String cjmc; // 厂家名称 + @ApiModelProperty("零售指导价") + private String lszdj; // 零售指导价 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfo.java new file mode 100644 index 00000000..e3dd9e26 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfo.java @@ -0,0 +1,60 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfo.java
+ * Class: com.supervise.api.brandinfo.BrandInfo
+ * Description: 品牌信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "品牌信息", description = "品牌信息") +@TableName("brand_info") +public class BrandInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoDetailsVo.java new file mode 100644 index 00000000..e5b47980 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoDetailsVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfoVo.java
+ * Class: com.supervise.api.brandinfo.BrandInfoVo
+ * Description: 品牌信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "品牌信息 视图数据详情", description = "品牌信息 视图数据详情") +public class BrandInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoDto.java new file mode 100644 index 00000000..51d09207 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoDto.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfoDto.java
+ * Class: com.supervise.api.brandinfo.BrandInfoDto
+ * Description: 品牌信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "品牌信息 数据传输对象", description = "品牌信息 数据传输对象") +public class BrandInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoFeign.java new file mode 100644 index 00000000..4c9d0366 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfoFeign.java
+ * Class: com.supervise.api.brandinfo.BrandInfoFeign
+ * Description: 品牌信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "品牌信息") +@FeignClient( + contextId = "yxt-supervise-BrandInfo", + name = "yxt-supervise", + path = "v1/brandinfo", + fallback = BrandInfoFeignFallback.class) +public interface BrandInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody BrandInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoFeignFallback.java new file mode 100644 index 00000000..f21637df --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfoFeignFallback.java
+ * Class: com.supervise.api.brandinfo.BrandInfoFeignFallback
+ * Description: 品牌信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class BrandInfoFeignFallback implements BrandInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/brandinfo/listPage无法访问"); + } + + @Override + public ResultBean save(BrandInfoDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/brandinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/brandinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/brandinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoQuery.java new file mode 100644 index 00000000..038abb04 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoQuery.java @@ -0,0 +1,77 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfoQuery.java
+ * Class: com.supervise.api.brandinfo.BrandInfoQuery
+ * Description: 品牌信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "品牌信息 查询条件", description = "品牌信息 查询条件") +public class BrandInfoQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoVo.java new file mode 100644 index 00000000..d2ff4435 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/brandinfo/BrandInfoVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.brandinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: BrandInfoVo.java
+ * Class: com.supervise.api.brandinfo.BrandInfoVo
+ * Description: 品牌信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "品牌信息 视图数据对象", description = "品牌信息 视图数据对象") +public class BrandInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommon.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommon.java new file mode 100644 index 00000000..1fc83ab9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommon.java @@ -0,0 +1,66 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dictcommon; + +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(宇信通监管)
+ * File: DictCommon.java
+ * Class: com.supervise.api.dictcommon.DictCommon
+ * Description: 数据字典——数据项.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据项", description = "数据字典——数据项") +@TableName("dict_common") +public class DictCommon extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("类型code") + private String dictType; // 类型code + @ApiModelProperty("key值") + private String dictKey; // key值 + @ApiModelProperty("value值") + private String dictValue; // value值 + @ApiModelProperty("路径") + private String sidPath; // 路径 + @ApiModelProperty("父级sid") + private String parentSid; // 父级sid + @ApiModelProperty("分组名称") + private String groupName; // 分组名称 + +} diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonDetailsVo.java similarity index 97% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonDetailsVo.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonDetailsVo.java index e6dd1572..93def413 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonDetailsVo.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonDetailsVo.java @@ -23,7 +23,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.dictcommon; +package com.yxt.supervise.portal.api.dictcommon; import com.yxt.common.core.vo.Vo; diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonDto.java similarity index 97% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonDto.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonDto.java index dada383d..9e13111c 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonDto.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonDto.java @@ -23,7 +23,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.dictcommon; +package com.yxt.supervise.portal.api.dictcommon; import com.yxt.common.core.dto.Dto; diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonFeign.java similarity index 98% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonFeign.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonFeign.java index a851d83d..7e2992ab 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonFeign.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonFeign.java @@ -23,7 +23,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.dictcommon; +package com.yxt.supervise.portal.api.dictcommon; import com.yxt.common.core.query.PagerQuery; import com.yxt.common.core.result.ResultBean; diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonFeignFallback.java similarity index 98% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonFeignFallback.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonFeignFallback.java index b6a1b94c..1ba978b4 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonFeignFallback.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonFeignFallback.java @@ -23,7 +23,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.dictcommon; +package com.yxt.supervise.portal.api.dictcommon; import com.yxt.common.core.query.PagerQuery; import com.yxt.common.core.result.ResultBean; diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonQuery.java similarity index 97% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonQuery.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonQuery.java index 9d8a10b5..3e8cfddd 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonQuery.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonQuery.java @@ -23,7 +23,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.dictcommon; +package com.yxt.supervise.portal.api.dictcommon; import com.yxt.common.core.query.Query; diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonVo.java similarity index 97% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonVo.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonVo.java index 9eecd77b..c54f6278 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/dictcommon/DictCommonVo.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dictcommon/DictCommonVo.java @@ -23,7 +23,7 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.dictcommon; +package com.yxt.supervise.portal.api.dictcommon; import com.yxt.common.core.vo.Vo; diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictType.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictType.java new file mode 100644 index 00000000..9e4dfcd3 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictType.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + +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(宇信通监管)
+ * File: DictType.java
+ * Class: com.supervise.api.dicttype.DictType
+ * Description: 数据字典——数据类型.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型", description = "数据字典——数据类型") +@TableName("dict_type") +public class DictType extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeDetailsVo.java new file mode 100644 index 00000000..cb16cd6d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeDetailsVo.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictTypeVo.java
+ * Class: com.supervise.api.dicttype.DictTypeVo
+ * Description: 数据字典——数据类型 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型 视图数据详情", description = "数据字典——数据类型 视图数据详情") +public class DictTypeDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeDto.java new file mode 100644 index 00000000..92e607a2 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeDto.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictTypeDto.java
+ * Class: com.supervise.api.dicttype.DictTypeDto
+ * Description: 数据字典——数据类型 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型 数据传输对象", description = "数据字典——数据类型 数据传输对象") +public class DictTypeDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeFeign.java new file mode 100644 index 00000000..9c5c7920 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeFeign.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + +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(宇信通监管)
+ * File: DictTypeFeign.java
+ * Class: com.supervise.api.dicttype.DictTypeFeign
+ * Description: 数据字典——数据类型.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "数据字典——数据类型") +@FeignClient( + contextId = "yxt-supervise-DictType", + name = "yxt-supervise", + path = "v1/dicttype", + fallback = DictTypeFeignFallback.class) +public interface DictTypeFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody DictTypeDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeFeignFallback.java new file mode 100644 index 00000000..c3653fde --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeFeignFallback.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + +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(宇信通监管)
+ * File: DictTypeFeignFallback.java
+ * Class: com.supervise.api.dicttype.DictTypeFeignFallback
+ * Description: 数据字典——数据类型.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class DictTypeFeignFallback implements DictTypeFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/dicttype/listPage无法访问"); + } + + @Override + public ResultBean save(DictTypeDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/dicttype/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/dicttype/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/dicttype/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeQuery.java new file mode 100644 index 00000000..96fd6b26 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeQuery.java @@ -0,0 +1,60 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictTypeQuery.java
+ * Class: com.supervise.api.dicttype.DictTypeQuery
+ * Description: 数据字典——数据类型 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型 查询条件", description = "数据字典——数据类型 查询条件") +public class DictTypeQuery implements Query { + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeVo.java new file mode 100644 index 00000000..633e19ec --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/dicttype/DictTypeVo.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.dicttype; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictTypeVo.java
+ * Class: com.supervise.api.dicttype.DictTypeVo
+ * Description: 数据字典——数据类型 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型 视图数据对象", description = "数据字典——数据类型 视图数据对象") +public class DictTypeVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReport.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReport.java new file mode 100644 index 00000000..e50cda5b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReport.java @@ -0,0 +1,18 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/14 11:08 + */ +@Data +@ApiModel(value = "销售信息", description = "销售信息") +@TableName("gd_sales_gd") +public class GdSalesReport extends BaseEntity { + private String storeName; + private String salesVolume; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportFeign.java new file mode 100644 index 00000000..23e3c2ff --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportFeign.java @@ -0,0 +1,52 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +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.kfpurchaserequisitionpro.KfPurchaseRequisitionProFeignFallback; +import com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProQuery; +import com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProVo; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/4/23 16:11 + */ +@Api(tags = "销售商品信息") +@FeignClient( + contextId = "yxt-supervise-gdsalesreport", + name = "yxt-supervise", + path = "v1/gdsalesreport", + fallback = GdSalesReportFeignFalback.class) +public interface GdSalesReportFeign { + + @ApiOperation("查询门店销售信息") + @PostMapping("/getAllStoreSalesReport") + @ResponseBody + public List getAllStoreSalesReport(@RequestBody PagerQuery pq); + + + @ApiOperation("查询门店商品销售信息") + @PostMapping("/getAllGoodsSalesReport") + @ResponseBody + public List getAllGoodsSalesReport(@RequestBody PagerQuery pq); + + + @ApiOperation("查询门店烟草销售信息") + @PostMapping("/StoreSalesYcReportExcelVo") + @ResponseBody + public List StoreSalesYcReportExcelVo(@RequestBody PagerQuery pq); + + + @ApiOperation("查询门店烟草商品销售信息") + @PostMapping("/GoodsSalesReportYcExcelVo") + @ResponseBody + public List GoodsSalesReportYcExcelVo(@RequestBody PagerQuery pq); +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportFeignFalback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportFeignFalback.java new file mode 100644 index 00000000..45a9dc3c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportFeignFalback.java @@ -0,0 +1,37 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +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.kfpurchaserequisitionpro.KfPurchaseRequisitionProQuery; +import com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProVo; +import org.springframework.stereotype.Component; + +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/4/23 16:12 + */ +@Component +public class GdSalesReportFeignFalback implements GdSalesReportFeign{ + @Override + public List getAllStoreSalesReport(PagerQuery pq) { + return null; + } + + @Override + public List getAllGoodsSalesReport(PagerQuery pq) { + return null; + } + + @Override + public List StoreSalesYcReportExcelVo(PagerQuery pq) { + return null; + } + + @Override + public List GoodsSalesReportYcExcelVo(PagerQuery pq) { + return null; + } +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportQuery.java new file mode 100644 index 00000000..3c45d9b1 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/14 11:10 + */ +@Data +public class GdSalesReportQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportVo.java new file mode 100644 index 00000000..4b1fac6e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GdSalesReportVo.java @@ -0,0 +1,32 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/14 11:10 + */ +@Data +public class GdSalesReportVo implements Vo { + private String id; + @ApiModelProperty("渠道") + private String storeName; + private String salesVolume; + @ApiModelProperty("商品名") + private String prodName; + @ApiModelProperty("数量") + private String saleNum; + @ApiModelProperty("价格") + private String salePrice; + @ApiModelProperty("总计") + private String total; + @ApiModelProperty("类型") + private String orderType; + @ApiModelProperty("销售订单号") + private String orderNo; + @ApiModelProperty("商品编码") + private String prodCode; + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GoodsSalesReportExcelVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GoodsSalesReportExcelVo.java new file mode 100644 index 00000000..b67ea769 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/GoodsSalesReportExcelVo.java @@ -0,0 +1,25 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/4/17 9:07 + */ +@Data +public class GoodsSalesReportExcelVo implements Vo { + private String serialNumber; + private String prodName; + private String storeName; + private String saleNum; + private String salePrice; + private BigDecimal total; + private String orderType; + private String orderNo; + private String prodCode; + + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/MyHandler.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/MyHandler.java new file mode 100644 index 00000000..5a82b228 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/MyHandler.java @@ -0,0 +1,87 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + + +import com.alibaba.excel.metadata.Head; +import com.alibaba.excel.write.merge.AbstractMergeStrategy; +import org.apache.poi.ss.usermodel.*; +import org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.ss.util.RegionUtil; +import java.util.List; + +/** + * 合并单元格处理类 + */ +public class MyHandler extends AbstractMergeStrategy { + + + /** + * 合并开始行 + */ + private Integer startRow = 0; + /** + * list表格所有的合并列集合 + */ + private List cellRangeAddressList = null; + + public MyHandler() { + } + + public MyHandler(int startRow, List cellRangeAddressList) { + this.startRow = startRow; + this.cellRangeAddressList = cellRangeAddressList; + } + + @Override + protected void merge(Sheet sheet, Cell cell, Head head, Integer relativeRowIndex) { + // 设置样式 + CellStyle cellStyle = cell.getCellStyle(); + //水平居中 + cellStyle.setAlignment(HorizontalAlignment.CENTER); + //自动换行 + cellStyle.setWrapText(true); + //在这里判断从哪一行开始调用合并的方法 + if (cell.getRowIndex() > this.startRow) { + if (relativeRowIndex == null || relativeRowIndex == 0) { + return; + } + mergeColumn(sheet, cell, head, relativeRowIndex); + } + } + + /** + * 合并单元格 + * + * @param sheet + * @param cell + * @param head + * @param relativeRowIndex + */ + protected void mergeColumn(Sheet sheet, Cell cell, Head head, Integer relativeRowIndex) { + int rowIndex = cell.getRowIndex(); + int colIndex = cell.getColumnIndex(); + sheet = cell.getSheet(); + // 获取前一行 + Row preRow = sheet.getRow(rowIndex - 1); + //获取前一列 + Cell preCell = preRow.getCell(colIndex); + List list = this.cellRangeAddressList; + for (int i = 0; i < list.size(); i++) { + CellRangeAddress cellRangeAddress = list.get(i); + if (cellRangeAddress.containsColumn(preCell.getColumnIndex())) { + int lastColIndex = cellRangeAddress.getLastColumn(); + int firstColIndex = cellRangeAddress.getFirstColumn(); + CellRangeAddress cra = new CellRangeAddress(cell.getRowIndex(), cell.getRowIndex(), firstColIndex, lastColIndex); + sheet.addMergedRegion(cra); + // 加边框 + RegionUtil.setBorderBottom(BorderStyle.THIN, cra, sheet); + RegionUtil.setBorderLeft(BorderStyle.THIN, cra, sheet); + RegionUtil.setBorderRight(BorderStyle.THIN, cra, sheet); + RegionUtil.setBorderTop(BorderStyle.THIN, cra, sheet); + return; + } + } + + } + + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/StoreSalesReportExcelVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/StoreSalesReportExcelVo.java new file mode 100644 index 00000000..7a8d268d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/StoreSalesReportExcelVo.java @@ -0,0 +1,29 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +import com.alibaba.excel.annotation.ExcelProperty; +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/4/17 9:03 + */ +@Data +public class StoreSalesReportExcelVo implements Vo { +// private String id; + private String serialNumber; + @ExcelProperty(value = "渠道") + @ApiModelProperty("渠道") + private String storeName; + @ExcelProperty(value = "销售额") + @ApiModelProperty("销售额") + private BigDecimal salesVolume; + //@ApiModelProperty("渠道数量") + //private String storeNum; + private String sum; + private String date; + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/TotalSales.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/TotalSales.java new file mode 100644 index 00000000..b334cbaf --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/gdsalesreport/TotalSales.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.portal.api.gdsalesreport; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/17 18:03 + */ +@Data +public class TotalSales { + private String sum; + private String date; + private String storeNum; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformation.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformation.java new file mode 100644 index 00000000..c3969da0 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformation.java @@ -0,0 +1,83 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + +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(宇信通监管)
+ * File: InventoryInformation.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformation
+ * Description: 台账信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "台账信息", description = "台账信息") +@TableName("inventory_information") +public class InventoryInformation extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("仓库编码") + private String warehouseCode; // 仓库编码 + @ApiModelProperty("仓库名称") + private String warehouseName; // 仓库名称 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("仓库类型") + private String warehouseType; // 仓库类型 + @ApiModelProperty("商品数量") + private String prodNum; // 商品数量 + @ApiModelProperty("商品货值") + private String prodValue; // 商品货值 + @ApiModelProperty("供应商") + private String suppliderSid; // 供应商 + @ApiModelProperty("供应商") + private String suppliderName; // 供应商 + @ApiModelProperty("新的库存数") + private String newInventory;//新的库存数 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("新的货值") + private String newValue;//新的货值 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("偏差数量") + private String deviations;//偏差数量 维护盘库后与系统中偏差的数值 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationDetailsVo.java new file mode 100644 index 00000000..4a4ea8fd --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationDetailsVo.java @@ -0,0 +1,83 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: InventoryInformationVo.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformationVo
+ * Description: 台账信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "台账信息 视图数据详情", description = "台账信息 视图数据详情") +public class InventoryInformationDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("仓库编码") + private String warehouseCode; // 仓库编码 + @ApiModelProperty("仓库名称") + private String warehouseName; // 仓库名称 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("仓库类型") + private String warehouseType; // 仓库类型 + @ApiModelProperty("商品数量") + private String prodNum; // 商品数量 + @ApiModelProperty("商品货值") + private String prodValue; // 商品货值 + @ApiModelProperty("供应商") + private String suppliderSid; // 供应商 + @ApiModelProperty("新的库存数") + private String newInventory;//新的库存数 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("新的货值") + private String newValue;//新的货值 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("偏差数量") + private String deviations;//偏差数量 维护盘库后与系统中偏差的数值 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationDto.java new file mode 100644 index 00000000..9a8d5c05 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationDto.java @@ -0,0 +1,82 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: InventoryInformationDto.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformationDto
+ * Description: 台账信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "台账信息 数据传输对象", description = "台账信息 数据传输对象") +public class InventoryInformationDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("仓库编码") + private String warehouseCode; // 仓库编码 + @ApiModelProperty("仓库名称") + private String warehouseName; // 仓库名称 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("仓库类型") + private String warehouseType; // 仓库类型 + @ApiModelProperty("商品数量") + private String prodNum; // 商品数量 + @ApiModelProperty("商品货值") + private String prodValue; // 商品货值 + @ApiModelProperty("供应商") + private String suppliderSid; // 供应商 + @ApiModelProperty("新的库存数") + private String newInventory;//新的库存数 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("新的货值") + private String newValue;//新的货值 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("偏差数量") + private String deviations;//偏差数量 维护盘库后与系统中偏差的数值 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationFeign.java new file mode 100644 index 00000000..e1ac49a2 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: InventoryInformationFeign.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformationFeign
+ * Description: 台账信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "台账信息") +@FeignClient( + contextId = "yxt-supervise-InventoryInformation", + name = "yxt-supervise", + path = "v1/inventoryinformation", + fallback = InventoryInformationFeignFallback.class) +public interface InventoryInformationFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody InventoryInformationDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationFeignFallback.java new file mode 100644 index 00000000..1561cf8c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + +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; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: InventoryInformationFeignFallback.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformationFeignFallback
+ * Description: 台账信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class InventoryInformationFeignFallback implements InventoryInformationFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/inventoryinformation/listPage无法访问"); + } + + @Override + public ResultBean save(InventoryInformationDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/inventoryinformation/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/inventoryinformation/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/inventoryinformation/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationQuery.java new file mode 100644 index 00000000..5b7d70ab --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationQuery.java @@ -0,0 +1,80 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: InventoryInformationQuery.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformationQuery
+ * Description: 台账信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "台账信息 查询条件", description = "台账信息 查询条件") +public class InventoryInformationQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("仓库编码") + private String warehouseCode; // 仓库编码 + @ApiModelProperty("仓库名称") + private String warehouseName; // 仓库名称 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("仓库类型") + private String warehouseType; // 仓库类型 + @ApiModelProperty("商品数量") + private String prodNum; // 商品数量 + @ApiModelProperty("商品货值") + private String prodValue; // 商品货值 + @ApiModelProperty("供应商") + private String suppliderSid; // 供应商 + @ApiModelProperty("新的库存数") + private String newInventory;//新的库存数 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("新的货值") + private String newValue;//新的货值 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("偏差数量") + private String deviations;//偏差数量 维护盘库后与系统中偏差的数值 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationVo.java new file mode 100644 index 00000000..455f4442 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/inventoryinformation/InventoryInformationVo.java @@ -0,0 +1,82 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.inventoryinformation; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: InventoryInformationVo.java
+ * Class: com.yxt.supervise.api.inventoryinformation.InventoryInformationVo
+ * Description: 台账信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-21 15:10:46
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "台账信息 视图数据对象", description = "台账信息 视图数据对象") +public class InventoryInformationVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("仓库编码") + private String warehouseCode; // 仓库编码 + @ApiModelProperty("仓库名称") + private String warehouseName; // 仓库名称 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("仓库类型") + private String warehouseType; // 仓库类型 + @ApiModelProperty("商品数量") + private String prodNum; // 商品数量 + @ApiModelProperty("商品货值") + private String prodValue; // 商品货值 + @ApiModelProperty("供应商") + private String suppliderSid; // 供应商 + @ApiModelProperty("新的库存数") + private String newInventory;//新的库存数 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("新的货值") + private String newValue;//新的货值 根据入库单 出库单、销售数据进行维护的 + @ApiModelProperty("偏差数量") + private String deviations;//偏差数量 维护盘库后与系统中偏差的数值 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisition.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisition.java new file mode 100644 index 00000000..69ce0388 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisition.java @@ -0,0 +1,94 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + +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(宇信通监管)
+ * File: KfPurchaseRequisition.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisition
+ * Description: 库房提供的采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房提供的采购订单表", description = "库房提供的采购订单表") +@TableName("kf_purchase_requisition") +public class KfPurchaseRequisition extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("新的订单编号") + private String newCode; // 新的订单编号 + @ApiModelProperty("旧的订单编号") + private String oldCode; // 旧的订单编号 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionDetailsVo.java new file mode 100644 index 00000000..34016013 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionDetailsVo.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionVo.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisitionVo
+ * Description: 库房提供的采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房提供的采购订单表 视图数据详情", description = "库房提供的采购订单表 视图数据详情") +public class KfPurchaseRequisitionDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("新的订单编号") + private String newCode; // 新的订单编号 + @ApiModelProperty("旧的订单编号") + private String oldCode; // 旧的订单编号 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionDto.java new file mode 100644 index 00000000..e059a980 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionDto.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionDto.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisitionDto
+ * Description: 库房提供的采购订单表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房提供的采购订单表 数据传输对象", description = "库房提供的采购订单表 数据传输对象") +public class KfPurchaseRequisitionDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("新的订单编号") + private String newCode; // 新的订单编号 + @ApiModelProperty("旧的订单编号") + private String oldCode; // 旧的订单编号 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionFeign.java new file mode 100644 index 00000000..2c4a9d04 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionFeign.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisitionFeign
+ * Description: 库房提供的采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "库房提供的采购订单表") +@FeignClient( + contextId = "yxt-supervise-KfPurchaseRequisition", + name = "yxt-supervise", + path = "v1/kfpurchaserequisition", + fallback = KfPurchaseRequisitionFeignFallback.class) +public interface KfPurchaseRequisitionFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody KfPurchaseRequisitionDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionFeignFallback.java new file mode 100644 index 00000000..e80e9a12 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + +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; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisitionFeignFallback
+ * Description: 库房提供的采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class KfPurchaseRequisitionFeignFallback implements KfPurchaseRequisitionFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/kfpurchaserequisition/listPage无法访问"); + } + + @Override + public ResultBean save(KfPurchaseRequisitionDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/kfpurchaserequisition/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/kfpurchaserequisition/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/kfpurchaserequisition/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionQuery.java new file mode 100644 index 00000000..dd9b6ff1 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionQuery.java @@ -0,0 +1,93 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionQuery.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisitionQuery
+ * Description: 库房提供的采购订单表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房提供的采购订单表 查询条件", description = "库房提供的采购订单表 查询条件") +public class KfPurchaseRequisitionQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("新的订单编号") + private String newCode; // 新的订单编号 + @ApiModelProperty("旧的订单编号") + private String oldCode; // 旧的订单编号 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionVo.java new file mode 100644 index 00000000..a044218d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisition/KfPurchaseRequisitionVo.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisition; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionVo.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisition.KfPurchaseRequisitionVo
+ * Description: 库房提供的采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房提供的采购订单表 视图数据对象", description = "库房提供的采购订单表 视图数据对象") +public class KfPurchaseRequisitionVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期(填单日期)") + private String purchaseDate; // 采购日期(填单日期) + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称(默认36524集团)") + private String purchasingOrgName; // 采购组织名称(默认36524集团) + @ApiModelProperty("采购组织编码(36524)") + private String purchasingOrgCode; // 采购组织编码(36524) + @ApiModelProperty("采购部门名称(默认生活通)") + private String purchasingDeptCode; // 采购部门名称(默认生活通) + @ApiModelProperty("采购部门编码(默认生活通编码)") + private String purchasingDeptName; // 采购部门编码(默认生活通编码) + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称(和供应商相同)") + private String logisticsCompanyName; // 物流公司名称(和供应商相同) + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition; // 仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode; // 仓位code + @ApiModelProperty("新的订单编号") + private String newCode; // 新的订单编号 + @ApiModelProperty("旧的订单编号") + private String oldCode; // 旧的订单编号 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionPro.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionPro.java new file mode 100644 index 00000000..ff3e9157 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionPro.java @@ -0,0 +1,100 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + +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(宇信通监管)
+ * File: KfPurchaseRequisitionPro.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionPro
+ * Description: 库房采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房采购订单商品信息", description = "库房采购订单商品信息") +@TableName("kf_purchase_requisition_pro") +public class KfPurchaseRequisitionPro extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号(来自商品档案中的规格型号)") + private String content; // 规格型号(来自商品档案中的规格型号) + @ApiModelProperty("数量(对应采购订单中的数量)") + private String number; // 数量(对应采购订单中的数量) + @ApiModelProperty("包装数量(对应采购订单包装数量,作废以后不用这个字段了)") + private String packageNumber; // 包装数量(对应采购订单包装数量,作废以后不用这个字段了) + @ApiModelProperty("包内数量(对应采购订单中的规格)") + private String packageInsideNumber; // 包内数量(对应采购订单中的规格) + @ApiModelProperty("包装规格(对应采购订单中的包装)") + private String packageSpec; // 包装规格(对应采购订单中的包装) + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)(对应采购订单中的送货价)") + private String packagePrice; // 包装价格(元)(对应采购订单中的送货价) + @ApiModelProperty("包合计(元)(对应采购订单中的送货金额)") + private String packageTotalPrice; // 包合计(元)(对应采购订单中的送货金额) + @ApiModelProperty("单价(元)(进货价/规格=单价)") + private String unitPrice; // 单价(元)(进货价/规格=单价) + @ApiModelProperty("含税单价(元)(含税金额/包装数量或者规格价)") + private String unitPriceTax; // 含税单价(元)(含税金额/包装数量或者规格价) + @ApiModelProperty("合计(元)(单价*数量=订货金额)") + private String totalPrice; // 合计(元)(单价*数量=订货金额) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称(来自商品档案中的品牌)") + private String brand; // 品牌名称(来自商品档案中的品牌) + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("零售金额(对应采购订单中的零售金额)") + private String retailAmount; // 零售金额(对应采购订单中的零售金额) + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProDetailsVo.java new file mode 100644 index 00000000..22e44ce0 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProDetailsVo.java @@ -0,0 +1,101 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionProVo.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProVo
+ * Description: 库房采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:41
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房采购订单商品信息 视图数据详情", description = "库房采购订单商品信息 视图数据详情") +public class KfPurchaseRequisitionProDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号(来自商品档案中的规格型号)") + private String content; // 规格型号(来自商品档案中的规格型号) + @ApiModelProperty("数量(对应采购订单中的数量)") + private String number; // 数量(对应采购订单中的数量) + @ApiModelProperty("包装数量(对应采购订单包装数量,作废以后不用这个字段了)") + private String packageNumber; // 包装数量(对应采购订单包装数量,作废以后不用这个字段了) + @ApiModelProperty("包内数量(对应采购订单中的规格)") + private String packageInsideNumber; // 包内数量(对应采购订单中的规格) + @ApiModelProperty("包装规格(对应采购订单中的包装)") + private String packageSpec; // 包装规格(对应采购订单中的包装) + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)(对应采购订单中的送货价)") + private String packagePrice; // 包装价格(元)(对应采购订单中的送货价) + @ApiModelProperty("包合计(元)(对应采购订单中的送货金额)") + private String packageTotalPrice; // 包合计(元)(对应采购订单中的送货金额) + @ApiModelProperty("单价(元)(进货价/规格=单价)") + private String unitPrice; // 单价(元)(进货价/规格=单价) + @ApiModelProperty("含税单价(元)(含税金额/包装数量或者规格价)") + private String unitPriceTax; // 含税单价(元)(含税金额/包装数量或者规格价) + @ApiModelProperty("合计(元)(单价*数量=订货金额)") + private String totalPrice; // 合计(元)(单价*数量=订货金额) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称(来自商品档案中的品牌)") + private String brand; // 品牌名称(来自商品档案中的品牌) + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("零售金额(对应采购订单中的零售金额)") + private String retailAmount; // 零售金额(对应采购订单中的零售金额) + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProDto.java new file mode 100644 index 00000000..446d46f0 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProDto.java @@ -0,0 +1,101 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionProDto.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProDto
+ * Description: 库房采购订单商品信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:41
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房采购订单商品信息 数据传输对象", description = "库房采购订单商品信息 数据传输对象") +public class KfPurchaseRequisitionProDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号(来自商品档案中的规格型号)") + private String content; // 规格型号(来自商品档案中的规格型号) + @ApiModelProperty("数量(对应采购订单中的数量)") + private String number; // 数量(对应采购订单中的数量) + @ApiModelProperty("包装数量(对应采购订单包装数量,作废以后不用这个字段了)") + private String packageNumber; // 包装数量(对应采购订单包装数量,作废以后不用这个字段了) + @ApiModelProperty("包内数量(对应采购订单中的规格)") + private String packageInsideNumber; // 包内数量(对应采购订单中的规格) + @ApiModelProperty("包装规格(对应采购订单中的包装)") + private String packageSpec; // 包装规格(对应采购订单中的包装) + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)(对应采购订单中的送货价)") + private String packagePrice; // 包装价格(元)(对应采购订单中的送货价) + @ApiModelProperty("包合计(元)(对应采购订单中的送货金额)") + private String packageTotalPrice; // 包合计(元)(对应采购订单中的送货金额) + @ApiModelProperty("单价(元)(进货价/规格=单价)") + private String unitPrice; // 单价(元)(进货价/规格=单价) + @ApiModelProperty("含税单价(元)(含税金额/包装数量或者规格价)") + private String unitPriceTax; // 含税单价(元)(含税金额/包装数量或者规格价) + @ApiModelProperty("合计(元)(单价*数量=订货金额)") + private String totalPrice; // 合计(元)(单价*数量=订货金额) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称(来自商品档案中的品牌)") + private String brand; // 品牌名称(来自商品档案中的品牌) + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("零售金额(对应采购订单中的零售金额)") + private String retailAmount; // 零售金额(对应采购订单中的零售金额) + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProFeign.java new file mode 100644 index 00000000..845ca49f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionProFeign.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProFeign
+ * Description: 库房采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:41
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "库房采购订单商品信息") +@FeignClient( + contextId = "yxt-supervise-KfPurchaseRequisitionPro", + name = "yxt-supervise", + path = "v1/kfpurchaserequisitionpro", + fallback = KfPurchaseRequisitionProFeignFallback.class) +public interface KfPurchaseRequisitionProFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody KfPurchaseRequisitionProDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProFeignFallback.java new file mode 100644 index 00000000..df4aa63d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + +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; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionProFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProFeignFallback
+ * Description: 库房采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:41
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class KfPurchaseRequisitionProFeignFallback implements KfPurchaseRequisitionProFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/kfpurchaserequisitionpro/listPage无法访问"); + } + + @Override + public ResultBean save(KfPurchaseRequisitionProDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/kfpurchaserequisitionpro/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/kfpurchaserequisitionpro/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/kfpurchaserequisitionpro/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProQuery.java new file mode 100644 index 00000000..1f56773d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProQuery.java @@ -0,0 +1,99 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionProQuery.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProQuery
+ * Description: 库房采购订单商品信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:41
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房采购订单商品信息 查询条件", description = "库房采购订单商品信息 查询条件") +public class KfPurchaseRequisitionProQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号(来自商品档案中的规格型号)") + private String content; // 规格型号(来自商品档案中的规格型号) + @ApiModelProperty("数量(对应采购订单中的数量)") + private String number; // 数量(对应采购订单中的数量) + @ApiModelProperty("包装数量(对应采购订单包装数量,作废以后不用这个字段了)") + private String packageNumber; // 包装数量(对应采购订单包装数量,作废以后不用这个字段了) + @ApiModelProperty("包内数量(对应采购订单中的规格)") + private String packageInsideNumber; // 包内数量(对应采购订单中的规格) + @ApiModelProperty("包装规格(对应采购订单中的包装)") + private String packageSpec; // 包装规格(对应采购订单中的包装) + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)(对应采购订单中的送货价)") + private String packagePrice; // 包装价格(元)(对应采购订单中的送货价) + @ApiModelProperty("包合计(元)(对应采购订单中的送货金额)") + private String packageTotalPrice; // 包合计(元)(对应采购订单中的送货金额) + @ApiModelProperty("单价(元)(进货价/规格=单价)") + private String unitPrice; // 单价(元)(进货价/规格=单价) + @ApiModelProperty("含税单价(元)(含税金额/包装数量或者规格价)") + private String unitPriceTax; // 含税单价(元)(含税金额/包装数量或者规格价) + @ApiModelProperty("合计(元)(单价*数量=订货金额)") + private String totalPrice; // 合计(元)(单价*数量=订货金额) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称(来自商品档案中的品牌)") + private String brand; // 品牌名称(来自商品档案中的品牌) + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("零售金额(对应采购订单中的零售金额)") + private String retailAmount; // 零售金额(对应采购订单中的零售金额) + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProVo.java new file mode 100644 index 00000000..90bf53dc --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/kfpurchaserequisitionpro/KfPurchaseRequisitionProVo.java @@ -0,0 +1,101 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.kfpurchaserequisitionpro; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: KfPurchaseRequisitionProVo.java
+ * Class: com.yxt.supervise.portal.api.kfpurchaserequisitionpro.KfPurchaseRequisitionProVo
+ * Description: 库房采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-07 16:24:41
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "库房采购订单商品信息 视图数据对象", description = "库房采购订单商品信息 视图数据对象") +public class KfPurchaseRequisitionProVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号(来自商品档案中的规格型号)") + private String content; // 规格型号(来自商品档案中的规格型号) + @ApiModelProperty("数量(对应采购订单中的数量)") + private String number; // 数量(对应采购订单中的数量) + @ApiModelProperty("包装数量(对应采购订单包装数量,作废以后不用这个字段了)") + private String packageNumber; // 包装数量(对应采购订单包装数量,作废以后不用这个字段了) + @ApiModelProperty("包内数量(对应采购订单中的规格)") + private String packageInsideNumber; // 包内数量(对应采购订单中的规格) + @ApiModelProperty("包装规格(对应采购订单中的包装)") + private String packageSpec; // 包装规格(对应采购订单中的包装) + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)(对应采购订单中的送货价)") + private String packagePrice; // 包装价格(元)(对应采购订单中的送货价) + @ApiModelProperty("包合计(元)(对应采购订单中的送货金额)") + private String packageTotalPrice; // 包合计(元)(对应采购订单中的送货金额) + @ApiModelProperty("单价(元)(进货价/规格=单价)") + private String unitPrice; // 单价(元)(进货价/规格=单价) + @ApiModelProperty("含税单价(元)(含税金额/包装数量或者规格价)") + private String unitPriceTax; // 含税单价(元)(含税金额/包装数量或者规格价) + @ApiModelProperty("合计(元)(单价*数量=订货金额)") + private String totalPrice; // 合计(元)(单价*数量=订货金额) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称(来自商品档案中的品牌)") + private String brand; // 品牌名称(来自商品档案中的品牌) + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("零售金额(对应采购订单中的零售金额)") + private String retailAmount; // 零售金额(对应采购订单中的零售金额) + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompany.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompany.java new file mode 100644 index 00000000..69910b2b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompany.java @@ -0,0 +1,68 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + +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: 宇信通监管(宇信通监管)
+ * File: LogisticsCompany.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompany
+ * Description: 物流公司信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "物流公司信息", description = "物流公司信息") +@TableName("logistics_company") +public class LogisticsCompany extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyDetailsVo.java new file mode 100644 index 00000000..7bdc0840 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyDetailsVo.java @@ -0,0 +1,69 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: LogisticsCompanyVo.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompanyVo
+ * Description: 物流公司信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "物流公司信息 视图数据详情", description = "物流公司信息 视图数据详情") +public class LogisticsCompanyDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyDto.java new file mode 100644 index 00000000..8dba2f82 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyDto.java @@ -0,0 +1,69 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: LogisticsCompanyDto.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompanyDto
+ * Description: 物流公司信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "物流公司信息 数据传输对象", description = "物流公司信息 数据传输对象") +public class LogisticsCompanyDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyFeign.java new file mode 100644 index 00000000..80d3103e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: LogisticsCompanyFeign.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompanyFeign
+ * Description: 物流公司信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "物流公司信息") +@FeignClient( + contextId = "LogisticsCompany", + name = "yxt-supervise", + path = "v1/logisticscompany", + fallback = LogisticsCompanyFeignFallback.class) +public interface LogisticsCompanyFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody LogisticsCompanyDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyFeignFallback.java new file mode 100644 index 00000000..319af846 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + +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; + +import java.util.List; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: LogisticsCompanyFeignFallback.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompanyFeignFallback
+ * Description: 物流公司信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class LogisticsCompanyFeignFallback implements LogisticsCompanyFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口宇信通监管/logisticscompany/listPage无法访问"); + } + + @Override + public ResultBean save(LogisticsCompanyDto dto){ + return ResultBean.fireFail().setMsg("接口宇信通监管/logisticscompany/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口宇信通监管/logisticscompany/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口宇信通监管/logisticscompany/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyQuery.java new file mode 100644 index 00000000..287e64c7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyQuery.java @@ -0,0 +1,67 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: LogisticsCompanyQuery.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompanyQuery
+ * Description: 物流公司信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "物流公司信息 查询条件", description = "物流公司信息 查询条件") +public class LogisticsCompanyQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyVo.java new file mode 100644 index 00000000..bfbfe4e9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/logisticscompany/LogisticsCompanyVo.java @@ -0,0 +1,69 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.logisticscompany; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: LogisticsCompanyVo.java
+ * Class: com.yxt.supervise.api.logisticscompany.LogisticsCompanyVo
+ * Description: 物流公司信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "物流公司信息 视图数据对象", description = "物流公司信息 视图数据对象") +public class LogisticsCompanyVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfo.java new file mode 100644 index 00000000..bdbe561e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfo.java @@ -0,0 +1,66 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.manufacturerinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ManufacturerInfo.java
+ * Class: com.supervise.api.manufacturerinfo.ManufacturerInfo
+ * Description: 厂商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "厂商信息", description = "厂商信息") +@TableName("manufacturer_info") +public class ManufacturerInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoDetailsVo.java similarity index 98% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoDetailsVo.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoDetailsVo.java index 726524d9..8871b52c 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoDetailsVo.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoDetailsVo.java @@ -23,17 +23,17 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.manufacturerinfo; +package com.yxt.supervise.portal.api.manufacturerinfo; -import com.fasterxml.jackson.annotation.JsonFormat; import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import java.util.Date; - /** * Project: yxt_supervise(宇信通监管)
* File: ManufacturerInfoVo.java
diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoDto.java similarity index 98% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoDto.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoDto.java index 60bca73e..3fbe39de 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoDto.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoDto.java @@ -23,17 +23,17 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.manufacturerinfo; +package com.yxt.supervise.portal.api.manufacturerinfo; -import com.fasterxml.jackson.annotation.JsonFormat; import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import java.util.Date; - /** * Project: yxt_supervise(宇信通监管)
* File: ManufacturerInfoDto.java
diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoFeign.java similarity index 97% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoFeign.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoFeign.java index 4c2ec4e1..d52138ae 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoFeign.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoFeign.java @@ -23,16 +23,18 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.manufacturerinfo; +package com.yxt.supervise.portal.api.manufacturerinfo; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; 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.*; +import java.util.List; + /** * Project: yxt_supervise(宇信通监管)
* File: ManufacturerInfoFeign.java
diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoFeignFallback.java similarity index 97% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoFeignFallback.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoFeignFallback.java index 1ed5b3da..2b937955 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoFeignFallback.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoFeignFallback.java @@ -23,13 +23,15 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.manufacturerinfo; +package com.yxt.supervise.portal.api.manufacturerinfo; 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; +import java.util.List; + /** * Project: yxt_supervise(宇信通监管)
* File: ManufacturerInfoFeignFallback.java
diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoQuery.java similarity index 98% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoQuery.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoQuery.java index ceba9917..906c93ca 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoQuery.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoQuery.java @@ -23,17 +23,17 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.manufacturerinfo; +package com.yxt.supervise.portal.api.manufacturerinfo; -import com.fasterxml.jackson.annotation.JsonFormat; import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import java.util.Date; - /** * Project: yxt_supervise(宇信通监管)
* File: ManufacturerInfoQuery.java
diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoVo.java similarity index 98% rename from yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoVo.java rename to yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoVo.java index b6e9cd13..4cc97b54 100644 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/feign/manufacturerinfo/ManufacturerInfoVo.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/manufacturerinfo/ManufacturerInfoVo.java @@ -23,17 +23,17 @@ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* *********************************************************/ -package com.yxt.supervise.supplychain.feign.manufacturerinfo; +package com.yxt.supervise.portal.api.manufacturerinfo; -import com.fasterxml.jackson.annotation.JsonFormat; import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; -import java.util.Date; - /** * Project: yxt_supervise(宇信通监管)
* File: ManufacturerInfoVo.java
diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformation.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformation.java new file mode 100644 index 00000000..e2dbf308 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformation.java @@ -0,0 +1,156 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformation.java
+ * Class: com.supervise.api.productinformation.ProductInformation
+ * Description: 商品档案信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品档案信息", description = "商品档案信息") +@TableName("product_information") +public class ProductInformation extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("含量") + private String content; // 含量 + @ApiModelProperty("类别") + private String category; // 类别 + @ApiModelProperty("类别key") + private String categoryKey; // 类别key + @ApiModelProperty("规格单位") + private String unit; // 规格单位 + @ApiModelProperty("制造厂") + private String manufacturer; // 制造厂 + @ApiModelProperty("制造厂sid") + private String manufacturerSid; // 制造厂sid + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("品牌sid") + private String brandSid; // 品牌sid + @ApiModelProperty("产地") + private String placeOfOrigin; // 产地 + @ApiModelProperty("等级") + private String grade; // 等级 + @ApiModelProperty("等级key") + private String gradeKey; // 等级key + @ApiModelProperty("保质期") + private String qualityGuaranteePeriod; // 保质期 + @ApiModelProperty("部门") + private String deptartment; // 部门 + @ApiModelProperty("货架") + private String goodsShelves; // 货架 + @ApiModelProperty("货架code") + private String goodsShelvesCode; // 货架code + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("毛利率") + private String grossProfitMargin; // 毛利率 + @ApiModelProperty("采购员") + private String buyer; // 采购员 + @ApiModelProperty("核算售价") + private String accountingSalesPrice; // 核算售价 + @ApiModelProperty("最新进价(系统中导出的)") + private String latestPurchasePrice; // 最新进价 + @ApiModelProperty("库存价") + private String inventoryPrice; // 库存价 + @ApiModelProperty("合同进价") + private String contractPurchasePrice; // 合同进价 + @ApiModelProperty("会员价") + private String membershipPrice; // 会员价 + @ApiModelProperty("进项税率") + private String inputTaxRate; // 进项税率 + @ApiModelProperty("销项税率") + private String outputTaxRate; // 销项税率 + @ApiModelProperty("仓位") + private String position; // 仓位 + @ApiModelProperty("仓位code") + private String positionCode; // 仓位code + @ApiModelProperty("结算供应商") + private String supplier; // 结算供应商 + @ApiModelProperty("结算供应商Sid") + private String supplierSid; // 结算供应商Sid + @ApiModelProperty("配货方式") + private String distributionMethod; // 配货方式 + @ApiModelProperty("配货方式Key") + private String distributionMethodKey; // 配货方式Key + @ApiModelProperty("来源单位") + private String sourceUnit; // 来源单位 + @ApiModelProperty("管理到效期") + private String managementExpirationDate; // 管理到效期 + @ApiModelProperty("配货价") + private String rationingPrice; // 配货价 + @ApiModelProperty("最低售价") + private String lowestSellingPrice; // 最低售价 + @ApiModelProperty("缺省进价") + private String defaultPurchasePrice; // 缺省进价 + @ApiModelProperty("批发价") + private String tradePrice; // 批发价 + @ApiModelProperty("规格说明") + private String specifications; // 规格说明 + @ApiModelProperty("规格长宽高") + private String description; // 规格长宽高 + @ApiModelProperty("规格重量") + private String weight; // 规格重量 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("最后调价时间") + private Date priceAdjustmentTime; // 最后调价时间 + @ApiModelProperty("对方系统代码") + private String systemCode; // 对方系统代码 + @ApiModelProperty("去税最新进价") + private String priceWithoutTax; // 去税最新进价 + @ApiModelProperty("去税库存价") + private String taxableInventoryPrice; // 去税库存价 + @ApiModelProperty("去税合同进价") + private String ContractPriceExcludingTax; // 去税合同进价 + @ApiModelProperty("商品状态") + private String productStatus; // 商品状态 + @ApiModelProperty("商品状态key") + private String productStatusKey; // 商品状态key + @ApiModelProperty("最新进价(需要每次导入采购订单更新的)") + private String newestPurchasePrice; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationDetailsVo.java new file mode 100644 index 00000000..0240dcc8 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationDetailsVo.java @@ -0,0 +1,174 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformationVo.java
+ * Class: com.supervise.api.productinformation.ProductInformationVo
+ * Description: 商品档案信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品档案信息 视图数据详情", description = "商品档案信息 视图数据详情") +public class ProductInformationDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("含量") + private String content; // 含量 + @ApiModelProperty("类别") + private String category; // 类别 + @ApiModelProperty("类别key") + private String categoryKey; // 类别key + @ApiModelProperty("规格单位") + private String unit; // 规格单位 + @ApiModelProperty("制造厂") + private String manufacturer; // 制造厂 + @ApiModelProperty("制造厂sid") + private String manufacturerSid; // 制造厂sid + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("品牌sid") + private String brandSid; // 品牌sid + @ApiModelProperty("产地") + private String placeOfOrigin; // 产地 + @ApiModelProperty("等级") + private String grade; // 等级 + @ApiModelProperty("等级key") + private String gradeKey; // 等级key + @ApiModelProperty("保质期") + private String qualityGuaranteePeriod; // 保质期 + @ApiModelProperty("部门") + private String deptartment; // 部门 + @ApiModelProperty("货架") + private String goodsShelves; // 货架 + @ApiModelProperty("货架code") + private String goodsShelvesCode; // 货架code + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("毛利率") + private String grossProfitMargin; // 毛利率 + @ApiModelProperty("采购员") + private String buyer; // 采购员 + @ApiModelProperty("核算售价") + private String accountingSalesPrice; // 核算售价 + @ApiModelProperty("最新进价") + private String latestPurchasePrice; // 最新进价 + @ApiModelProperty("库存价") + private String inventoryPrice; // 库存价 + @ApiModelProperty("合同进价") + private String contractPurchasePrice; // 合同进价 + @ApiModelProperty("会员价") + private String membershipPrice; // 会员价 + @ApiModelProperty("进项税率") + private String inputTaxRate; // 进项税率 + @ApiModelProperty("销项税率") + private String outputTaxRate; // 销项税率 + @ApiModelProperty("仓位") + private String position; // 仓位 + @ApiModelProperty("仓位code") + private String positionCode; // 仓位code + @ApiModelProperty("结算供应商") + private String supplier; // 结算供应商 + @ApiModelProperty("结算供应商Sid") + private String supplierSid; // 结算供应商Sid + @ApiModelProperty("配货方式") + private String distributionMethod; // 配货方式 + @ApiModelProperty("配货方式Key") + private String distributionMethodKey; // 配货方式Key + @ApiModelProperty("来源单位") + private String sourceUnit; // 来源单位 + @ApiModelProperty("管理到效期") + private String managementExpirationDate; // 管理到效期 + @ApiModelProperty("配货价") + private String rationingPrice; // 配货价 + @ApiModelProperty("最低售价") + private String lowestSellingPrice; // 最低售价 + @ApiModelProperty("缺省进价") + private String defaultPurchasePrice; // 缺省进价 + @ApiModelProperty("批发价") + private String tradePrice; // 批发价 + @ApiModelProperty("规格说明") + private String specifications; // 规格说明 + @ApiModelProperty("规格长宽高") + private String description; // 规格长宽高 + @ApiModelProperty("规格重量") + private String weight; // 规格重量 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("最后调价时间") + private Date priceAdjustmentTimeStart; // 最后调价时间 + private Date priceAdjustmentTimeEnd; // 最后调价时间 + @ApiModelProperty("对方系统代码") + private String systemCode; // 对方系统代码 + @ApiModelProperty("去税最新进价") + private String priceWithoutTax; // 去税最新进价 + @ApiModelProperty("去税库存价") + private String taxableInventoryPrice; // 去税库存价 + @ApiModelProperty("去税合同进价") + private String ContractPriceExcludingTax; // 去税合同进价 + @ApiModelProperty("商品状态") + private String productStatus; // 商品状态 + @ApiModelProperty("最新进价(需要每次导入采购订单更新的)") + private String newestPurchasePrice; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationDto.java new file mode 100644 index 00000000..701d7cee --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationDto.java @@ -0,0 +1,174 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformationDto.java
+ * Class: com.supervise.api.productinformation.ProductInformationDto
+ * Description: 商品档案信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品档案信息 数据传输对象", description = "商品档案信息 数据传输对象") +public class ProductInformationDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("含量") + private String content; // 含量 + @ApiModelProperty("类别") + private String category; // 类别 + @ApiModelProperty("类别key") + private String categoryKey; // 类别key + @ApiModelProperty("规格单位") + private String unit; // 规格单位 + @ApiModelProperty("制造厂") + private String manufacturer; // 制造厂 + @ApiModelProperty("制造厂sid") + private String manufacturerSid; // 制造厂sid + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("品牌sid") + private String brandSid; // 品牌sid + @ApiModelProperty("产地") + private String placeOfOrigin; // 产地 + @ApiModelProperty("等级") + private String grade; // 等级 + @ApiModelProperty("等级key") + private String gradeKey; // 等级key + @ApiModelProperty("保质期") + private String qualityGuaranteePeriod; // 保质期 + @ApiModelProperty("部门") + private String deptartment; // 部门 + @ApiModelProperty("货架") + private String goodsShelves; // 货架 + @ApiModelProperty("货架code") + private String goodsShelvesCode; // 货架code + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("毛利率") + private String grossProfitMargin; // 毛利率 + @ApiModelProperty("采购员") + private String buyer; // 采购员 + @ApiModelProperty("核算售价") + private String accountingSalesPrice; // 核算售价 + @ApiModelProperty("最新进价") + private String latestPurchasePrice; // 最新进价 + @ApiModelProperty("库存价") + private String inventoryPrice; // 库存价 + @ApiModelProperty("合同进价") + private String contractPurchasePrice; // 合同进价 + @ApiModelProperty("会员价") + private String membershipPrice; // 会员价 + @ApiModelProperty("进项税率") + private String inputTaxRate; // 进项税率 + @ApiModelProperty("销项税率") + private String outputTaxRate; // 销项税率 + @ApiModelProperty("仓位") + private String position; // 仓位 + @ApiModelProperty("仓位code") + private String positionCode; // 仓位code + @ApiModelProperty("结算供应商") + private String supplier; // 结算供应商 + @ApiModelProperty("结算供应商Sid") + private String supplierSid; // 结算供应商Sid + @ApiModelProperty("配货方式") + private String distributionMethod; // 配货方式 + @ApiModelProperty("配货方式Key") + private String distributionMethodKey; // 配货方式Key + @ApiModelProperty("来源单位") + private String sourceUnit; // 来源单位 + @ApiModelProperty("管理到效期") + private String managementExpirationDate; // 管理到效期 + @ApiModelProperty("配货价") + private String rationingPrice; // 配货价 + @ApiModelProperty("最低售价") + private String lowestSellingPrice; // 最低售价 + @ApiModelProperty("缺省进价") + private String defaultPurchasePrice; // 缺省进价 + @ApiModelProperty("批发价") + private String tradePrice; // 批发价 + @ApiModelProperty("规格说明") + private String specifications; // 规格说明 + @ApiModelProperty("规格长宽高") + private String description; // 规格长宽高 + @ApiModelProperty("规格重量") + private String weight; // 规格重量 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("最后调价时间") + private Date priceAdjustmentTimeStart; // 最后调价时间 + private Date priceAdjustmentTimeEnd; // 最后调价时间 + @ApiModelProperty("对方系统代码") + private String systemCode; // 对方系统代码 + @ApiModelProperty("去税最新进价") + private String priceWithoutTax; // 去税最新进价 + @ApiModelProperty("去税库存价") + private String taxableInventoryPrice; // 去税库存价 + @ApiModelProperty("去税合同进价") + private String ContractPriceExcludingTax; // 去税合同进价 + @ApiModelProperty("商品状态") + private String productStatus; // 商品状态 + @ApiModelProperty("最新进价(需要每次导入采购订单更新的)") + private String newestPurchasePrice; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationFeign.java new file mode 100644 index 00000000..2d0365c6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformationFeign.java
+ * Class: com.supervise.api.productinformation.ProductInformationFeign
+ * Description: 商品档案信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "商品档案信息") +@FeignClient( + contextId = "yxt-supervise-ProductInformation", + name = "yxt-supervise", + path = "v1/productinformation", + fallback = ProductInformationFeignFallback.class) +public interface ProductInformationFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody ProductInformationDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationFeignFallback.java new file mode 100644 index 00000000..20602b1c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformationFeignFallback.java
+ * Class: com.supervise.api.productinformation.ProductInformationFeignFallback
+ * Description: 商品档案信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class ProductInformationFeignFallback implements ProductInformationFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/productinformation/listPage无法访问"); + } + + @Override + public ResultBean save(ProductInformationDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/productinformation/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/productinformation/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/productinformation/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationQuery.java new file mode 100644 index 00000000..d056483a --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationQuery.java @@ -0,0 +1,172 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformationQuery.java
+ * Class: com.supervise.api.productinformation.ProductInformationQuery
+ * Description: 商品档案信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品档案信息 查询条件", description = "商品档案信息 查询条件") +public class ProductInformationQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("含量") + private String content; // 含量 + @ApiModelProperty("类别") + private String category; // 类别 + @ApiModelProperty("类别key") + private String categoryKey; // 类别key + @ApiModelProperty("规格单位") + private String unit; // 规格单位 + @ApiModelProperty("制造厂") + private String manufacturer; // 制造厂 + @ApiModelProperty("制造厂sid") + private String manufacturerSid; // 制造厂sid + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("品牌sid") + private String brandSid; // 品牌sid + @ApiModelProperty("产地") + private String placeOfOrigin; // 产地 + @ApiModelProperty("等级") + private String grade; // 等级 + @ApiModelProperty("等级key") + private String gradeKey; // 等级key + @ApiModelProperty("保质期") + private String qualityGuaranteePeriod; // 保质期 + @ApiModelProperty("部门") + private String deptartment; // 部门 + @ApiModelProperty("货架") + private String goodsShelves; // 货架 + @ApiModelProperty("货架code") + private String goodsShelvesCode; // 货架code + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("毛利率") + private String grossProfitMargin; // 毛利率 + @ApiModelProperty("采购员") + private String buyer; // 采购员 + @ApiModelProperty("核算售价") + private String accountingSalesPrice; // 核算售价 + @ApiModelProperty("最新进价") + private String latestPurchasePrice; // 最新进价 + @ApiModelProperty("库存价") + private String inventoryPrice; // 库存价 + @ApiModelProperty("合同进价") + private String contractPurchasePrice; // 合同进价 + @ApiModelProperty("会员价") + private String membershipPrice; // 会员价 + @ApiModelProperty("进项税率") + private String inputTaxRate; // 进项税率 + @ApiModelProperty("销项税率") + private String outputTaxRate; // 销项税率 + @ApiModelProperty("仓位") + private String position; // 仓位 + @ApiModelProperty("仓位code") + private String positionCode; // 仓位code + @ApiModelProperty("结算供应商") + private String supplier; // 结算供应商 + @ApiModelProperty("结算供应商Sid") + private String supplierSid; // 结算供应商Sid + @ApiModelProperty("配货方式") + private String distributionMethod; // 配货方式 + @ApiModelProperty("配货方式Key") + private String distributionMethodKey; // 配货方式Key + @ApiModelProperty("来源单位") + private String sourceUnit; // 来源单位 + @ApiModelProperty("管理到效期") + private String managementExpirationDate; // 管理到效期 + @ApiModelProperty("配货价") + private String rationingPrice; // 配货价 + @ApiModelProperty("最低售价") + private String lowestSellingPrice; // 最低售价 + @ApiModelProperty("缺省进价") + private String defaultPurchasePrice; // 缺省进价 + @ApiModelProperty("批发价") + private String tradePrice; // 批发价 + @ApiModelProperty("规格说明") + private String specifications; // 规格说明 + @ApiModelProperty("规格长宽高") + private String description; // 规格长宽高 + @ApiModelProperty("规格重量") + private String weight; // 规格重量 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("最后调价时间") + private Date priceAdjustmentTimeStart; // 最后调价时间 + private Date priceAdjustmentTimeEnd; // 最后调价时间 + @ApiModelProperty("对方系统代码") + private String systemCode; // 对方系统代码 + @ApiModelProperty("去税最新进价") + private String priceWithoutTax; // 去税最新进价 + @ApiModelProperty("去税库存价") + private String taxableInventoryPrice; // 去税库存价 + @ApiModelProperty("去税合同进价") + private String ContractPriceExcludingTax; // 去税合同进价 + @ApiModelProperty("商品状态") + private String productStatus; // 商品状态 + @ApiModelProperty("最新进价(需要每次导入采购订单更新的)") + private String newestPurchasePrice; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationVo.java new file mode 100644 index 00000000..f4990c17 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productinformation/ProductInformationVo.java @@ -0,0 +1,174 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productinformation; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: ProductInformationVo.java
+ * Class: com.supervise.api.productinformation.ProductInformationVo
+ * Description: 商品档案信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品档案信息 视图数据对象", description = "商品档案信息 视图数据对象") +public class ProductInformationVo implements Vo { + + private String sid; // sid + private String id; // sid + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("含量") + private String content; // 含量 + @ApiModelProperty("类别") + private String category; // 类别 + @ApiModelProperty("类别key") + private String categoryKey; // 类别key + @ApiModelProperty("规格单位") + private String unit; // 规格单位 + @ApiModelProperty("制造厂") + private String manufacturer; // 制造厂 + @ApiModelProperty("制造厂sid") + private String manufacturerSid; // 制造厂sid + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("品牌sid") + private String brandSid; // 品牌sid + @ApiModelProperty("产地") + private String placeOfOrigin; // 产地 + @ApiModelProperty("等级") + private String grade; // 等级 + @ApiModelProperty("等级key") + private String gradeKey; // 等级key + @ApiModelProperty("保质期") + private String qualityGuaranteePeriod; // 保质期 + @ApiModelProperty("部门") + private String deptartment; // 部门 + @ApiModelProperty("货架") + private String goodsShelves; // 货架 + @ApiModelProperty("货架code") + private String goodsShelvesCode; // 货架code + @ApiModelProperty("第二代码") + private String secondCode; // 第二代码 + @ApiModelProperty("毛利率") + private String grossProfitMargin; // 毛利率 + @ApiModelProperty("采购员") + private String buyer; // 采购员 + @ApiModelProperty("核算售价") + private String accountingSalesPrice; // 核算售价 + @ApiModelProperty("最新进价") + private String latestPurchasePrice; // 最新进价 + @ApiModelProperty("库存价") + private String inventoryPrice; // 库存价 + @ApiModelProperty("合同进价") + private String contractPurchasePrice; // 合同进价 + @ApiModelProperty("会员价") + private String membershipPrice; // 会员价 + @ApiModelProperty("进项税率") + private String inputTaxRate; // 进项税率 + @ApiModelProperty("销项税率") + private String outputTaxRate; // 销项税率 + @ApiModelProperty("仓位") + private String position; // 仓位 + @ApiModelProperty("仓位code") + private String positionCode; // 仓位code + @ApiModelProperty("结算供应商") + private String supplier; // 结算供应商 + @ApiModelProperty("结算供应商Sid") + private String supplierSid; // 结算供应商Sid + @ApiModelProperty("配货方式") + private String distributionMethod; // 配货方式 + @ApiModelProperty("配货方式Key") + private String distributionMethodKey; // 配货方式Key + @ApiModelProperty("来源单位") + private String sourceUnit; // 来源单位 + @ApiModelProperty("管理到效期") + private String managementExpirationDate; // 管理到效期 + @ApiModelProperty("配货价") + private String rationingPrice; // 配货价 + @ApiModelProperty("最低售价") + private String lowestSellingPrice; // 最低售价 + @ApiModelProperty("缺省进价") + private String defaultPurchasePrice; // 缺省进价 + @ApiModelProperty("批发价") + private String tradePrice; // 批发价 + @ApiModelProperty("规格说明") + private String specifications; // 规格说明 + @ApiModelProperty("规格长宽高") + private String description; // 规格长宽高 + @ApiModelProperty("规格重量") + private String weight; // 规格重量 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("最后调价时间") + private Date priceAdjustmentTimeStart; // 最后调价时间 + private Date priceAdjustmentTimeEnd; // 最后调价时间 + @ApiModelProperty("对方系统代码") + private String systemCode; // 对方系统代码 + @ApiModelProperty("去税最新进价") + private String priceWithoutTax; // 去税最新进价 + @ApiModelProperty("去税库存价") + private String taxableInventoryPrice; // 去税库存价 + @ApiModelProperty("去税合同进价") + private String ContractPriceExcludingTax; // 去税合同进价 + @ApiModelProperty("商品状态") + private String productStatus; // 商品状态 + @ApiModelProperty("最新进价(需要每次导入采购订单更新的)") + private String newestPurchasePrice; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNum.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNum.java new file mode 100644 index 00000000..9a6af25f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNum.java @@ -0,0 +1,90 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + +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: com.supervise(宇信通监管)
+ * File: WarehouseInfo.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfo
+ * Description: 商品代码、商品名称.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品代码、商品名称信息", description = "商品代码、商品名称信息") +@TableName("product_num") +public class ProductNum extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("品类") + private String category; // 品类 + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("结算供应商code") + private String supplierCode; // 结算供应商 + @ApiModelProperty("结算供应商name") + private String supplierName; // 结算供应商 + @ApiModelProperty("条码") + private String barCode; // 条码 + @ApiModelProperty("单位") + private String unit; // 单位 + + @ApiModelProperty("进价") + private String purchasePrice; // 进价 + @ApiModelProperty("配价") + private String valence;//配价 + @ApiModelProperty("售价") + private String price; // 售价 + + @ApiModelProperty("箱规") + private String boxGauge; // 箱规 + @ApiModelProperty("订货数量") + private String num; // 订货数量 + @ApiModelProperty("订货金额") + private String orderAmount; // 订货金额 + + @ApiModelProperty("税票") + private String taxReceipt; // 税票 + @ApiModelProperty("降价折扣") + private String discount;//降价折扣 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumDetailsVo.java new file mode 100644 index 00000000..954dbe81 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumDetailsVo.java @@ -0,0 +1,92 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoVo.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoVo
+ * Description: 商品代码、商品名称信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品代码、商品名称信息", description = "商品代码、商品名称信息") +public class ProductNumDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("品类") + private String category; // 品类 + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("结算供应商code") + private String supplierCode; // 结算供应商 + @ApiModelProperty("结算供应商name") + private String supplierName; // 结算供应商 + @ApiModelProperty("条码") + private String barCode; // 条码 + @ApiModelProperty("单位") + private String unit; // 单位 + + @ApiModelProperty("进价") + private String purchasePrice; // 进价 + @ApiModelProperty("售价") + private String price; // 售价 + @ApiModelProperty("箱规") + private String boxGauge; // 箱规 + @ApiModelProperty("订货数量") + private String num; // 订货数量 + @ApiModelProperty("订货金额") + private String orderAmount; // 订货金额 + + @ApiModelProperty("税票") + private String taxReceipt; // 税票 + @ApiModelProperty("降价折扣") + private String discount;//降价折扣 + @ApiModelProperty("配价") + private String valence;//配价 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumDto.java new file mode 100644 index 00000000..845430c9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumDto.java @@ -0,0 +1,92 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoDto.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoDto
+ * Description: 商品代码、商品名称信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品代码、商品名称信息", description = "商品代码、商品名称信息") +public class ProductNumDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("品类") + private String category; // 品类 + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("结算供应商code") + private String supplierCode; // 结算供应商 + @ApiModelProperty("结算供应商name") + private String supplierName; // 结算供应商 + @ApiModelProperty("条码") + private String barCode; // 条码 + @ApiModelProperty("单位") + private String unit; // 单位 + + @ApiModelProperty("进价") + private String purchasePrice; // 进价 + @ApiModelProperty("售价") + private String price; // 售价 + @ApiModelProperty("箱规") + private String boxGauge; // 箱规 + @ApiModelProperty("订货数量") + private String num; // 订货数量 + @ApiModelProperty("订货金额") + private String orderAmount; // 订货金额 + + @ApiModelProperty("税票") + private String taxReceipt; // 税票 + @ApiModelProperty("降价折扣") + private String discount;//降价折扣 + @ApiModelProperty("配价") + private String valence;//配价 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumFeign.java new file mode 100644 index 00000000..89985d2b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumFeign.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + +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: com.supervise(宇信通监管)
+ * File: WarehouseInfoFeign.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoFeign
+ * Description: 商品代码、商品名称信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "商品代码、商品名称信息") +@FeignClient( + contextId = "com.supervise-ProductNum", + name = "com.supervise", + path = "v1/productnum", + fallback = ProductNumFeignFallback.class) +public interface ProductNumFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody ProductNumDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumFeignFallback.java new file mode 100644 index 00000000..eab208d6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumFeignFallback.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + +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: com.supervise(宇信通监管)
+ * File: WarehouseInfoFeignFallback.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoFeignFallback
+ * Description: 商品代码、商品名称信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class ProductNumFeignFallback implements ProductNumFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseinfo/listPage无法访问"); + } + + @Override + public ResultBean save(ProductNumDto dto){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumQuery.java new file mode 100644 index 00000000..cf960f10 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumQuery.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoQuery.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoQuery
+ * Description: 商品代码、商品名称信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品代码、商品名称信息", description = "商品代码、商品名称信息") +public class ProductNumQuery implements Query { + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("品类") + private String category; // 品类 + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("结算供应商code") + private String supplierCode; // 结算供应商 + @ApiModelProperty("结算供应商name") + private String supplierName; // 结算供应商 + @ApiModelProperty("条码") + private String barCode; // 条码 + @ApiModelProperty("单位") + private String unit; // 单位 + + @ApiModelProperty("进价") + private String purchasePrice; // 进价 + @ApiModelProperty("售价") + private String price; // 售价 + @ApiModelProperty("箱规") + private String boxGauge; // 箱规 + @ApiModelProperty("订货数量") + private String num; // 订货数量 + @ApiModelProperty("订货金额") + private String orderAmount; // 订货金额 + + @ApiModelProperty("税票") + private String taxReceipt; // 税票 + @ApiModelProperty("降价折扣") + private String discount;//降价折扣 + @ApiModelProperty("配价") + private String valence;//配价 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumVo.java new file mode 100644 index 00000000..9c53d650 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/productnum/ProductNumVo.java @@ -0,0 +1,90 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.productnum; + + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoVo.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoVo
+ * Description: 商品代码、商品名称信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "商品代码、商品名称信息", description = "商品代码、商品名称信息") +public class ProductNumVo implements Vo { + private String sid; // sid + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("品类") + private String category; // 品类 + @ApiModelProperty("品牌") + private String brand; // 品牌 + @ApiModelProperty("批次") + private String pc; // 批次 + @ApiModelProperty("结算供应商code") + private String supplierCode; // 结算供应商 + @ApiModelProperty("结算供应商name") + private String supplierName; // 结算供应商 + @ApiModelProperty("条码") + private String barCode; // 条码 + @ApiModelProperty("单位") + private String unit; // 单位 + + @ApiModelProperty("进价") + private String purchasePrice; // 进价 + @ApiModelProperty("售价") + private String price; // 售价 + @ApiModelProperty("箱规") + private String boxGauge; // 箱规 + @ApiModelProperty("订货数量") + private String num; // 订货数量 + @ApiModelProperty("订货金额") + private String orderAmount; // 订货金额 + + @ApiModelProperty("税票") + private String taxReceipt; // 税票 + @ApiModelProperty("降价折扣") + private String discount;//降价折扣 + @ApiModelProperty("配价") + private String valence;//配价 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/Pszxpfsj.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/Pszxpfsj.java new file mode 100644 index 00000000..39ba99a3 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/Pszxpfsj.java @@ -0,0 +1,94 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + +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: supervise(宇信通监管)
+ * File: Pszxpfsj.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.Pszxpfsj
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息", description = "采购订单商品信息") +@TableName("pszxpfsj") +public class Pszxpfsj extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("销售订单编号") + private String code; // 销售订单编号 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String dalei; // 大类 + @ApiModelProperty("中类") + private String zhonglei; // 中类 + @ApiModelProperty("小类") + private String xiaolei; // 小类 + @ApiModelProperty("客户代码") + private String cutomerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("销售数量") + private String salesNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售价格") + private String unitPrice; // 销售价格 + @ApiModelProperty("销售成本") + private String salesPrice; // 销售成本 + @ApiModelProperty("利润") + private String lirun; // 利润 + @ApiModelProperty("数据日期") + private String orderDate; // 数据日期 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjDetailsVo.java new file mode 100644 index 00000000..5b3e4f88 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjDetailsVo.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: PszxpfsjVo.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.PszxpfsjVo
+ * Description: 采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 视图数据详情", description = "采购订单商品信息 视图数据详情") +public class PszxpfsjDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("销售订单编号") + private String code; // 销售订单编号 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String dalei; // 大类 + @ApiModelProperty("中类") + private String zhonglei; // 中类 + @ApiModelProperty("小类") + private String xiaolei; // 小类 + @ApiModelProperty("客户代码") + private String cutomerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("销售数量") + private String salesNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售价格") + private String unitPrice; // 销售价格 + @ApiModelProperty("销售成本") + private String salesPrice; // 销售成本 + @ApiModelProperty("利润") + private String lirun; // 利润 + @ApiModelProperty("数据日期") + private String orderDate; // 数据日期 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjDto.java new file mode 100644 index 00000000..6d114f08 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjDto.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: PszxpfsjDto.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.PszxpfsjDto
+ * Description: 采购订单商品信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 数据传输对象", description = "采购订单商品信息 数据传输对象") +public class PszxpfsjDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("销售订单编号") + private String code; // 销售订单编号 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String dalei; // 大类 + @ApiModelProperty("中类") + private String zhonglei; // 中类 + @ApiModelProperty("小类") + private String xiaolei; // 小类 + @ApiModelProperty("客户代码") + private String cutomerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("销售数量") + private String salesNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售价格") + private String unitPrice; // 销售价格 + @ApiModelProperty("销售成本") + private String salesPrice; // 销售成本 + @ApiModelProperty("利润") + private String lirun; // 利润 + @ApiModelProperty("数据日期") + private String orderDate; // 数据日期 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjFeign.java new file mode 100644 index 00000000..a40f8599 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: supervise(宇信通监管)
+ * File: PszxpfsjFeign.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.PszxpfsjFeign
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "采购订单商品信息") +@FeignClient( + contextId = "supervise-Pszxpfsj", + name = "supervise", + path = "v1/pszxpfsj", + fallback = PszxpfsjFeignFallback.class) +public interface PszxpfsjFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody PszxpfsjDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjFeignFallback.java new file mode 100644 index 00000000..239e2c1c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + +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; + +import java.util.List; + +/** + * Project: supervise(宇信通监管)
+ * File: PszxpfsjFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.PszxpfsjFeignFallback
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class PszxpfsjFeignFallback implements PszxpfsjFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/pszxpfsj/listPage无法访问"); + } + + @Override + public ResultBean save(PszxpfsjDto dto){ + return ResultBean.fireFail().setMsg("接口supervise/pszxpfsj/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口supervise/pszxpfsj/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/pszxpfsj/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjQuery.java new file mode 100644 index 00000000..47c9b15c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjQuery.java @@ -0,0 +1,93 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: PszxpfsjQuery.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.PszxpfsjQuery
+ * Description: 采购订单商品信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 查询条件", description = "采购订单商品信息 查询条件") +public class PszxpfsjQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("销售订单编号") + private String code; // 销售订单编号 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String dalei; // 大类 + @ApiModelProperty("中类") + private String zhonglei; // 中类 + @ApiModelProperty("小类") + private String xiaolei; // 小类 + @ApiModelProperty("客户代码") + private String cutomerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("销售数量") + private String salesNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售价格") + private String unitPrice; // 销售价格 + @ApiModelProperty("销售成本") + private String salesPrice; // 销售成本 + @ApiModelProperty("利润") + private String lirun; // 利润 + @ApiModelProperty("数据日期") + private String orderDate; // 数据日期 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjVo.java new file mode 100644 index 00000000..e661eb9c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/pszxpfsj/PszxpfsjVo.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.pszxpfsj; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: PszxpfsjVo.java
+ * Class: com.yxt.supervise.portal.api.pszxpfsj.PszxpfsjVo
+ * Description: 采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-24 14:12:54
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 视图数据对象", description = "采购订单商品信息 视图数据对象") +public class PszxpfsjVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("销售订单编号") + private String code; // 销售订单编号 + @ApiModelProperty("商品编码") + private String prodCode; // 商品编码 + @ApiModelProperty("商品条码") + private String prodBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String prodName; // 商品名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String dalei; // 大类 + @ApiModelProperty("中类") + private String zhonglei; // 中类 + @ApiModelProperty("小类") + private String xiaolei; // 小类 + @ApiModelProperty("客户代码") + private String cutomerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("销售数量") + private String salesNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售价格") + private String unitPrice; // 销售价格 + @ApiModelProperty("销售成本") + private String salesPrice; // 销售成本 + @ApiModelProperty("利润") + private String lirun; // 利润 + @ApiModelProperty("数据日期") + private String orderDate; // 数据日期 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisition.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisition.java new file mode 100644 index 00000000..20e8e5fa --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisition.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisition.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisition
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表", description = "采购订单表") +@TableName("purchase_requisition") +public class PurchaseRequisition extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期") + private String purchaseDate; // 采购日期 + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称") + private String purchasingOrgName; // 采购组织名称 + @ApiModelProperty("采购组织编码") + private String purchasingOrgCode; // 采购组织编码 + @ApiModelProperty("采购部门名称") + private String purchasingDeptCode; // 采购部门名称 + @ApiModelProperty("采购部门编码") + private String purchasingDeptName; // 采购部门编码 + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称") + private String logisticsCompanyName; // 物流公司名称 + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition;//仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode;// + @ApiModelProperty("新订单编号") + private String newCode;// + @ApiModelProperty("旧订单编号") + private String oldCode;// + @ApiModelProperty("完成状态") + private String completionStatus;//完成状态 + @ApiModelProperty("完成状态") + private String completionStatusKey;//完成状态 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionDetailsVo.java new file mode 100644 index 00000000..12ca344d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionDetailsVo.java @@ -0,0 +1,102 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import com.yxt.supervise.portal.api.purchaserequisitionpro.PurchaseRequisitionProDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionVo.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisitionVo
+ * Description: 采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 视图数据详情", description = "采购订单表 视图数据详情") +public class PurchaseRequisitionDetailsVo implements Vo { + + private String sid; // sid + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期") + private String purchaseDate; // 采购日期 + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称") + private String purchasingOrgName; // 采购组织名称 + @ApiModelProperty("采购组织编码") + private String purchasingOrgCode; // 采购组织编码 + @ApiModelProperty("采购部门名称") + private String purchasingDeptCode; // 采购部门名称 + @ApiModelProperty("采购部门编码") + private String purchasingDeptName; // 采购部门编码 + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称") + private String logisticsCompanyName; // 物流公司名称 + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition;//仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode;// + @ApiModelProperty("新订单编号") + private String newCode;// + @ApiModelProperty("旧订单编号") + private String oldCode;// + @ApiModelProperty("完成状态") + private String completionStatus;//完成状态 + @ApiModelProperty("完成状态") + private String completionStatusKey;//完成状态 + @ApiModelProperty("商品列表") + private List pros=new ArrayList<>(); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionDto.java new file mode 100644 index 00000000..65380af4 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionDto.java @@ -0,0 +1,102 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +import com.yxt.supervise.portal.api.purchaserequisitionpro.PurchaseRequisitionProDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionDto.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisitionDto
+ * Description: 采购订单表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 数据传输对象", description = "采购订单表 数据传输对象") +public class PurchaseRequisitionDto implements Dto { + + private String sid; // sid + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期") + private String purchaseDate; // 采购日期 + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称") + private String purchasingOrgName; // 采购组织名称 + @ApiModelProperty("采购组织编码") + private String purchasingOrgCode; // 采购组织编码 + @ApiModelProperty("采购部门名称") + private String purchasingDeptCode; // 采购部门名称 + @ApiModelProperty("采购部门编码") + private String purchasingDeptName; // 采购部门编码 + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称") + private String logisticsCompanyName; // 物流公司名称 + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition;//仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode;// + @ApiModelProperty("新订单编号") + private String newCode;// + @ApiModelProperty("旧订单编号") + private String oldCode;// + @ApiModelProperty("完成状态") + private String completionStatus;//完成状态 + @ApiModelProperty("完成状态") + private String completionStatusKey;//完成状态 + @ApiModelProperty("商品列表") + private List pros=new ArrayList<>(); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionFeign.java new file mode 100644 index 00000000..5acb1f88 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionFeign.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisitionFeign
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "采购订单表") +@FeignClient( + contextId = "PurchaseRequisition", + name = "yxt-supervise", + path = "v1/purchaserequisition", + fallback = PurchaseRequisitionFeignFallback.class) +public interface PurchaseRequisitionFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody PurchaseRequisitionDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionFeignFallback.java new file mode 100644 index 00000000..5f07de31 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + +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; + +import java.util.List; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionFeignFallback.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisitionFeignFallback
+ * Description: 采购订单表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class PurchaseRequisitionFeignFallback implements PurchaseRequisitionFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口宇信通监管/purchaserequisition/listPage无法访问"); + } + + @Override + public ResultBean save(PurchaseRequisitionDto dto){ + return ResultBean.fireFail().setMsg("接口宇信通监管/purchaserequisition/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口宇信通监管/purchaserequisition/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口宇信通监管/purchaserequisition/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionQuery.java new file mode 100644 index 00000000..69cbe8f6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionQuery.java @@ -0,0 +1,97 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionQuery.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisitionQuery
+ * Description: 采购订单表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 查询条件", description = "采购订单表 查询条件") +public class PurchaseRequisitionQuery implements Query { + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期开始") + private String purchaseDateStart; // 采购日期 + @ApiModelProperty("采购日期结束") + private String purchaseDateEnd; // 采购日期 + @ApiModelProperty("到货日期开始") + private String arrivalDateStart; // 到货日期 + @ApiModelProperty("到货日期结束") + private String arrivalDateEnd; // 到货日期 + @ApiModelProperty("采购组织名称") + private String purchasingOrgName; // 采购组织名称 + @ApiModelProperty("采购组织编码") + private String purchasingOrgCode; // 采购组织编码 + @ApiModelProperty("采购部门名称") + private String purchasingDeptCode; // 采购部门名称 + @ApiModelProperty("采购部门编码") + private String purchasingDeptName; // 采购部门编码 + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称") + private String logisticsCompanyName; // 物流公司名称 + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition;//仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode;// + @ApiModelProperty("新订单编号") + private String newCode;// + @ApiModelProperty("旧订单编号") + private String oldCode;// + @ApiModelProperty("完成状态") + private String completionStatus;//完成状态 + @ApiModelProperty("完成状态") + private String completionStatusKey;//完成状态 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionVo.java new file mode 100644 index 00000000..c2a7ca46 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisition/PurchaseRequisitionVo.java @@ -0,0 +1,97 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisition; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionVo.java
+ * Class: com.yxt.supervise.api.purchaserequisition.PurchaseRequisitionVo
+ * Description: 采购订单表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单表 视图数据对象", description = "采购订单表 视图数据对象") +public class PurchaseRequisitionVo implements Vo { + + private String sid; // sid + @ApiModelProperty("单号") + private String code; // 单号 + @ApiModelProperty("采购员姓名") + private String buyerName; // 采购员姓名 + @ApiModelProperty("采购员编码") + private String buyerCode; // 采购员编码 + @ApiModelProperty("采购日期") + private String purchaseDate; // 采购日期 + @ApiModelProperty("到货日期") + private String arrivalDate; // 到货日期 + @ApiModelProperty("采购组织名称") + private String purchasingOrgName; // 采购组织名称 + @ApiModelProperty("采购组织编码") + private String purchasingOrgCode; // 采购组织编码 + @ApiModelProperty("采购部门名称") + private String purchasingDeptCode; // 采购部门名称 + @ApiModelProperty("采购部门编码") + private String purchasingDeptName; // 采购部门编码 + @ApiModelProperty("供应商名称") + private String supplierName; // 供应商名称 + @ApiModelProperty("供应商编码") + private String supplierCode; // 供应商编码 + @ApiModelProperty("物流公司名称") + private String logisticsCompanyName; // 物流公司名称 + @ApiModelProperty("物流公司编码") + private String logisticsCompanyCode; // 物流公司编码 + @ApiModelProperty("单据到效期") + private String expiryDate; // 单据到效期 + @ApiModelProperty("仓位") + private String warehousePosition;//仓位 + @ApiModelProperty("仓位code") + private String warehousePositionCode;// + @ApiModelProperty("新订单编号") + private String newCode;// + @ApiModelProperty("旧订单编号") + private String oldCode;// + @ApiModelProperty("完成状态") + private String completionStatus;//完成状态 + @ApiModelProperty("完成状态") + private String completionStatusKey;//完成状态 + @ApiModelProperty("订单金额") + private String packageTotalPrice; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionPro.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionPro.java new file mode 100644 index 00000000..1005e091 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionPro.java @@ -0,0 +1,97 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionPro.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionPro
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息", description = "采购订单商品信息") +@TableName("purchase_requisition_pro") +public class PurchaseRequisitionPro extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号") + private String content; // 规格型号 + @ApiModelProperty("数量") + private String number; // 数量 + @ApiModelProperty("包装数量") + private String packageNumber; // 包装数量 + @ApiModelProperty("包内数量") + private String packageInsideNumber; // 包内数量 + @ApiModelProperty("包装规格") + private String packageSpec; // 包装规格 + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)") + private String packagePrice; // 包装价格(元) + @ApiModelProperty("包合计(元)") + private String packageTotalPrice; // 包合计(元) + @ApiModelProperty("单价(元)") + private String unitPrice; // 单价(元) + @ApiModelProperty("含税单价(元)") + private String unitPriceTax; // 含税单价(元) + @ApiModelProperty("合计(元)") + private String totalPrice; // 合计(元) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称") + private String brand; // 品牌名称 + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode;// 第二代码 + @ApiModelProperty("零售金额") + private String retailAmount;// 零售金额 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProDetailsVo.java new file mode 100644 index 00000000..90e96553 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProDetailsVo.java @@ -0,0 +1,116 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionProVo.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionProVo
+ * Description: 采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 视图数据详情", description = "采购订单商品信息 视图数据详情") +public class PurchaseRequisitionProDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号") + private String content; // 规格型号 + @ApiModelProperty("数量") + private String number; // 数量 + @ApiModelProperty("包装数量") + private String packageNumber; // 包装数量 + @ApiModelProperty("包内数量") + private String packageInsideNumber; // 包内数量 + @ApiModelProperty("包装规格") + private String packageSpec; // 包装规格 + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)") + private String packagePrice; // 包装价格(元) + @ApiModelProperty("包合计(元)") + private String packageTotalPrice; // 包合计(元) + @ApiModelProperty("单价(元)") + private String unitPrice; // 单价(元) + @ApiModelProperty("含税单价(元)") + private String unitPriceTax; // 含税单价(元) + @ApiModelProperty("合计(元)") + private String totalPrice; // 合计(元) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称") + private String brand; // 品牌名称 + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode;// 第二代码 + @ApiModelProperty("零售金额") + private String retailAmount;// 零售金额 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProDto.java new file mode 100644 index 00000000..cef56e15 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProDto.java @@ -0,0 +1,116 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionProDto.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionProDto
+ * Description: 采购订单商品信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 数据传输对象", description = "采购订单商品信息 数据传输对象") +public class PurchaseRequisitionProDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号") + private String content; // 规格型号 + @ApiModelProperty("数量") + private String number; // 数量 + @ApiModelProperty("包装数量") + private String packageNumber; // 包装数量 + @ApiModelProperty("包内数量") + private String packageInsideNumber; // 包内数量 + @ApiModelProperty("包装规格") + private String packageSpec; // 包装规格 + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)") + private String packagePrice; // 包装价格(元) + @ApiModelProperty("包合计(元)") + private String packageTotalPrice; // 包合计(元) + @ApiModelProperty("单价(元)") + private String unitPrice; // 单价(元) + @ApiModelProperty("含税单价(元)") + private String unitPriceTax; // 含税单价(元) + @ApiModelProperty("合计(元)") + private String totalPrice; // 合计(元) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称") + private String brand; // 品牌名称 + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode;// 第二代码 + @ApiModelProperty("零售金额") + private String retailAmount;// 零售金额 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProFeign.java new file mode 100644 index 00000000..30370c2f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionProFeign.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionProFeign
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "采购订单商品信息") +@FeignClient( + contextId = "PurchaseRequisitionPro", + name = "yxt-supervise", + path = "v1/purchaserequisitionpro", + fallback = PurchaseRequisitionProFeignFallback.class) +public interface PurchaseRequisitionProFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody PurchaseRequisitionProDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProFeignFallback.java new file mode 100644 index 00000000..18267777 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + +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; + +import java.util.List; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionProFeignFallback.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionProFeignFallback
+ * Description: 采购订单商品信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class PurchaseRequisitionProFeignFallback implements PurchaseRequisitionProFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口宇信通监管/purchaserequisitionpro/listPage无法访问"); + } + + @Override + public ResultBean save(PurchaseRequisitionProDto dto){ + return ResultBean.fireFail().setMsg("接口宇信通监管/purchaserequisitionpro/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口宇信通监管/purchaserequisitionpro/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口宇信通监管/purchaserequisitionpro/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProQuery.java new file mode 100644 index 00000000..2478f698 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProQuery.java @@ -0,0 +1,114 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionProQuery.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionProQuery
+ * Description: 采购订单商品信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 查询条件", description = "采购订单商品信息 查询条件") +public class PurchaseRequisitionProQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号") + private String content; // 规格型号 + @ApiModelProperty("数量") + private String number; // 数量 + @ApiModelProperty("包装数量") + private String packageNumber; // 包装数量 + @ApiModelProperty("包内数量") + private String packageInsideNumber; // 包内数量 + @ApiModelProperty("包装规格") + private String packageSpec; // 包装规格 + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)") + private String packagePrice; // 包装价格(元) + @ApiModelProperty("包合计(元)") + private String packageTotalPrice; // 包合计(元) + @ApiModelProperty("单价(元)") + private String unitPrice; // 单价(元) + @ApiModelProperty("含税单价(元)") + private String unitPriceTax; // 含税单价(元) + @ApiModelProperty("合计(元)") + private String totalPrice; // 合计(元) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称") + private String brand; // 品牌名称 + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode;// 第二代码 + @ApiModelProperty("零售金额") + private String retailAmount;// 零售金额 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProVo.java new file mode 100644 index 00000000..87d1ddce --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/purchaserequisitionpro/PurchaseRequisitionProVo.java @@ -0,0 +1,98 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.purchaserequisitionpro; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: 宇信通监管(宇信通监管)
+ * File: PurchaseRequisitionProVo.java
+ * Class: com.yxt.supervise.api.purchaserequisitionpro.PurchaseRequisitionProVo
+ * Description: 采购订单商品信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-20 16:44:11
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "采购订单商品信息 视图数据对象", description = "采购订单商品信息 视图数据对象") +public class PurchaseRequisitionProVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("主表sid") + private String mainSid; // 主表sid + @ApiModelProperty("商品代码") + private String proCode; // 商品代码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("规格型号") + private String content; // 规格型号 + @ApiModelProperty("数量") + private String number; // 数量 + @ApiModelProperty("包装数量") + private String packageNumber; // 包装数量 + @ApiModelProperty("包内数量") + private String packageInsideNumber; // 包内数量 + @ApiModelProperty("包装规格") + private String packageSpec; // 包装规格 + @ApiModelProperty("单位") + private String unit; // 单位 + @ApiModelProperty("包装价格(元)") + private String packagePrice; // 包装价格(元) + @ApiModelProperty("包合计(元)") + private String packageTotalPrice; // 包合计(元) + @ApiModelProperty("单价(元)") + private String unitPrice; // 单价(元) + @ApiModelProperty("含税单价(元)") + private String unitPriceTax; // 含税单价(元) + @ApiModelProperty("合计(元)") + private String totalPrice; // 合计(元) + @ApiModelProperty("商品品类名称") + private String category; // 商品品类名称 + @ApiModelProperty("商品品类编码") + private String categoryKey; // 商品品类编码 + @ApiModelProperty("品牌名称") + private String brand; // 品牌名称 + @ApiModelProperty("品牌编码") + private String brandCode; // 品牌编码 + @ApiModelProperty("发货日期") + private String issuanceDate; // 发货日期 + @ApiModelProperty("第二代码") + private String secondCode;// 第二代码 + @ApiModelProperty("零售金额") + private String retailAmount;// 零售金额 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfo.java new file mode 100644 index 00000000..484df867 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfo.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfo.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfo
+ * Description: 营业执照信息信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "营业执照信息信息", description = "营业执照信息信息") +@TableName("registration_info") +public class RegistrationInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("行业") + private String industry; // 行业 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("注册资金") + private String registeredCapital; // 注册资金 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("等记号码") + private String registrationNo; // 等记号码 + @ApiModelProperty("营业执照") + private String licence; // 营业执照 + @ApiModelProperty("统一信用代码") + private String code; // 统一信用代码 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoDetailsVo.java new file mode 100644 index 00000000..34ef319b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoDetailsVo.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfoVo.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfoVo
+ * Description: 营业执照信息信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "营业执照信息信息 视图数据详情", description = "营业执照信息信息 视图数据详情") +public class RegistrationInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("行业") + private String industry; // 行业 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("注册资金") + private String registeredCapital; // 注册资金 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("等记号码") + private String registrationNo; // 等记号码 + @ApiModelProperty("营业执照") + private String licence; // 营业执照 + @ApiModelProperty("统一信用代码") + private String code; // 统一信用代码 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoDto.java new file mode 100644 index 00000000..68591226 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoDto.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfoDto.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfoDto
+ * Description: 营业执照信息信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "营业执照信息信息 数据传输对象", description = "营业执照信息信息 数据传输对象") +public class RegistrationInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("行业") + private String industry; // 行业 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("注册资金") + private String registeredCapital; // 注册资金 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("等记号码") + private String registrationNo; // 等记号码 + @ApiModelProperty("营业执照") + private String licence; // 营业执照 + @ApiModelProperty("统一信用代码") + private String code; // 统一信用代码 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoFeign.java new file mode 100644 index 00000000..1d032201 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfoFeign.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfoFeign
+ * Description: 营业执照信息信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "营业执照信息信息") +@FeignClient( + contextId = "yxt-supervise-RegistrationInfo", + name = "yxt-supervise", + path = "v1/registrationinfo", + fallback = RegistrationInfoFeignFallback.class) +public interface RegistrationInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody RegistrationInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoFeignFallback.java new file mode 100644 index 00000000..ab883d9c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfoFeignFallback.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfoFeignFallback
+ * Description: 营业执照信息信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class RegistrationInfoFeignFallback implements RegistrationInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/registrationinfo/listPage无法访问"); + } + + @Override + public ResultBean save(RegistrationInfoDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/registrationinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/registrationinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/registrationinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoQuery.java new file mode 100644 index 00000000..a1bf5a44 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoQuery.java @@ -0,0 +1,93 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfoQuery.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfoQuery
+ * Description: 营业执照信息信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "营业执照信息信息 查询条件", description = "营业执照信息信息 查询条件") +public class RegistrationInfoQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("行业") + private String industry; // 行业 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("注册资金") + private String registeredCapital; // 注册资金 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("等记号码") + private String registrationNo; // 等记号码 + @ApiModelProperty("营业执照") + private String licence; // 营业执照 + @ApiModelProperty("统一信用代码") + private String code; // 统一信用代码 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoVo.java new file mode 100644 index 00000000..81f19052 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/registrationinfo/RegistrationInfoVo.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.registrationinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: RegistrationInfoVo.java
+ * Class: com.supervise.api.registrationinfo.RegistrationInfoVo
+ * Description: 营业执照信息信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "营业执照信息信息 视图数据对象", description = "营业执照信息信息 视图数据对象") +public class RegistrationInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("行业") + private String industry; // 行业 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("注册资金") + private String registeredCapital; // 注册资金 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("等记号码") + private String registrationNo; // 等记号码 + @ApiModelProperty("营业执照") + private String licence; // 营业执照 + @ApiModelProperty("统一信用代码") + private String code; // 统一信用代码 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrand.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrand.java new file mode 100644 index 00000000..0efffe90 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrand.java @@ -0,0 +1,58 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedBrand.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrand
+ * Description: 限定品牌.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandDetailsVo.java new file mode 100644 index 00000000..bf033873 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandDetailsVo.java @@ -0,0 +1,59 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedBrandVo.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandVo
+ * Description: 限定品牌 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandDto.java new file mode 100644 index 00000000..96cf564c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandDto.java @@ -0,0 +1,59 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedBrandDto.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandDto
+ * Description: 限定品牌 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandFeign.java new file mode 100644 index 00000000..7a7cd2b1 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.restrictedbrand; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: RestrictedBrandFeign.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandFeign
+ * Description: 限定品牌.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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> listPage(@RequestBody PagerQuery 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 fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandFeignFallback.java new file mode 100644 index 00000000..1b024b05 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: RestrictedBrandFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandFeignFallback
+ * Description: 限定品牌.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class RestrictedBrandFeignFallback implements RestrictedBrandFeign { + + @Override + public ResultBean> listPage(PagerQuery 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 fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/restrictedbrand/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandQuery.java new file mode 100644 index 00000000..554f4411 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandQuery.java @@ -0,0 +1,57 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedBrandQuery.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandQuery
+ * Description: 限定品牌 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandVo.java new file mode 100644 index 00000000..d695f401 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedbrand/RestrictedBrandVo.java @@ -0,0 +1,59 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedBrandVo.java
+ * Class: com.yxt.supervise.portal.api.restrictedbrand.RestrictedBrandVo
+ * Description: 限定品牌 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategory.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategory.java new file mode 100644 index 00000000..0c8956f7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategory.java @@ -0,0 +1,59 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedCategory.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategory
+ * Description: 限定品类.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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 + + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryDetailsVo.java new file mode 100644 index 00000000..986450ba --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryDetailsVo.java @@ -0,0 +1,58 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedCategoryVo.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryVo
+ * Description: 限定品类 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryDto.java new file mode 100644 index 00000000..296fa7d2 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryDto.java @@ -0,0 +1,58 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedCategoryDto.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryDto
+ * Description: 限定品类 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryFeign.java new file mode 100644 index 00000000..5759429b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.restrictedcategory; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: RestrictedCategoryFeign.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryFeign
+ * Description: 限定品类.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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> listPage(@RequestBody PagerQuery 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 fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryFeignFallback.java new file mode 100644 index 00000000..8ff369c8 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: RestrictedCategoryFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryFeignFallback
+ * Description: 限定品类.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class RestrictedCategoryFeignFallback implements RestrictedCategoryFeign { + + @Override + public ResultBean> listPage(PagerQuery 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 fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/restrictedcategory/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryQuery.java new file mode 100644 index 00000000..233dac2f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryQuery.java @@ -0,0 +1,57 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedCategoryQuery.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryQuery
+ * Description: 限定品类 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryVo.java new file mode 100644 index 00000000..13b6d7cc --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/restrictedcategory/RestrictedCategoryVo.java @@ -0,0 +1,58 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.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(宇信通监管)
+ * File: RestrictedCategoryVo.java
+ * Class: com.yxt.supervise.portal.api.restrictedcategory.RestrictedCategoryVo
+ * Description: 限定品类 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-22 21:47:10
+ * + * @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 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesData.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesData.java new file mode 100644 index 00000000..39b02f21 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesData.java @@ -0,0 +1,98 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + +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(宇信通监管)
+ * File: SalesData.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesData
+ * Description: 销售数据.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "销售数据", description = "销售数据") +@TableName("sales_data") +public class SalesData extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("销售订单号") + private String code; // 销售订单号 + @ApiModelProperty("商品编码") + private String proCode; // 商品编码 + @ApiModelProperty("商品条码") + private String proBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("销售数量") + private String saleNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售渠道名称") + private String storeName; // 销售渠道名称 + @ApiModelProperty("销售价格") + private String salePrice; // 销售价格 + @ApiModelProperty("销售成本") + private String saleCost; // 销售成本 + @ApiModelProperty("利润") + private String profit; // 利润 + @ApiModelProperty("数据日期") + private String dataDate; // 数据日期 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("客户代码") + private String customerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String categoryb; // 大类 + @ApiModelProperty("种类") + private String categorym; // 种类 + @ApiModelProperty("小类") + private String categorys; // 小类 + + + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataDetailsVo.java new file mode 100644 index 00000000..314161f3 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataDetailsVo.java @@ -0,0 +1,97 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: SalesDataVo.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesDataVo
+ * Description: 销售数据 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "销售数据 视图数据详情", description = "销售数据 视图数据详情") +public class SalesDataDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("销售订单号") + private String code; // 销售订单号 + @ApiModelProperty("商品编码") + private String proCode; // 商品编码 + @ApiModelProperty("商品条码") + private String proBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("销售数量") + private String saleNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售渠道名称") + private String storeName; // 销售渠道名称 + @ApiModelProperty("销售价格") + private String salePrice; // 销售价格 + @ApiModelProperty("销售成本") + private String saleCost; // 销售成本 + @ApiModelProperty("利润") + private String profit; // 利润 + @ApiModelProperty("数据日期") + private String dataDate; // 数据日期 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("客户代码") + private String customerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String categoryb; // 大类 + @ApiModelProperty("种类") + private String categorym; // 种类 + @ApiModelProperty("小类") + private String categorys; // 小类 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataDto.java new file mode 100644 index 00000000..c401c461 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataDto.java @@ -0,0 +1,97 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: SalesDataDto.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesDataDto
+ * Description: 销售数据 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "销售数据 数据传输对象", description = "销售数据 数据传输对象") +public class SalesDataDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("销售订单号") + private String code; // 销售订单号 + @ApiModelProperty("商品编码") + private String proCode; // 商品编码 + @ApiModelProperty("商品条码") + private String proBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("销售数量") + private String saleNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售渠道名称") + private String storeName; // 销售渠道名称 + @ApiModelProperty("销售价格") + private String salePrice; // 销售价格 + @ApiModelProperty("销售成本") + private String saleCost; // 销售成本 + @ApiModelProperty("利润") + private String profit; // 利润 + @ApiModelProperty("数据日期") + private String dataDate; // 数据日期 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("客户代码") + private String customerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String categoryb; // 大类 + @ApiModelProperty("种类") + private String categorym; // 种类 + @ApiModelProperty("小类") + private String categorys; // 小类 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataFeign.java new file mode 100644 index 00000000..57ccc3b7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: SalesDataFeign.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesDataFeign
+ * Description: 销售数据.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "销售数据") +@FeignClient( + contextId = "yxt-supervise-SalesData", + name = "yxt-supervise", + path = "v1/salesdata", + fallback = SalesDataFeignFallback.class) +public interface SalesDataFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SalesDataDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataFeignFallback.java new file mode 100644 index 00000000..82cb28d7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + +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; + +import java.util.List; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: SalesDataFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesDataFeignFallback
+ * Description: 销售数据.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SalesDataFeignFallback implements SalesDataFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/salesdata/listPage无法访问"); + } + + @Override + public ResultBean save(SalesDataDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/salesdata/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise/salesdata/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise/salesdata/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataQuery.java new file mode 100644 index 00000000..37ec8960 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataQuery.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: SalesDataQuery.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesDataQuery
+ * Description: 销售数据 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "销售数据 查询条件", description = "销售数据 查询条件") +public class SalesDataQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("销售订单号") + private String code; // 销售订单号 + @ApiModelProperty("商品编码") + private String proCode; // 商品编码 + @ApiModelProperty("商品条码") + private String proBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("销售数量") + private String saleNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售价格") + private String salePrice; // 销售价格 + @ApiModelProperty("销售渠道名称") + private String storeName; // 销售渠道名称 + @ApiModelProperty("销售成本") + private String saleCost; // 销售成本 + @ApiModelProperty("利润") + private String profit; // 利润 + @ApiModelProperty("数据日期") + private String dataDate; // 数据日期 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("客户代码") + private String customerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String categoryb; // 大类 + @ApiModelProperty("种类") + private String categorym; // 种类 + @ApiModelProperty("小类") + private String categorys; // 小类 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataVo.java new file mode 100644 index 00000000..3e0c8282 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/salesdata/SalesDataVo.java @@ -0,0 +1,97 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.salesdata; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise(宇信通监管)
+ * File: SalesDataVo.java
+ * Class: com.yxt.supervise.portal.api.salesdata.SalesDataVo
+ * Description: 销售数据 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-24 20:43:02
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "销售数据 视图数据对象", description = "销售数据 视图数据对象") +public class SalesDataVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("销售订单号") + private String code; // 销售订单号 + @ApiModelProperty("商品编码") + private String proCode; // 商品编码 + @ApiModelProperty("商品条码") + private String proBarCode; // 商品条码 + @ApiModelProperty("商品名称") + private String proName; // 商品名称 + @ApiModelProperty("销售数量") + private String saleNum; // 销售数量 + @ApiModelProperty("销售渠道") + private String storeCode; // 销售渠道 + @ApiModelProperty("销售渠道名称") + private String storeName; // 销售渠道名称 + @ApiModelProperty("销售价格") + private String salePrice; // 销售价格 + @ApiModelProperty("销售成本") + private String saleCost; // 销售成本 + @ApiModelProperty("利润") + private String profit; // 利润 + @ApiModelProperty("数据日期") + private String dataDate; // 数据日期 + @ApiModelProperty("类型") + private String type; // 类型 + @ApiModelProperty("客户代码") + private String customerCode; // 客户代码 + @ApiModelProperty("客户名称") + private String customerName; // 客户名称 + @ApiModelProperty("品牌代码") + private String brandCode; // 品牌代码 + @ApiModelProperty("品牌名称") + private String brandName; // 品牌名称 + @ApiModelProperty("大类") + private String categoryb; // 大类 + @ApiModelProperty("种类") + private String categorym; // 种类 + @ApiModelProperty("小类") + private String categorys; // 小类 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreIn.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreIn.java new file mode 100644 index 00000000..627d605c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreIn.java @@ -0,0 +1,22 @@ +package com.yxt.supervise.portal.api.storein; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + +@Data +@ApiModel(value = "入库单", description = "入库单") +@TableName("storein") +public class StoreIn extends BaseEntity { + + private String orgCode; // 企业组织机构代码证 + private String storeCode; // 仓库/门店编号 + private String storeName; // 仓库/门店名称 + private Date receiptTime; //收货时间 + private String billNo; // 单据号 + private String billType; // 单据类型 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreInItem.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreInItem.java new file mode 100644 index 00000000..329a3388 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreInItem.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.portal.api.storein; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + +@Data +@ApiModel(value = "入库单", description = "入库单") +@TableName("storein_item") +public class StoreInItem extends BaseEntity { + + private String storeinSid; // 入库单SID + private String billNo; // 单据号 + private String supplierSid; // 供应商SID + private String supplierCode; // 供应商代码 + private String supplierName; // 供应商名称 + private String productCode; // 货号 + private String productName; // 商品名称 + private Date productDate; // 商品生产日期 + private Integer productQualityGuaranteePeriod; //商品保质期(天) + private String productSpecifications; // 商品规格 + private String categoryKey; // 类别编号 + private String category; // 类别名称 + private String categoryOne; // 一级类别名称 + private String categoryTwo; // 二级类别名称 + private Double inPrice; // 入库金额 + private Integer inNumber; // 入库数量 + private Double costPrice; // 成本金额 + private Double costTaxPrice; // 成本税额 + private Double notTaxPrice; // 不含税成本 + private Integer inputTaxRate; // 进项税率 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreInWithItemDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreInWithItemDto.java new file mode 100644 index 00000000..faf27256 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storein/StoreInWithItemDto.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.portal.api.storein; + +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +@Data +public class StoreInWithItemDto { + + private StoreIn storeIn; + + private List itemList = new ArrayList<>(); +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfo.java new file mode 100644 index 00000000..13d20c1f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfo.java @@ -0,0 +1,88 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfo.java
+ * Class: com.supervise.api.storeinfo.StoreInfo
+ * Description: 门店信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "门店信息", description = "门店信息") +@TableName("store_info") +public class StoreInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("单位类型") + private String type; // 单位类型 + @ApiModelProperty("配货价") + private String productPrice; // 单位类型 + @ApiModelProperty("区域") + private String region; // 区域 + @ApiModelProperty("门店经营商品方案") + private String programme; + @ApiModelProperty("组代码") + private String groupCode; + @ApiModelProperty("经度") + private String longitude; + @ApiModelProperty("纬度") + private String latitude; + @ApiModelProperty("上级") + private String parentSid; // 上级 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("是否加盟店0不是,1是") + private String isJoin; +// 是否石家庄内0不是,1是 + @ApiModelProperty("是否石家庄内0不是,1是") + private String isSjz; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoDetailsVo.java new file mode 100644 index 00000000..995da4c7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoDetailsVo.java @@ -0,0 +1,107 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfoVo.java
+ * Class: com.supervise.api.storeinfo.StoreInfoVo
+ * Description: 门店信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "门店信息 视图数据详情", description = "门店信息 视图数据详情") +public class StoreInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("上级") + private String parentSid; // 上级 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("单位类型") + private String type; // 单位类型 + @ApiModelProperty("配货价") + private String productPrice; // 单位类型 + @ApiModelProperty("区域") + private String region; // 区域 + @ApiModelProperty("门店经营商品方案") + private String programme; + @ApiModelProperty("组代码") + private String groupCode; + @ApiModelProperty("经度") + private String longitude; + @ApiModelProperty("纬度") + private String latitude; + @ApiModelProperty("是否加盟店0不是,1是") + private String isJoin; + // 是否石家庄内0不是,1是 + @ApiModelProperty("是否石家庄内0不是,1是") + private String isSjz; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoDto.java new file mode 100644 index 00000000..fcd5cb55 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoDto.java @@ -0,0 +1,107 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfoDto.java
+ * Class: com.supervise.api.storeinfo.StoreInfoDto
+ * Description: 门店信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "门店信息 数据传输对象", description = "门店信息 数据传输对象") +public class StoreInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("上级") + private String parentSid; // 上级 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("单位类型") + private String type; // 单位类型 + @ApiModelProperty("配货价") + private String productPrice; // 单位类型 + @ApiModelProperty("区域") + private String region; // 区域 + @ApiModelProperty("门店经营商品方案") + private String programme; + @ApiModelProperty("组代码") + private String groupCode; + @ApiModelProperty("经度") + private String longitude; + @ApiModelProperty("纬度") + private String latitude; + @ApiModelProperty("是否加盟店0不是,1是") + private String isJoin; + // 是否石家庄内0不是,1是 + @ApiModelProperty("是否石家庄内0不是,1是") + private String isSjz; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoFeign.java new file mode 100644 index 00000000..8c416d33 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfoFeign.java
+ * Class: com.supervise.api.storeinfo.StoreInfoFeign
+ * Description: 门店信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "门店信息") +@FeignClient( + contextId = "yxt-supervise-StoreInfo", + name = "yxt-supervise", + path = "v1/storeinfo", + fallback = StoreInfoFeignFallback.class) +public interface StoreInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody StoreInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoFeignFallback.java new file mode 100644 index 00000000..0461c0f1 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfoFeignFallback.java
+ * Class: com.supervise.api.storeinfo.StoreInfoFeignFallback
+ * Description: 门店信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class StoreInfoFeignFallback implements StoreInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/storeinfo/listPage无法访问"); + } + + @Override + public ResultBean save(StoreInfoDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/storeinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/storeinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/storeinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoQuery.java new file mode 100644 index 00000000..90105d7a --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoQuery.java @@ -0,0 +1,105 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfoQuery.java
+ * Class: com.supervise.api.storeinfo.StoreInfoQuery
+ * Description: 门店信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "门店信息 查询条件", description = "门店信息 查询条件") +public class StoreInfoQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("上级") + private String parentSid; // 上级 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("单位类型") + private String type; // 单位类型 + @ApiModelProperty("配货价") + private String productPrice; // 单位类型 + @ApiModelProperty("区域") + private String region; // 区域 + @ApiModelProperty("门店经营商品方案") + private String programme; + @ApiModelProperty("组代码") + private String groupCode; + @ApiModelProperty("经度") + private String longitude; + @ApiModelProperty("纬度") + private String latitude; + @ApiModelProperty("是否加盟店0不是,1是") + private String isJoin; + // 是否石家庄内0不是,1是 + @ApiModelProperty("是否石家庄内0不是,1是") + private String isSjz; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoVo.java new file mode 100644 index 00000000..2154d26a --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeinfo/StoreInfoVo.java @@ -0,0 +1,107 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: StoreInfoVo.java
+ * Class: com.supervise.api.storeinfo.StoreInfoVo
+ * Description: 门店信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "门店信息 视图数据对象", description = "门店信息 视图数据对象") +public class StoreInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("上级") + private String parentSid; // 上级 + @ApiModelProperty("法人") + private String legalPerson; // 法人 + @ApiModelProperty("单位类型") + private String type; // 单位类型 + @ApiModelProperty("配货价") + private String productPrice; // 单位类型 + @ApiModelProperty("区域") + private String region; // 区域 + @ApiModelProperty("门店经营商品方案") + private String programme; + @ApiModelProperty("组代码") + private String groupCode; + @ApiModelProperty("经度") + private String longitude; + @ApiModelProperty("纬度") + private String latitude; + @ApiModelProperty("是否加盟店0不是,1是") + private String isJoin; + // 是否石家庄内0不是,1是 + @ApiModelProperty("是否石家庄内0不是,1是") + private String isSjz; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOut.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOut.java new file mode 100644 index 00000000..91ab6721 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOut.java @@ -0,0 +1,59 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeout; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + +/** + * Project: yxt_supervise
+ * File: StoreOut.java
+ * Class: com.yxt.supervise.portal.api.StoreOut
+ * Description: <描述类的功能>.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022/11/24 0:40
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "出库单", description = "出库单") +@TableName("storeout") +public class StoreOut extends BaseEntity { + + private String orgCode; // 企业组织机构代码证 + private String storeCode; // 仓库/门店编号 + private String storeName; // 仓库/门店名称 + private Date outTime; //出库时间 + private String billNo; // 单据号 + private String billType; // 单据类型 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOutAndItemDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOutAndItemDto.java new file mode 100644 index 00000000..00b5188b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOutAndItemDto.java @@ -0,0 +1,50 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeout; + +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +/** + * Project: yxt_supervise
+ * File: StoreOutAndItemDto.java
+ * Class: com.yxt.supervise.portal.api.storeout.StoreOutAndItemDto
+ * Description: <描述类的功能>.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022/11/24 1:01
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +public class StoreOutAndItemDto { + private StoreOut storeOut; + private List itemList = new ArrayList<>(); +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOutItem.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOutItem.java new file mode 100644 index 00000000..7fccdc58 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/storeout/StoreOutItem.java @@ -0,0 +1,73 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.storeout; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + +/** + * Project: yxt_supervise
+ * File: StoreOutItem.java
+ * Class: com.yxt.supervise.portal.api.storeout.StoreOutItem
+ * Description: <描述类的功能>.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022/11/24 0:52
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "出库明细", description = "出库明细") +@TableName("storeout_item") +public class StoreOutItem extends BaseEntity { + + private String storeoutSid; // '出库单SID' + private String billNo; // 单据号 + private String supplierSid; // 供应商SID + private String supplierCode; // 供应商代码 + private String supplierName; // 供应商名称 + private String productCode; // 货号 + private String productName; // 商品名称 + private Date productDate; // 商品生产日期 + private Integer productQualityGuaranteePeriod; //商品保质期(天) + private String productSpecifications; // 商品规格 + private String categoryKey; // 类别编号 + private String category; // 类别名称 + private String categoryOne; // 一级类别名称 + private String categoryTwo; // 二级类别名称 + private Double outPrice; // '出库金额' + private Integer outNumber; // '出库数量' + private Double costPrice; // 成本金额 + private Double costTaxPrice; // 成本税额 + private Double notTaxPrice; // 不含税成本 + private Integer inputTaxRate; // 进项税率 +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReport.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReport.java new file mode 100644 index 00000000..4a50914f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReport.java @@ -0,0 +1,41 @@ +package com.yxt.supervise.portal.api.supplierarrivalreport; + +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; + +/** + * @author wangpengfei + * @date 2023/4/19 13:40 + */ +@Data +@ApiModel(value = "销售信息", description = "销售信息") +@TableName("purchase_requisition_tobacco") +public class SupplierArrivalReport extends BaseEntity { + @ApiModelProperty("订单编号") + private String code; + @ApiModelProperty("订单时间") + //订单时间 + private String purchaseDate; + @ApiModelProperty("到货时间") + //到货时间 + private String arrivalDate; + @ApiModelProperty("供货商名称") + //供货商名称 + private String supplierName; + @ApiModelProperty("放款金额") + //放款金额 + private String loanAmount; + @ApiModelProperty("订单金额") + //订单金额 + private String orderAmount; + @ApiModelProperty("实际到货") + //实际到货 + private String actualArrival; + @ApiModelProperty("在途") + //在途 + private String transit; + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportFeign.java new file mode 100644 index 00000000..5787b9f3 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportFeign.java @@ -0,0 +1,8 @@ +package com.yxt.supervise.portal.api.supplierarrivalreport; + +/** + * @author wangpengfei + * @date 2023/4/19 13:57 + */ +public interface SupplierArrivalReportFeign { +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportQuery.java new file mode 100644 index 00000000..fc65b91c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.portal.api.supplierarrivalreport; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/19 13:41 + */ +@Data +public class SupplierArrivalReportQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportVo.java new file mode 100644 index 00000000..383a08f8 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierarrivalreport/SupplierArrivalReportVo.java @@ -0,0 +1,56 @@ +package com.yxt.supervise.portal.api.supplierarrivalreport; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/4/19 13:41 + */ +@Data +public class SupplierArrivalReportVo implements Vo { + + @ApiModelProperty("订单编号") + private String code; + //订单时间 + @ApiModelProperty("订单时间") + private String purchaseDate; + //到货时间 + @ApiModelProperty("到货时间") + private String arrivalDate; + //供货商名称 + @ApiModelProperty("供货商名称") + private String supplierName; + //放款金额 + @ApiModelProperty("放款金额") + private String loanAmount; + //订单金额 + @ApiModelProperty("订单金额") + private BigDecimal orderAmount; + //实际到货 + @ApiModelProperty("实际到货") + private BigDecimal actualArrival; + //实际到货数量 + private String actualArrivalNumber; + //在途 + @ApiModelProperty("在途") + private BigDecimal transit; + //在途数量 + private String transitNumber; + //销售渠道 + private String storeName; + //订单到货价值 + private String orderArrivalAmount; + //超出 + private BigDecimal exceed; + //数量 + private String number; + //商品名 + private String proName; + //是否延期 + private String logo; + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfo.java new file mode 100644 index 00000000..779a1963 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfo.java @@ -0,0 +1,91 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfo.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfo
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息", description = "供应商信息") +@TableName("supplier_bank_info") +public class SupplierBankInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一编码") + private String codeUnified; // 统一编码 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("银行帐户") + private String bankAccount; // 银行帐户 + @ApiModelProperty("帐号") + private String bankAccountNumber; // 帐号 + @ApiModelProperty("开户行名称") + private String bankName; // 开户行名称 + @ApiModelProperty("法人") + private String legalRepresentative; // 法人 + @ApiModelProperty("营业执照号") + private String businessLicenseNo; // 营业执照号 + @ApiModelProperty("监管审核状态0待审核1为通过2为拒绝") + private Integer purchaseRequisition; // 监管审核状态0待审核1为通过2为拒绝 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private Integer bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("锁定状态1.锁定2.未锁定 ") + private Integer lockingStatus; + @ApiModelProperty("锁定原因") + private String lockingReason; + + /* @ApiModelProperty("营业执照附件") + private String businessLicenseFiles; // 营业执照附件*/ + /* @ApiModelProperty("合同信息") + private SupplierContractInfoDto supplierContractInfoDto; // 合同信息*/ +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoDetailsVo.java new file mode 100644 index 00000000..274d03b4 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoDetailsVo.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfoVo.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfoVo
+ * Description: 供应商信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 视图数据详情", description = "供应商信息 视图数据详情") +public class SupplierBankInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一编码") + private String codeUnified; // 统一编码 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("银行帐户") + private String bankAccount; // 银行帐户 + @ApiModelProperty("帐号") + private String bankAccountNumber; // 帐号 + @ApiModelProperty("开户行名称") + private String bankName; // 开户行名称 + @ApiModelProperty("法人") + private String legalRepresentative; // 法人 + @ApiModelProperty("营业执照号") + private String businessLicenseNo; // 营业执照号 + @ApiModelProperty("监管审核状态0待审核1为通过2为拒绝") + private Integer purchaseRequisition; // 监管审核状态0待审核1为通过2为拒绝 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private Integer bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("营业执照附件") + private String[] businessLicenseFiles; // 营业执照附件 + @ApiModelProperty("合同照片") + private String[] contractFiles; // 合同照片 + @ApiModelProperty("合同信息") + private SupplierContractInfoDto supplierContractInfoDto; // 合同信息 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoDto.java new file mode 100644 index 00000000..f3b2404a --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoDto.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + + +import com.yxt.common.core.dto.Dto; + +import com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoDto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfoDto.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfoDto
+ * Description: 供应商信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 数据传输对象", description = "供应商信息 数据传输对象") +public class SupplierBankInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一编码") + private String codeUnified; // 统一编码 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("银行帐户") + private String bankAccount; // 银行帐户 + @ApiModelProperty("帐号") + private String bankAccountNumber; // 帐号 + @ApiModelProperty("开户行名称") + private String bankName; // 开户行名称 + @ApiModelProperty("法人") + private String legalRepresentative; // 法人 + @ApiModelProperty("营业执照号") + private String businessLicenseNo; // 营业执照号 + @ApiModelProperty("监管审核状态0待审核1为通过2为拒绝") + private Integer purchaseRequisition; // 监管审核状态0待审核1为通过2为拒绝 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private Integer bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + @ApiModelProperty("营业执照附件") + private String[] businessLicenseFiles; // 营业执照附件 + @ApiModelProperty("合同照片") + private String[] contractFiles; // 合同照片 + @ApiModelProperty("合同信息") + private SupplierContractInfoDto supplierContractInfoDto; // 合同信息 +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoFeign.java new file mode 100644 index 00000000..1a27c090 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfoFeign.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfoFeign
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "供应商信息") +@FeignClient( + contextId = "supervise-SupplierBankInfo", + name = "supervise", + path = "v1/supplierbankinfo", + fallback = SupplierBankInfoFeignFallback.class) +public interface SupplierBankInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SupplierBankInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoFeignFallback.java new file mode 100644 index 00000000..59a41565 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoFeignFallback.java @@ -0,0 +1,73 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + +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; +import org.springframework.web.bind.annotation.RequestBody; + +import java.util.List; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfoFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfoFeignFallback
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SupplierBankInfoFeignFallback implements SupplierBankInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/supplierbankinfo/listPage无法访问"); + } + + @Override + public ResultBean save(SupplierBankInfoDto dto){ + return ResultBean.fireFail().setMsg("接口supervise/supplierbankinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[]sids){ + return ResultBean.fireFail().setMsg("接口supervise/supplierbankinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/supplierbankinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoQuery.java new file mode 100644 index 00000000..b4c20e4f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoQuery.java @@ -0,0 +1,81 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfoQuery.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfoQuery
+ * Description: 供应商信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 查询条件", description = "供应商信息 查询条件") +public class SupplierBankInfoQuery implements Query { + + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一编码") + private String codeUnified; // 统一编码 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("银行帐户") + private String bankAccount; // 银行帐户 + @ApiModelProperty("帐号") + private String bankAccountNumber; // 帐号 + @ApiModelProperty("开户行名称") + private String bankName; // 开户行名称 + @ApiModelProperty("法人") + private String legalRepresentative; // 法人 + @ApiModelProperty("营业执照号") + private String businessLicenseNo; // 营业执照号 + @ApiModelProperty("监管审核状态0待审核1为通过2为拒绝") + private Integer purchaseRequisition; // 监管审核状态0待审核1为通过2为拒绝 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private Integer bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoVo.java new file mode 100644 index 00000000..8a6ecf29 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbankinfo/SupplierBankInfoVo.java @@ -0,0 +1,83 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbankinfo; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(supervise)
+ * File: SupplierBankInfoVo.java
+ * Class: com.yxt.supervise.portal.api.supplierbankinfo.SupplierBankInfoVo
+ * Description: 供应商信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-12 22:02:22
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 视图数据对象", description = "供应商信息 视图数据对象") +public class SupplierBankInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一编码") + private String codeUnified; // 统一编码 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("银行帐户") + private String bankAccount; // 银行帐户 + @ApiModelProperty("帐号") + private String bankAccountNumber; // 帐号 + @ApiModelProperty("开户行名称") + private String bankName; // 开户行名称 + @ApiModelProperty("法人") + private String legalRepresentative; // 法人 + @ApiModelProperty("营业执照号") + private String businessLicenseNo; // 营业执照号 + @ApiModelProperty("监管审核状态0待审核1为通过2为拒绝") + private Integer purchaseRequisition; // 监管审核状态0待审核1为通过2为拒绝 + @ApiModelProperty("监管审批意见") + private String purchaseRemarks; // 监管审批意见 + @ApiModelProperty("银行0未审核,1审核通过,2审核不通过") + private Integer bankState; // 银行0未审核,1审核通过,2审核不通过 + @ApiModelProperty("银行审批意见") + private String bankRemarks; // 银行审批意见 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrand.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrand.java new file mode 100644 index 00000000..4ba08706 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrand.java @@ -0,0 +1,60 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrand.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrand
+ * Description: 供应商与品牌表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商与品牌表", description = "供应商与品牌表") +@TableName("supplier_brand") +public class SupplierBrand extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("代码") + private String supplierSid; // 代码 + @ApiModelProperty("名称") + private String brandSid; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandDetailsVo.java new file mode 100644 index 00000000..6f774816 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandDetailsVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrandVo.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrandVo
+ * Description: 供应商与品牌表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商与品牌表 视图数据详情", description = "供应商与品牌表 视图数据详情") +public class SupplierBrandDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String supplierSid; // 代码 + @ApiModelProperty("名称") + private String brandSid; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandDto.java new file mode 100644 index 00000000..17fb48a0 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandDto.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrandDto.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrandDto
+ * Description: 供应商与品牌表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商与品牌表 数据传输对象", description = "供应商与品牌表 数据传输对象") +public class SupplierBrandDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String supplierSid; // 代码 + @ApiModelProperty("名称") + private String brandSid; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandFeign.java new file mode 100644 index 00000000..e6c1359d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrandFeign.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrandFeign
+ * Description: 供应商与品牌表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "供应商与品牌表") +@FeignClient( + contextId = "yxt-supervise-SupplierBrand", + name = "yxt-supervise", + path = "v1/supplierbrand", + fallback = SupplierBrandFeignFallback.class) +public interface SupplierBrandFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SupplierBrandDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandFeignFallback.java new file mode 100644 index 00000000..6b9f4e12 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrandFeignFallback.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrandFeignFallback
+ * Description: 供应商与品牌表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class SupplierBrandFeignFallback implements SupplierBrandFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/supplierbrand/listPage无法访问"); + } + + @Override + public ResultBean save(SupplierBrandDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/supplierbrand/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/supplierbrand/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/supplierbrand/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandQuery.java new file mode 100644 index 00000000..b877af9c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandQuery.java @@ -0,0 +1,77 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrandQuery.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrandQuery
+ * Description: 供应商与品牌表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商与品牌表 查询条件", description = "供应商与品牌表 查询条件") +public class SupplierBrandQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String supplierSid; // 代码 + @ApiModelProperty("名称") + private String brandSid; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandVo.java new file mode 100644 index 00000000..c28c8dcc --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierbrand/SupplierBrandVo.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierbrand; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierBrandVo.java
+ * Class: com.supervise.api.supplierbrand.SupplierBrandVo
+ * Description: 供应商与品牌表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商与品牌表 视图数据对象", description = "供应商与品牌表 视图数据对象") +public class SupplierBrandVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String supplierSid; // 代码 + @ApiModelProperty("名称") + private String brandSid; // 名称 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfo.java new file mode 100644 index 00000000..3a2a387d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfo.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + +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: supervise(监管)
+ * File: SupplierContractInfo.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfo
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:48
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息", description = "供应商信息") +@TableName("supplier_contract_info") +public class SupplierContractInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("合同编号") + private String contractNo; // 合同编号 + @ApiModelProperty("合同有效期") + private String contractValidity; // 合同有效期 + @ApiModelProperty("签署部门") + private String signingDepartment; // 签署部门 + @ApiModelProperty("签署人") + private String signatory; // 签署人 + @ApiModelProperty("经办人") + private String handledBy; // 经办人 + @ApiModelProperty("签署组织") + private String signingOrganization; // 签署组织 + @ApiModelProperty("合同金额") + private String contractPrice; // 合同金额 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoDetailsVo.java new file mode 100644 index 00000000..42f0cb58 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoDetailsVo.java @@ -0,0 +1,71 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(监管)
+ * File: SupplierContractInfoVo.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoVo
+ * Description: 供应商信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:49
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 视图数据详情", description = "供应商信息 视图数据详情") +public class SupplierContractInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("合同编号") + private String contractNo; // 合同编号 + @ApiModelProperty("合同有效期") + private String contractValidity; // 合同有效期 + @ApiModelProperty("签署部门") + private String signingDepartment; // 签署部门 + @ApiModelProperty("签署人") + private String signatory; // 签署人 + @ApiModelProperty("经办人") + private String handledBy; // 经办人 + @ApiModelProperty("签署组织") + private String signingOrganization; // 签署组织 + @ApiModelProperty("合同金额") + private String contractPrice; // 合同金额 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoDto.java new file mode 100644 index 00000000..3e42b6d6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoDto.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(监管)
+ * File: SupplierContractInfoDto.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoDto
+ * Description: 供应商信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:48
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 数据传输对象", description = "供应商信息 数据传输对象") +public class SupplierContractInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("合同编号") + private String contractNo; // 合同编号 + @ApiModelProperty("合同有效期") + private String contractValidity; // 合同有效期 + @ApiModelProperty("签署部门") + private String signingDepartment; // 签署部门 + @ApiModelProperty("签署人") + private String signatory; // 签署人 + @ApiModelProperty("经办人") + private String handledBy; // 经办人 + @ApiModelProperty("签署组织") + private String signingOrganization; // 签署组织 + @ApiModelProperty("合同金额") + private String contractPrice; // 合同金额 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoFeign.java new file mode 100644 index 00000000..2185b931 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: supervise(监管)
+ * File: SupplierContractInfoFeign.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoFeign
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:48
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "供应商信息") +@FeignClient( + contextId = "supervise-SupplierContractInfo", + name = "supervise", + path = "v1/suppliercontractinfo", + fallback = SupplierContractInfoFeignFallback.class) +public interface SupplierContractInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SupplierContractInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoFeignFallback.java new file mode 100644 index 00000000..70e9f3de --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + +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; + +import java.util.List; + +/** + * Project: supervise(监管)
+ * File: SupplierContractInfoFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoFeignFallback
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:49
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SupplierContractInfoFeignFallback implements SupplierContractInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/suppliercontractinfo/listPage无法访问"); + } + + @Override + public ResultBean save(SupplierContractInfoDto dto){ + return ResultBean.fireFail().setMsg("接口supervise/suppliercontractinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口supervise/suppliercontractinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/suppliercontractinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoQuery.java new file mode 100644 index 00000000..1699fed9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoQuery.java @@ -0,0 +1,65 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(监管)
+ * File: SupplierContractInfoQuery.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoQuery
+ * Description: 供应商信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:48
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 查询条件", description = "供应商信息 查询条件") +public class SupplierContractInfoQuery implements Query { + + @ApiModelProperty("合同编号") + private String contractNo; // 合同编号 + @ApiModelProperty("合同有效期") + private String contractValidity; // 合同有效期 + @ApiModelProperty("签署部门") + private String signingDepartment; // 签署部门 + @ApiModelProperty("签署人") + private String signatory; // 签署人 + @ApiModelProperty("合同金额") + private String contractPrice; // 合同金额 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoVo.java new file mode 100644 index 00000000..c3161560 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/suppliercontractinfo/SupplierContractInfoVo.java @@ -0,0 +1,71 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.suppliercontractinfo; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(监管)
+ * File: SupplierContractInfoVo.java
+ * Class: com.yxt.supervise.portal.api.suppliercontractinfo.SupplierContractInfoVo
+ * Description: 供应商信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-21 11:53:48
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 视图数据对象", description = "供应商信息 视图数据对象") +public class SupplierContractInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("合同编号") + private String contractNo; // 合同编号 + @ApiModelProperty("合同有效期") + private String contractValidity; // 合同有效期 + @ApiModelProperty("签署部门") + private String signingDepartment; // 签署部门 + @ApiModelProperty("签署人") + private String signatory; // 签署人 + @ApiModelProperty("经办人") + private String handledBy; // 经办人 + @ApiModelProperty("签署组织") + private String signingOrganization; // 签署组织 + @ApiModelProperty("合同金额") + private String contractPrice; // 合同金额 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinance.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinance.java new file mode 100644 index 00000000..4ca75fa9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinance.java @@ -0,0 +1,74 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinance.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinance
+ * Description: 供应商财务信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商财务信息", description = "供应商财务信息") +@TableName("supplier_finance") +public class SupplierFinance extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("开户银行") + private String bankOfDeposit; // 开户银行 + @ApiModelProperty("银行账号") + private String bankAccount; // 银行账号 + @ApiModelProperty("账户名称") + private String titleOfAccount; // 账户名称 + @ApiModelProperty("收款银行") + private String receivingBank; // 收款银行 + @ApiModelProperty("开户行地址") + private String bankAddress; // 开户行地址 + @ApiModelProperty("联行号") + private String interBankNo; // 联行号 + @ApiModelProperty("swiftcode") + private String swiftcode; // swiftcode + @ApiModelProperty("台头") + private String abutment; // 台头 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceDetailsVo.java new file mode 100644 index 00000000..9b958068 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceDetailsVo.java @@ -0,0 +1,93 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinanceVo.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinanceVo
+ * Description: 供应商财务信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商财务信息 视图数据详情", description = "供应商财务信息 视图数据详情") +public class SupplierFinanceDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("开户银行") + private String bankOfDeposit; // 开户银行 + @ApiModelProperty("银行账号") + private String bankAccount; // 银行账号 + @ApiModelProperty("账户名称") + private String titleOfAccount; // 账户名称 + @ApiModelProperty("收款银行") + private String receivingBank; // 收款银行 + @ApiModelProperty("开户行地址") + private String bankAddress; // 开户行地址 + @ApiModelProperty("联行号") + private String interBankNo; // 联行号 + @ApiModelProperty("swiftcode") + private String swiftcode; // swiftcode + @ApiModelProperty("台头") + private String abutment; // 台头 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceDto.java new file mode 100644 index 00000000..a5662a0d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceDto.java @@ -0,0 +1,93 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinanceDto.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinanceDto
+ * Description: 供应商财务信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商财务信息 数据传输对象", description = "供应商财务信息 数据传输对象") +public class SupplierFinanceDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("开户银行") + private String bankOfDeposit; // 开户银行 + @ApiModelProperty("银行账号") + private String bankAccount; // 银行账号 + @ApiModelProperty("账户名称") + private String titleOfAccount; // 账户名称 + @ApiModelProperty("收款银行") + private String receivingBank; // 收款银行 + @ApiModelProperty("开户行地址") + private String bankAddress; // 开户行地址 + @ApiModelProperty("联行号") + private String interBankNo; // 联行号 + @ApiModelProperty("swiftcode") + private String swiftcode; // swiftcode + @ApiModelProperty("台头") + private String abutment; // 台头 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceFeign.java new file mode 100644 index 00000000..00c8a819 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinanceFeign.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinanceFeign
+ * Description: 供应商财务信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "供应商财务信息") +@FeignClient( + contextId = "yxt-supervise-SupplierFinance", + name = "yxt-supervise", + path = "v1/supplierfinance", + fallback = SupplierFinanceFeignFallback.class) +public interface SupplierFinanceFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SupplierFinanceDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceFeignFallback.java new file mode 100644 index 00000000..8aeba1b2 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinanceFeignFallback.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinanceFeignFallback
+ * Description: 供应商财务信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class SupplierFinanceFeignFallback implements SupplierFinanceFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/supplierfinance/listPage无法访问"); + } + + @Override + public ResultBean save(SupplierFinanceDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/supplierfinance/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/supplierfinance/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/supplierfinance/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceQuery.java new file mode 100644 index 00000000..71f24c77 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceQuery.java @@ -0,0 +1,91 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinanceQuery.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinanceQuery
+ * Description: 供应商财务信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商财务信息 查询条件", description = "供应商财务信息 查询条件") +public class SupplierFinanceQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("开户银行") + private String bankOfDeposit; // 开户银行 + @ApiModelProperty("银行账号") + private String bankAccount; // 银行账号 + @ApiModelProperty("账户名称") + private String titleOfAccount; // 账户名称 + @ApiModelProperty("收款银行") + private String receivingBank; // 收款银行 + @ApiModelProperty("开户行地址") + private String bankAddress; // 开户行地址 + @ApiModelProperty("联行号") + private String interBankNo; // 联行号 + @ApiModelProperty("swiftcode") + private String swiftcode; // swiftcode + @ApiModelProperty("台头") + private String abutment; // 台头 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceVo.java new file mode 100644 index 00000000..0f846b0f --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierfinance/SupplierFinanceVo.java @@ -0,0 +1,93 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierfinance; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierFinanceVo.java
+ * Class: com.supervise.api.supplierfinance.SupplierFinanceVo
+ * Description: 供应商财务信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商财务信息 视图数据对象", description = "供应商财务信息 视图数据对象") +public class SupplierFinanceVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("开户银行") + private String bankOfDeposit; // 开户银行 + @ApiModelProperty("银行账号") + private String bankAccount; // 银行账号 + @ApiModelProperty("账户名称") + private String titleOfAccount; // 账户名称 + @ApiModelProperty("收款银行") + private String receivingBank; // 收款银行 + @ApiModelProperty("开户行地址") + private String bankAddress; // 开户行地址 + @ApiModelProperty("联行号") + private String interBankNo; // 联行号 + @ApiModelProperty("swiftcode") + private String swiftcode; // swiftcode + @ApiModelProperty("台头") + private String abutment; // 台头 + @ApiModelProperty("供应商sid") + private String supplierSid; // 供应商sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndex.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndex.java new file mode 100644 index 00000000..62e148e0 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndex.java @@ -0,0 +1,64 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + +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: supervise(宇信通监管)
+ * File: SupplierIndex.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndex
+ * Description: 供货商编码对应表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供货商编码对应表", description = "供货商编码对应表") +@TableName("supplier_index") +public class SupplierIndex { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一的编码") + private String codeUnified; // 统一的编码 + @ApiModelProperty("统一的名称") + private String nameUnified; // 统一的名称 + @ApiModelProperty("父类Sid") + private String PSid; // 父类Sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexDetailsVo.java new file mode 100644 index 00000000..b52c63cc --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexDetailsVo.java @@ -0,0 +1,65 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: SupplierIndexVo.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndexVo
+ * Description: 供货商编码对应表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供货商编码对应表 视图数据详情", description = "供货商编码对应表 视图数据详情") +public class SupplierIndexDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一的编码") + private String codeUnified; // 统一的编码 + @ApiModelProperty("统一的名称") + private String nameUnified; // 统一的名称 + @ApiModelProperty("父类Sid") + private String PSid; // 父类Sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexDto.java new file mode 100644 index 00000000..2f24949b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexDto.java @@ -0,0 +1,68 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * Project: supervise(宇信通监管)
+ * File: SupplierIndexDto.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndexDto
+ * Description: 供货商编码对应表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供货商编码对应表 数据传输对象", description = "供货商编码对应表 数据传输对象") +public class SupplierIndexDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一的编码") + private String codeUnified; // 统一的编码 + @ApiModelProperty("统一的名称") + private String nameUnified; // 统一的名称 + @ApiModelProperty("父类Sid") + private String PSid; // 父类Sid + @ApiModelProperty("supplierIndexDto") + private List list; // 父类Sid +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexFeign.java new file mode 100644 index 00000000..1f87d3a3 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexFeign.java @@ -0,0 +1,85 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: supervise(宇信通监管)
+ * File: SupplierIndexFeign.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndexFeign
+ * Description: 供货商编码对应表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "供货商编码对应表") +@FeignClient( + contextId = "supervise-SupplierIndex", + name = "supervise", + path = "v1/supplierindex", + fallback = SupplierIndexFeignFallback.class) +public interface SupplierIndexFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SupplierIndexDto dto); + @ApiOperation("保存关联供应商信息-验证") + @PostMapping("/verification") + @ResponseBody + public ResultBean verification(@RequestBody SupplierIndexDto dto); + @ApiOperation("保存关联供应商信息-新增保存") + @PostMapping("/verificationSave") + @ResponseBody + public ResultBean verificationSave(@RequestBody SupplierIndexDto dto); + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexFeignFallback.java new file mode 100644 index 00000000..662a3c07 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexFeignFallback.java @@ -0,0 +1,82 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + +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; + +import java.util.List; + +/** + * Project: supervise(宇信通监管)
+ * File: SupplierIndexFeignFallback.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndexFeignFallback
+ * Description: 供货商编码对应表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SupplierIndexFeignFallback implements SupplierIndexFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/supplierindex/listPage无法访问"); + } + + @Override + public ResultBean save(SupplierIndexDto dto){ + return ResultBean.fireFail().setMsg("接口supervise/supplierindex/save无法访问"); + } + + @Override + public ResultBean verification(SupplierIndexDto dto) { + return null; + } + + @Override + public ResultBean verificationSave(SupplierIndexDto dto) { + return null; + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口supervise/supplierindex/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口supervise/supplierindex/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexQuery.java new file mode 100644 index 00000000..a39b80f6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexQuery.java @@ -0,0 +1,63 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: SupplierIndexQuery.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndexQuery
+ * Description: 供货商编码对应表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供货商编码对应表 查询条件", description = "供货商编码对应表 查询条件") +public class SupplierIndexQuery implements Query { + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一的编码") + private String codeUnified; // 统一的编码 + @ApiModelProperty("统一的名称") + private String nameUnified; // 统一的名称 + @ApiModelProperty("父类Sid") + private String PSid; // 父类Sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexVo.java new file mode 100644 index 00000000..370d0d9e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierindex/SupplierIndexVo.java @@ -0,0 +1,65 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierindex; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: supervise(宇信通监管)
+ * File: SupplierIndexVo.java
+ * Class: com.yxt.supervise.portal.api.supplierindex.SupplierIndexVo
+ * Description: 供货商编码对应表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-12-23 15:44:32
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供货商编码对应表 视图数据对象", description = "供货商编码对应表 视图数据对象") +public class SupplierIndexVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("统一的编码") + private String codeUnified; // 统一的编码 + @ApiModelProperty("统一的名称") + private String nameUnified; // 统一的名称 + @ApiModelProperty("父类Sid") + private String PSid; // 父类Sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfo.java new file mode 100644 index 00000000..c6c8f5c8 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfo.java @@ -0,0 +1,66 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfo.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfo
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息", description = "供应商信息") +@TableName("supplier_info") +public class SupplierInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoDetailsVo.java new file mode 100644 index 00000000..371f39ad --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoDetailsVo.java @@ -0,0 +1,85 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfoVo.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfoVo
+ * Description: 供应商信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 视图数据详情", description = "供应商信息 视图数据详情") +public class SupplierInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoDto.java new file mode 100644 index 00000000..a9f68bc8 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoDto.java @@ -0,0 +1,95 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfoDto.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfoDto
+ * Description: 供应商信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 数据传输对象", description = "供应商信息 数据传输对象") +public class SupplierInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("法人") + private String legalRepresentative; // 法人 + @ApiModelProperty("银行账户") + private String bankAccount; // 银行账户 + @ApiModelProperty("银行账号") + private String bankAccountNumber; // 银行账号 + @ApiModelProperty("开户行") + private String bankName; // 开户行 + @ApiModelProperty("营业执照号码") + private String businessLicenseNo; // 营业执照号码 + @ApiModelProperty("营业执照附件") + private String businessLicenseFiles; // 电话 + @ApiModelProperty("合同照片") + private String contractFiles; // 合同照片 + @ApiModelProperty("合同编号") + private String contractNo; // 电话 + @ApiModelProperty("合同有效期") + private String contractValidity; // 合同有效期 + @ApiModelProperty("签署部门") + private String signingDepartment; // 签署部门 + @ApiModelProperty("签署人") + private String signatory; // 签署人 + @ApiModelProperty("合同金额") + private String contractPrice; // 合同金额 + + + + + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoFeign.java new file mode 100644 index 00000000..0a12e2a6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfoFeign.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfoFeign
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "供应商信息") +@FeignClient( + contextId = "yxt-supervise-SupplierInfo", + name = "yxt-supervise", + path = "v1/supplierinfo", + fallback = SupplierInfoFeignFallback.class) +public interface SupplierInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SupplierInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoFeignFallback.java new file mode 100644 index 00000000..cd1cec43 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfoFeignFallback.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfoFeignFallback
+ * Description: 供应商信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class SupplierInfoFeignFallback implements SupplierInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/supplierinfo/listPage无法访问"); + } + + @Override + public ResultBean save(SupplierInfoDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/supplierinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/supplierinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/supplierinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoQuery.java new file mode 100644 index 00000000..58e5863a --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoQuery.java @@ -0,0 +1,83 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfoQuery.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfoQuery
+ * Description: 供应商信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 查询条件", description = "供应商信息 查询条件") +public class SupplierInfoQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoVo.java new file mode 100644 index 00000000..3ef50544 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/supplierinfo/SupplierInfoVo.java @@ -0,0 +1,87 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.supplierinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: SupplierInfoVo.java
+ * Class: com.supervise.api.supplierinfo.SupplierInfoVo
+ * Description: 供应商信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:30
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "供应商信息 视图数据对象", description = "供应商信息 视图数据对象") +public class SupplierInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("代码") + private String code; // 代码 + @ApiModelProperty("唯一代码") + private String codeUnified; // 唯一代码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("地址") + private String address; // 地址 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("联系人") + private String contacts; // 联系人 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfig.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfig.java new file mode 100644 index 00000000..6c6cec75 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfig.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 14:34 + */ +@Data +@ApiModel(value = "模板 员工关联表", description = "模板 员工关联表") +@TableName("template_staff_config") +public class TemplateStaffConfig extends BaseEntity { + //模板sid + private String templateSid; + //员工sid + private String staffSid; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigDetailsVo.java new file mode 100644 index 00000000..c751038b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigDetailsVo.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 14:35 + */ +@Data +@ApiModel(value = "模板 员工关联表 视图数据详情", description = "模板 员工关联表 视图数据详情") +public class TemplateStaffConfigDetailsVo implements Vo { + private String id; + //模板sid + private String templateSid; + //员工sid + private String staffSid; + private String sid; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigDto.java new file mode 100644 index 00000000..66aa431d --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigDto.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 14:35 + */ +@Data +@ApiModel(value = "模板 员工关联表 数据传输对象", description = "模板 员工关联表 数据传输对象") +public class TemplateStaffConfigDto implements Dto { + private String id; + //模板sid + private String templateSid; + //员工sid + private String staffSid; + private String sid; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigFeign.java new file mode 100644 index 00000000..e241d577 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigFeign.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import io.swagger.annotations.Api; +import org.springframework.cloud.openfeign.FeignClient; + +/** + * @author wangpengfei + * @date 2023/4/10 14:35 + */ +@Api(tags = "模板 员工关联表") +@FeignClient( + contextId = "yxt-supervise-TemplateStaffConfig", + name = "yxt-supervise", + path = "v1/templatestaffconfig", + fallback = TemplateStaffConfigFeignFallback.class) +public interface TemplateStaffConfigFeign { +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigFeignFallback.java new file mode 100644 index 00000000..47f8b391 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigFeignFallback.java @@ -0,0 +1,11 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import org.springframework.stereotype.Component; + +/** + * @author wangpengfei + * @date 2023/4/10 14:35 + */ +@Component +public class TemplateStaffConfigFeignFallback implements TemplateStaffConfigFeign{ +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigQuery.java new file mode 100644 index 00000000..1b4d15d3 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigQuery.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 14:35 + */ +@Data +@ApiModel(value = "模板 员工关联表 查询条件", description = "模板 员工关联表 查询条件") +public class TemplateStaffConfigQuery implements Vo { + private String id; + //模板sid + private String templateSid; + //员工sid + private String staffSid; + private String sid; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigVo.java new file mode 100644 index 00000000..0e7722d1 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/templatestaffconfig/TemplateStaffConfigVo.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.portal.api.templatestaffconfig; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 14:35 + */ +@Data +@ApiModel(value = "模板 员工关联表 视图数据对象", description = "模板 员工关联表 视图数据对象") +public class TemplateStaffConfigVo implements Vo { + private String id; + //模板sid + private String templateSid; + //员工sid + private String staffSid; + private String sid; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfo.java new file mode 100644 index 00000000..dd77f1c8 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfo.java @@ -0,0 +1,70 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfo.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfo
+ * Description: 仓库信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓库信息", description = "仓库信息") +@TableName("warehouse_info") +public class WarehouseInfo extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("位置") + private String address; // 位置 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("负责人") + private String contacts; // 负责人 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("平方米") + private String squareMeter; // 平方米 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoDetailsVo.java new file mode 100644 index 00000000..92e787df --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoDetailsVo.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoVo.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoVo
+ * Description: 仓库信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓库信息 视图数据详情", description = "仓库信息 视图数据详情") +public class WarehouseInfoDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("位置") + private String address; // 位置 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("负责人") + private String contacts; // 负责人 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("平方米") + private String squareMeter; // 平方米 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoDto.java new file mode 100644 index 00000000..b641fa05 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoDto.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoDto.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoDto
+ * Description: 仓库信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓库信息 数据传输对象", description = "仓库信息 数据传输对象") +public class WarehouseInfoDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("位置") + private String address; // 位置 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("负责人") + private String contacts; // 负责人 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("平方米") + private String squareMeter; // 平方米 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoFeign.java new file mode 100644 index 00000000..5f3697be --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoFeign.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoFeign
+ * Description: 仓库信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "仓库信息") +@FeignClient( + contextId = "com.supervise-WarehouseInfo", + name = "com.supervise", + path = "v1/warehouseinfo", + fallback = WarehouseInfoFeignFallback.class) +public interface WarehouseInfoFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody WarehouseInfoDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoFeignFallback.java new file mode 100644 index 00000000..8a050ff9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + +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; + +import java.util.List; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoFeignFallback.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoFeignFallback
+ * Description: 仓库信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class WarehouseInfoFeignFallback implements WarehouseInfoFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseinfo/listPage无法访问"); + } + + @Override + public ResultBean save(WarehouseInfoDto dto){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseinfo/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseinfo/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseinfo/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoQuery.java new file mode 100644 index 00000000..c9f9d75c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoQuery.java @@ -0,0 +1,87 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoQuery.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoQuery
+ * Description: 仓库信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓库信息 查询条件", description = "仓库信息 查询条件") +public class WarehouseInfoQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("位置") + private String address; // 位置 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("负责人") + private String contacts; // 负责人 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("平方米") + private String squareMeter; // 平方米 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoVo.java new file mode 100644 index 00000000..d0da3ea1 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseinfo/WarehouseInfoVo.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseinfo; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseInfoVo.java
+ * Class: com.supervise.api.warehouseinfo.WarehouseInfoVo
+ * Description: 仓库信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓库信息 视图数据对象", description = "仓库信息 视图数据对象") +public class WarehouseInfoVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("位置") + private String address; // 位置 + @ApiModelProperty("电话") + private String telephone; // 电话 + @ApiModelProperty("负责人") + private String contacts; // 负责人 + @ApiModelProperty("门店sid") + private String storeSid; // 门店sid + @ApiModelProperty("平方米") + private String squareMeter; // 平方米 + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePosition.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePosition.java new file mode 100644 index 00000000..e6867dbe --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePosition.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePosition.java
+ * Class: com.supervise.api.warehouseposition.WarehousePosition
+ * Description: 货架信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:35
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "货架信息", description = "货架信息") +@TableName("warehouse_position") +public class WarehousePosition extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓位sid") + private String positionSid; // 仓位sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionDetailsVo.java new file mode 100644 index 00000000..8cdc5de7 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionDetailsVo.java @@ -0,0 +1,81 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePositionVo.java
+ * Class: com.supervise.api.warehouseposition.WarehousePositionVo
+ * Description: 货架信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:36
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "货架信息 视图数据详情", description = "货架信息 视图数据详情") +public class WarehousePositionDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓位sid") + private String positionSid; // 仓位sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionDto.java new file mode 100644 index 00000000..2eaa8776 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionDto.java @@ -0,0 +1,81 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePositionDto.java
+ * Class: com.supervise.api.warehouseposition.WarehousePositionDto
+ * Description: 货架信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:35
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "货架信息 数据传输对象", description = "货架信息 数据传输对象") +public class WarehousePositionDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓位sid") + private String positionSid; // 仓位sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionFeign.java new file mode 100644 index 00000000..14f35380 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePositionFeign.java
+ * Class: com.supervise.api.warehouseposition.WarehousePositionFeign
+ * Description: 货架信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:35
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "货架信息") +@FeignClient( + contextId = "com.supervise-WarehousePosition", + name = "com.supervise", + path = "v1/warehouseposition", + fallback = WarehousePositionFeignFallback.class) +public interface WarehousePositionFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody WarehousePositionDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionFeignFallback.java new file mode 100644 index 00000000..a6a83ebc --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + +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; + +import java.util.List; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePositionFeignFallback.java
+ * Class: com.supervise.api.warehouseposition.WarehousePositionFeignFallback
+ * Description: 货架信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:35
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class WarehousePositionFeignFallback implements WarehousePositionFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseposition/listPage无法访问"); + } + + @Override + public ResultBean save(WarehousePositionDto dto){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseposition/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseposition/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseposition/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionQuery.java new file mode 100644 index 00000000..b5d204ac --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionQuery.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePositionQuery.java
+ * Class: com.supervise.api.warehouseposition.WarehousePositionQuery
+ * Description: 货架信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:35
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "货架信息 查询条件", description = "货架信息 查询条件") +public class WarehousePositionQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓位sid") + private String positionSid; // 仓位sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionVo.java new file mode 100644 index 00000000..34efb328 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseposition/WarehousePositionVo.java @@ -0,0 +1,63 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseposition; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehousePositionVo.java
+ * Class: com.supervise.api.warehouseposition.WarehousePositionVo
+ * Description: 货架信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:35
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "货架信息 视图数据对象", description = "货架信息 视图数据对象") +public class WarehousePositionVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓位sid") + private String positionSid; // 仓位sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/202211121668243692232 - 副本.xml b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/202211121668243692232 - 副本.xml new file mode 100644 index 00000000..aad53516 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/202211121668243692232 - 副本.xml @@ -0,0 +1,2196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 预付款申请 + + + + + + + + + + + + + 河北安瑞汽车租赁集团有限公司 + + + + + + + + + + + + + + + + + + 创建时间: + + + + ${createTime!} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 审批编号 + + + + + + + + + + + + + ${applyCode!} + + + + + + + + + + + + + + + + + + + + 创建人 + + + + + + + + + + + + + ${createByName!} + + + + + + + + + + + + + + + + + + + + 创建 + + + + + + + 人部门 + + + + + + + + + + + + + + ${createByDeptName!} + + + + + + + + + + + + + + + + + + + + 费用所属公司 + + + + + + + + + + + + + ${createOrgName!} + + + + + + + + + + + + + + + + + + + + 付款用途 + + + + + + + + + + + + + ${remarks!} + + + + + + + + + + + + + + + + + + + + 收款单位 + + + + + + + + + + + + + ${receiveCompany!} + + + + + + + + + + + + + + + + + + + + 开户行 + + + + + + + + + + + + + ${receiveBank!} + + + + + + + + + + + + + + + + + + + + 收款账号 + + + + + + + + + + + + + ${receiveBankAccount!} + + + + + + + + + + + + + + + + + + + + 金额(元) + + + + + + + + + + + + + ${cost!} + + + + + + + + + + + + + + + + + + + + 备注 + + + + + + + + + + + + + ${payRemark!} + + + + + + + + + + + + + + + + + + + + 附件 + + + + + + + + + + + + + ${fileName!} + + + + + + + + + + + + + + + + + + + + + + + + 审批流程 + + + + <#list lcList as lc> + <#if (lc?size==1)> + + + + + + + + + + + + + + + + + ${lc.comment!} + + + + + ${lc.name!} + + + + + + + + + + + + + + + + + + + ${lc.spsj!} + + + + + + + <#list lcList as lc> + <#if (lc?size>0)> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${lc.comment!} + + + + + ${lc.name!} + + + + + + + + + + + + + + + + + + + ${lc.spsj!} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2052-11.1.0.12598 + + + 046113D258F44AE9B09038F928168180 + + + + + + + + God + Windows 用户 + 2 + 2022-11-13T02:11:00Z + 2022-11-13T02:11:00Z + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + 64 + 367 + Microsoft Office Word + 0 + 3 + 1 + false + Organization + false + 430 + false + false + 14.0000 + + + + \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelves.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelves.java new file mode 100644 index 00000000..ac2eb242 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelves.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelves.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelves
+ * Description: 仓位信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓位信息", description = "仓位信息") +@TableName("warehouse_shelves") +public class WarehouseShelves extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓库sid") + private String storeSid; // 仓库sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesDetailsVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesDetailsVo.java new file mode 100644 index 00000000..881b1353 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesDetailsVo.java @@ -0,0 +1,81 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelvesVo.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelvesVo
+ * Description: 仓位信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓位信息 视图数据详情", description = "仓位信息 视图数据详情") +public class WarehouseShelvesDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓库sid") + private String storeSid; // 仓库sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesDto.java new file mode 100644 index 00000000..5340a04c --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesDto.java @@ -0,0 +1,81 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + + +import com.yxt.common.core.dto.Dto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelvesDto.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelvesDto
+ * Description: 仓位信息 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓位信息 数据传输对象", description = "仓位信息 数据传输对象") +public class WarehouseShelvesDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓库sid") + private String storeSid; // 仓库sid + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesFeign.java new file mode 100644 index 00000000..116dc72e --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelvesFeign.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelvesFeign
+ * Description: 仓位信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "仓位信息") +@FeignClient( + contextId = "com.supervise-WarehouseShelves", + name = "com.supervise", + path = "v1/warehouseshelves", + fallback = WarehouseShelvesFeignFallback.class) +public interface WarehouseShelvesFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody WarehouseShelvesDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesFeignFallback.java new file mode 100644 index 00000000..8df49171 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + +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; + +import java.util.List; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelvesFeignFallback.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelvesFeignFallback
+ * Description: 仓位信息.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class WarehouseShelvesFeignFallback implements WarehouseShelvesFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseshelves/listPage无法访问"); + } + + @Override + public ResultBean save(WarehouseShelvesDto dto){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseshelves/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口com.supervise/warehouseshelves/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口com.supervise/warehouseshelves/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesQuery.java new file mode 100644 index 00000000..2854b22b --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesQuery.java @@ -0,0 +1,79 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + + +import com.yxt.common.core.query.Query; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelvesQuery.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelvesQuery
+ * Description: 仓位信息 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓位信息 查询条件", description = "仓位信息 查询条件") +public class WarehouseShelvesQuery implements Query { + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓库sid") + private String storeSid; // 仓库sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesVo.java new file mode 100644 index 00000000..873e94d9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/warehouseshelves/WarehouseShelvesVo.java @@ -0,0 +1,81 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.portal.api.warehouseshelves; + + +import com.yxt.common.core.vo.Vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: com.supervise(宇信通监管)
+ * File: WarehouseShelvesVo.java
+ * Class: com.supervise.api.warehouseshelves.WarehouseShelvesVo
+ * Description: 仓位信息 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-12 09:42:37
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "仓位信息 视图数据对象", description = "仓位信息 视图数据对象") +public class WarehouseShelvesVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("记录版本,锁") + private String lock_version; // 记录版本,锁 + @ApiModelProperty("创建者") + private String create_sid; // 创建者 + @ApiModelProperty("更新者") + private String modify_sid; // 更新者 + @ApiModelProperty("记录是否可用,1:可用,0:不可用") + private String is_enable; // 记录是否可用,1:可用,0:不可用 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录创建时间") + private Date create_timeStart; // 记录创建时间 + private Date create_timeEnd; // 记录创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("记录最后修改时间") + private Date modify_timeStart; // 记录最后修改时间 + private Date modify_timeEnd; // 记录最后修改时间 + @ApiModelProperty("记录是否被删除,0:未删除,1:已经删除") + private String is_delete; // 记录是否被删除,0:未删除,1:已经删除 + @ApiModelProperty("编码") + private String code; // 编码 + @ApiModelProperty("名称") + private String name; // 名称 + @ApiModelProperty("仓库sid") + private String storeSid; // 仓库sid + +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplate.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplate.java new file mode 100644 index 00000000..d0160fa9 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplate.java @@ -0,0 +1,31 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +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; + +/** + * @author wangpengfei + * @date 2023/4/10 11:34 + */ +@Data +@ApiModel(value = "微信消息模版", description = "微信消息模版") +@TableName("wechat_template") +public class WechatTemplate extends BaseEntity { + //id + //private String id; + //模版id + @ApiModelProperty("模版id") + private String templateId; + //标题 + @ApiModelProperty("标题") + private String title; + //格式 + @ApiModelProperty("格式") + private String json; + //行业 + @ApiModelProperty("行业") + private String trade; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateDetailVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateDetailVo.java new file mode 100644 index 00000000..bbab87c0 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateDetailVo.java @@ -0,0 +1,27 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 11:34 + */ +@Data +@ApiModel(value = "微信消息模版 视图数据详情", description = "微信消息模版 视图数据详情") +public class WechatTemplateDetailVo implements Vo { + private String id; + @ApiModelProperty("模版id") + private String templateId; + //标题 + @ApiModelProperty("标题") + private String title; + //格式 + @ApiModelProperty("格式") + private String json; + //行业 + @ApiModelProperty("行业") + private String trade; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateDto.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateDto.java new file mode 100644 index 00000000..7508a091 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateDto.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +import com.yxt.common.core.dto.Dto; +import com.yxt.supervise.portal.api.templatestaffconfig.TemplateStaffConfig; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/4/10 11:35 + */ +@Data +@ApiModel(value = "微信消息模版 数据传输对象", description = "微信消息模版 数据传输对象") +public class WechatTemplateDto implements Dto { + private String id; + private String sid; // sid + @ApiModelProperty("模版id") + private String templateId; + //标题 + @ApiModelProperty("标题") + private String title; + //前端传的list格式 + @ApiModelProperty("前端传的list格式,后台转json") + private List text; + //行业 + @ApiModelProperty("行业") + private String trade; + //详细内容 + @ApiModelProperty("json") + private String json; + private List templateStaffConfigs; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateFeign.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateFeign.java new file mode 100644 index 00000000..eb229177 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateFeign.java @@ -0,0 +1,18 @@ +package com.yxt.supervise.portal.api.wechattemplate; + + +import io.swagger.annotations.Api; +import org.springframework.cloud.openfeign.FeignClient; + +/** + * @author wangpengfei + * @date 2023/4/10 11:35 + */ +@Api(tags = "微信模版消息") +@FeignClient( + contextId = "com.supervise-WechatTemplate", + name = "com.supervise", + path = "v1/wechattemplate", + fallback = WechatTemplateFeignFallback.class) +public interface WechatTemplateFeign { +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateFeignFallback.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateFeignFallback.java new file mode 100644 index 00000000..f1d35657 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateFeignFallback.java @@ -0,0 +1,11 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +import org.springframework.stereotype.Component; + +/** + * @author wangpengfei + * @date 2023/4/10 11:35 + */ +@Component +public class WechatTemplateFeignFallback implements WechatTemplateFeign{ +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateQuery.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateQuery.java new file mode 100644 index 00000000..42954877 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateQuery.java @@ -0,0 +1,27 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 11:35 + */ +@Data +@ApiModel(value = "微信消息模版 查询条件", description = "微信消息模版 查询条件") +public class WechatTemplateQuery implements Query { + private String id; + @ApiModelProperty("模版id") + private String templateId; + //标题 + @ApiModelProperty("标题") + private String name; + //格式 + @ApiModelProperty("格式") + private String json; + //行业 + @ApiModelProperty("行业") + private String trade; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateVo.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateVo.java new file mode 100644 index 00000000..54c76901 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/WechatTemplateVo.java @@ -0,0 +1,32 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/4/10 11:35 + */ +@Data +@ApiModel(value = "微信消息模版 视图数据对象", description = "微信消息模版 视图数据对象") +public class WechatTemplateVo implements Vo { + private String id; + private String sid; + @ApiModelProperty("模版id") + private String templateId; + //标题 + @ApiModelProperty("标题") + private String title; + //格式 + @ApiModelProperty("格式") + private String json; + //行业 + @ApiModelProperty("行业") + private String trade; + + private List text; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/content.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/content.java new file mode 100644 index 00000000..41ae85c6 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/api/wechattemplate/content.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.portal.api.wechattemplate; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/10 18:23 + */ +@Data +public class content { + private String key; + private String value; +} diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/config/DictCommonType.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/config/DictCommonType.java new file mode 100644 index 00000000..ddfc2d01 --- /dev/null +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/config/DictCommonType.java @@ -0,0 +1,267 @@ +package com.yxt.supervise.portal.config; + +import io.swagger.annotations.ApiModelProperty; + +/** + * @author dimengzhe + * @date 2021/7/1 10:23 + * @description 常量值管理 + */ +public class DictCommonType { + + //客户端获取手机验证码redis前缀定义 + public static final String WX_REGIST = "wx-regist-";//注册获取验证码 + public static final String WX_LOGIN = "wx-login-";//登录获取验证码 + public static final String WX_FORGET = "wx-forget-";//忘记密码获取验证码 + public static final String WX_UPDATE = "wx-update-";//忘记密码获取验证码 + public static final String WX_NEW = "wx-new-";//新手机号获取验证码 + + /*供应厂商相关*/ + @ApiModelProperty(value = "供应商分类") + public static final String SUPPLIER_TYPE = "supplierType";//数据字典已添加 + @ApiModelProperty(value = "供应类别") + public static final String SUPPLY_TYPE = "supplyType";//数据字典已添加 + @ApiModelProperty(value = "供应商分组") + public static final String SUPPLIE_RGROUP = "supplierGroup";//数据字典已添加 + + /*供应厂商财务信息相关*/ + @ApiModelProperty(value = "结算币种") + public static final String SETTLEMENT_CURRENCY = "settlementCurrency";//数据字典已添加 + @ApiModelProperty(value = "结算方式") + public static final String SETTLEMENT_WAY = "settlementWay";//数据字典已添加 + @ApiModelProperty(value = "税分类") + public static final String TAX_CLASSIFICATION = "taxClassification";//数据字典已添加 + /*基础信息品牌相关*/ + @ApiModelProperty(value = "品牌类型") + public static final String BRAND_TYPE = "brandType";//数据字典已添加 + @ApiModelProperty(value = "职级(岗位)") + public static final String POSTLEVEL = "postLevel"; + + /*车型、车型配置、车辆信息相关*/ + @ApiModelProperty(value = "车辆类型") + public static final String VEHICLE_TYPE = "vehicleType";//数据字典已添加 + @ApiModelProperty(value = "排放标准") + public static final String EMISSION_STANDARD = "emissionStandard";//数据字典已添加 + @ApiModelProperty(value = "产品线") + public static final String PRODUCT_LINE = "productLine";//数据字典已添加 + @ApiModelProperty(value = "后桥") + public static final String REAR_AXLE = "rearAxle";//数据字典已添加 + @ApiModelProperty(value = "速比") + public static final String SPEED_RATIO = "speedRatio";//数据字典已添加 + @ApiModelProperty(value = "系别") + private static final String SERIES = "series";//数据字典已添加 + @ApiModelProperty(value = "车辆功能") + private static final String VEHICLE_FUNCTION = "vehicleFunction";//数据字典已添加 + @ApiModelProperty(value = "细分市场") + private static final String MARKETSEGMENTS = "marketSegments";//数据字典已添加 + + @ApiModelProperty(value = "车身颜色") + public static final String BODYCOLOR = "bodyColor"; + @ApiModelProperty(value = "缓速器") + public static final String SLOWMACHINE = "slowMachine"; + @ApiModelProperty(value = "后视镜") + public static final String REARVIEWMIRROR = "rearViewMirror"; + @ApiModelProperty(value = "轮胎") + public static final String TIRESIZE = "tireSize"; + @ApiModelProperty(value = "驾驶室") + public static final String SPECIFICATION = "specification"; + @ApiModelProperty(value = "后桥速比") + public static final String REARAXLERATIO = "rearAxleRatio"; + @ApiModelProperty(value = "轮毂材质") + public static final String HUBMATERIAL = "hubMaterial"; + @ApiModelProperty(value = "悬架") + public static final String SUSPENSION = "suspension"; + @ApiModelProperty(value = "座椅") + public static final String SEAT = "seat"; + @ApiModelProperty(value = "鞍座") + public static final String SADDLE = "saddle"; + @ApiModelProperty(value = "轴距") + public static final String WHEELBASE = "wheelbase"; + @ApiModelProperty(value = "保险杠") + public static final String BUMPER = "bumper"; + @ApiModelProperty(value = "配置包") + public static final String CONFIGURINGBAO = "configuringBao"; + @ApiModelProperty(value = "独立热源") + public static final String INDEPENDENTSOURCES = "independentSources"; + @ApiModelProperty(value = "燃料箱") + public static final String FUELTANK = "fuelTank"; + @ApiModelProperty(value = "有无:1有0无") + public static final String WHETHER = "whether"; + + @ApiModelProperty(value = "车辆状态") + public static final String VEHICLE_STATE = "vehicleState"; + @ApiModelProperty(value = "车辆状态(车辆台账)") + public static final String VEHICLE_LEDGER_STATE = "vehicleLedgerState"; + @ApiModelProperty(value = "驱动") + public static final String DRIVER = "driver"; + @ApiModelProperty(value = "马力") + public static final String HORSEPOWER = "horsepower"; + @ApiModelProperty(value = "锁定状态") + public static final String LOCKED_STATE = "lockedState"; + @ApiModelProperty(value = "预计订金日期") + public static final String RESERVE_DEPOSIT_DATE = "reserveDepositDate"; + + + @ApiModelProperty(value = "贷款主体类型") + public static final String LOANTYPE = "loanType"; + @ApiModelProperty(value = "打包项目") + public static final String PACKAGINGPROJECT = "packagingProject"; + @ApiModelProperty(value = "融资项目(比打包项目多一个“配件”)") + public static final String PACKAGINGPROJECTFIN = "packagingProjectFin"; + @ApiModelProperty(value = "变速箱") + public static final String GEARBOX = "gearbox"; + @ApiModelProperty(value = "燃料种类") + public static final String FUELTYPE = "fuelType"; + @ApiModelProperty(value = "版本(车辆需求)") + public static final String VEHICLEVERSION = "vehicleVersion"; + @ApiModelProperty(value = "采购形式") + public static final String PURCHASINGFORM = "purchasingForm"; + /*经销商相关*/ + @ApiModelProperty(value = "经销商分类") + public static final String DISTRIBUTOR_CLASSIFICATION = "distributorClassification";//数据字典已添加 + @ApiModelProperty(value = "经销商类型") + public static final String DISTRIBUTOR_TYPE = "distributorType";//数据字典已添加 + @ApiModelProperty(value = "经销商等级") + public static final String DISTRIBUTOR_LEVEL = "distributorLevel";//数据字典已添加 + @ApiModelProperty(value = "企业性质") + public static final String ENTERPRISE_NATURE = "enterpriseNature";//数据字典已添加 + @ApiModelProperty(value = "登记状态") + public static final String REGIST_STATE = "registState"; + @ApiModelProperty(value = "注册资本单位") + public static final String REGISTEREDCAPITAL_ORG = "registeredCapitalOrg"; + @ApiModelProperty(value = "项目类型") + public static final String PROJECT_TYPE = "projectType"; + /*经销商相关结束*/ + + + @ApiModelProperty(value = "合格证情况:0001虚拟 ,002正式") + public static final String CERTIFICATE_SITUATION = "certificateSituation"; + @ApiModelProperty(value = "客户类型:1个人2企业") + public static final String CUSTOMER_TYPE = "customerType"; + @ApiModelProperty(value = "登记注册号类型") + public static final String REGIST_NUM_TYPE = "registNumType"; + @ApiModelProperty(value = "现居住状况") + public static final String CURRENT_LIVE_STATE = "currentlivestate"; + @ApiModelProperty(value = "教育程度") + public static final String EDUCATION_DEGREE = "educationdegree"; + @ApiModelProperty(value = "雇员类型") + public static final String EMPLOYEE_TYPE = "employeetype"; + @ApiModelProperty(value = "证件类型") + public static final String DOCUMENT_TYPE = "documenttype"; + @ApiModelProperty(value = "行业类别") + public static final String INDUSTRY_TYPE = "industrytype"; + @ApiModelProperty(value = "经济类型") + public static final String ECONOMIC_TYPE = "economictype"; + @ApiModelProperty(value = "组织机构类别") + public static final String ORGANIZATION_TYPE = "organizationtype"; + @ApiModelProperty(value = "组织机构类别细分") + public static final String ORGANIZATION_TYPE_DETAILS = "organizationtypedetails"; + + @ApiModelProperty(value = "是或否") + public static final String IS_TRUE = "isTrue"; + @ApiModelProperty(value = "准驾车型") + public static final String CAR_TYPE = "carType"; + + @ApiModelProperty(value = "与客户关系") + public static final String RELATION_SHIP = "relationship"; + @ApiModelProperty(value = "现工作单位性质") + public static final String ORG_NATURE = "orgNature"; + @ApiModelProperty(value = "主要收入来源") + public static final String INCOME_SOURCE = "incomeSource"; + @ApiModelProperty(value = "职位") + public static final String POSITION = "position"; + @ApiModelProperty(value = "经销商类型") + public static final String DEALERS_TYPE = "dealersType"; + @ApiModelProperty(value = "附件类型") + public static final String ATTACH_TYPE = "attachType"; + @ApiModelProperty(value = "信用记录") + public static final String CREDIT_RECORD = "creditRecord"; + @ApiModelProperty(value = "拟租赁形式l") + public static final String PLANS_TO_LEASE = "plansToLease"; + @ApiModelProperty(value = "去返程货物") + public static final String GO_GOODS = "goGoods"; + @ApiModelProperty(value = "经营业务范围") + public static final String BUSINESSSCOPE = "businessScope"; + /* 客户信息相关*/ + @ApiModelProperty(value = "客户分类") + public static final String CUSTOMER_CLASS = "customerClass"; + @ApiModelProperty(value = "客户来源") + public static final String CUSTOMER_SOURCE = "customerSource"; + @ApiModelProperty(value = "客户等级") + public static final String CUSTOMER_LEVEL = "customerLevel"; + @ApiModelProperty(value = "来访方式") + public static final String VISIT_WAY = "visitWay"; + @ApiModelProperty(value = "跟进状态") + public static final String FOLLOW_STATE = "followState"; + @ApiModelProperty(value = "提醒日期(天)") + public static final String REMIND_DAY = "remindDay"; + @ApiModelProperty(value = "承运货物类型") + public static final String CONSIGNMENT_TYPE = "consignmentType"; + @ApiModelProperty(value = "承运货物(暂为假数据)") + public static final String CONSIGNMENT = "consignment"; + @ApiModelProperty(value = "购车方式") + public static final String PURCHASETYPE = "purchaseType"; + @ApiModelProperty(value = "提车方式") + public static final String SALETYPE = "saleType"; + /* 车辆订单 */ + @ApiModelProperty(value = "单据类型") + public static final String BILLSTYPE = "billsType"; + @ApiModelProperty(value = "合同类型") + public static final String CONTRACTTYPE = "contractType"; + + @ApiModelProperty(value = "主车优惠类型") + public static final String DISCOUNTTYPE = "discountType"; + @ApiModelProperty(value = "还款方式") + public static final String MODEOFREPAY = "modeOfRePay"; + @ApiModelProperty(value = "保证金方式") + public static final String BONDMETHOD = "bondMethod"; + @ApiModelProperty(value = "业务类型") + public static final String BUSINESSTYPE = "businessType"; + @ApiModelProperty(value = "开户银行") + public static final String BANK = "bank"; + @ApiModelProperty(value = "账户类型") + public static final String ACCOUNTTYPE = "accountType"; + @ApiModelProperty(value = "运输货物") + public static final String TRANSPORTCARGO = "transportCargo"; + @ApiModelProperty(value = "结账周期") + public static final String CHECKOUTCYCLE = "checkoutCycle"; + @ApiModelProperty(value = "虚拟订单类型") + public static final String DEPOSITBILLTYPE = "depositBillType"; + @ApiModelProperty(value = "付款方式") + public static final String PAYMENTTYPE = "paymentType"; + + /* 物料相关 */ + @ApiModelProperty(value = "物料分组") + public static final String MATERIAL_GROUP = "materialGroup"; + @ApiModelProperty(value = "物料属性") + public static final String MATERIAL_PROPERTIES = "materialProperties"; + @ApiModelProperty(value = "存货类别") + public static final String STOCK_TYPE = "stockType"; + @ApiModelProperty(value = "基本单位") + public static final String BASIC_UNIT = "basicUnit"; + + /* 合同相关 */ + @ApiModelProperty(value = "人员类型") + public static final String PERSONNEL_TYPE = "personnelType"; + + /* 开票申请单相关 */ + @ApiModelProperty(value = "开票性质") + public static final String INVOICING_NATURE = "invoicingNature"; + + /*员工信息管理相关*/ + @ApiModelProperty(value = "婚姻状况") + public static final String MARITAL_STATUS = "maritalstatus"; + @ApiModelProperty(value = "民族") + public static final String NATIONAL = "national"; + @ApiModelProperty(value = "性别") + public static final String SEX = "sex"; + @ApiModelProperty(value = "政治面貌") + public static final String POLITICAL = "political"; + + + /*资料清单相关*/ + @ApiModelProperty(value = "资料类别") + public static final String DATA_TYPE = "dataType"; + @ApiModelProperty(value = "文件格式") + public static final String FILE_TYPE = "fileType"; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLog.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLog.java new file mode 100644 index 00000000..370e222b --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLog.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.report.api.csmcashlog; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/10 14:22 + */ +@ApiModel(value = "每日回款审核日志", description = "每日回款审核日志:") +@TableName("csm_cash_log") +@Data +public class CsmCashLog { + private String id; + private String sid; + private String createTime; + private String remarks; + private String isEnable; + private String status; + private String dataDate; + private String fileFullPath; + private String outFilePath; + private String fileUrl; + private Integer allNum; + private Integer validNum; + private Integer durations; + private Integer errRowNum; + private double salesAmountYesterday; + private double cashedAmountToday; + private double cashedAmountTodayReal; + private double cashedAmountDifferent; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogDto.java new file mode 100644 index 00000000..8603a7b3 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogDto.java @@ -0,0 +1,30 @@ +package com.yxt.supervise.report.api.csmcashlog; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/10 14:22 + */ +@Data +public class CsmCashLogDto implements Dto { + private String id; + private String sid; + private String createTime; + private String remarks; + private String isEnable; + private String status; + private String dataDate; + private String fileFullPath; + private String outFilePath; + private String fileUrl; + private Integer allNum; + private Integer validNum; + private Integer durations; + private Integer errRowNum; + private double salesAmountYesterday; + private double cashedAmountToday; + private double cashedAmountTodayReal; + private double cashedAmountDifferent; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogQuery.java new file mode 100644 index 00000000..51fe2988 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogQuery.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.csmcashlog; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/10 14:23 + */ +@Data +public class CsmCashLogQuery implements Query { + private String id; + private String sid; + private String dataDate; + private String fileFullPath; + private String outFilePath; + private String fileUrl; + private Integer allNum; + private Integer validNum; + private Integer durations; + private Integer errRowNum; + private double salesAmountYesterday; + private double cashedAmountToday; + private double cashedAmountTodayReal; + private double cashedAmountDifferent; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogVo.java new file mode 100644 index 00000000..3d81440c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashlog/CsmCashLogVo.java @@ -0,0 +1,30 @@ +package com.yxt.supervise.report.api.csmcashlog; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/10 14:22 + */ +@Data +public class CsmCashLogVo implements Vo { + private String id; + private String sid; + private String createTime; + private String remarks; + private String isEnable; + private String status; + private String dataDate; + private String fileFullPath; + private String outFilePath; + private String fileUrl; + private Integer allNum; + private Integer validNum; + private Integer durations; + private Integer errRowNum; + private double salesAmountYesterday; + private double cashedAmountToday; + private double cashedAmountTodayReal; + private double cashedAmountDifferent; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReport.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReport.java new file mode 100644 index 00000000..09151f4d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReport.java @@ -0,0 +1,60 @@ +package com.yxt.supervise.report.api.csmcashreport; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/21 9:19 + */ +@ApiModel(value = "每日回款审核报告-附件:昨日销售报表", description = "每日回款审核报告-附件:昨日销售报表") +@TableName("csm_cash_report") +@Data +public class CsmCashReport { + private String id; + private String sid; + private String createTime; + private String remarks; + //'日期(yyyy-MM-dd)', + private String dataDate; + // '银行Sid', + private String bankSid; + // '银行名称', + private String bankName; + // '公司Sid', + private String companySid; + // '公司名称', + private String companyName; + //昨日销售总计金额(元)', + private double salesAmountYesterday; + // '今日应回款金额(元)', + private double cashedAmountToday; + //'今日实际回款金额(元)', + private double cashedAmountTodayReal; + //'回款差额金额(元)', + private double cashedAmountDifferent; + //'序号', + private Integer serialNumber; + // '销售日期', + private Date saleDate; + //'支付渠道Sid', + private String disbursementChannelSid; + // '支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amountYesterday; + //'截止时间', + private String tillTime; + //'账户余额', + private double accountBalance; + // '审核结果', + private String auditResult; + //'日期(yyyy年MM月dd日)', + private String reportDate; + private String fileFullPath; + private String fileUrl; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportDto.java new file mode 100644 index 00000000..a57a840b --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportDto.java @@ -0,0 +1,48 @@ +package com.yxt.supervise.report.api.csmcashreport; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/21 9:19 + */ +public class CsmCashReportDto { + //'日期(yyyy-MM-dd)', + private String dataDate; + // '银行Sid', + private String bankSid; + // '银行名称', + private String bankName; + // '公司Sid', + private String companySid; + // '公司名称', + private String companyName; + //昨日销售总计金额(元)', + private double salesAmountYesterday; + // '今日应回款金额(元)', + private double cashedAmountToday; + //'今日实际回款金额(元)', + private double cashedAmountTodayReal; + //'回款差额金额(元)', + private double cashedAmountDifferent; + //'序号', + private Integer serialNumber; + // '销售日期', + private Date saleDate; + //'支付渠道Sid', + private String disbursementChannelSid; + // '支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amountYesterday; + //'截止时间', + private String tillTime; + //'账户余额', + private double accountBalance; + // '审核结果', + private String auditResult; + //'日期(yyyy年MM月dd日)', + private String reportDate; + private String fileFullPath; + private String fileUrl; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportQuery.java new file mode 100644 index 00000000..eeaa3b3a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportQuery.java @@ -0,0 +1,49 @@ +package com.yxt.supervise.report.api.csmcashreport; + +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/21 9:19 + */ +@Data +public class CsmCashReportQuery { + //'日期(yyyy-MM-dd)', + private String dataDate; + // '银行Sid', + private String bankSid; + // '银行名称', + private String bankName; + // '公司Sid', + private String companySid; + // '公司名称', + private String companyName; + //昨日销售总计金额(元)', + private double salesAmountYesterday; + // '今日应回款金额(元)', + private double cashedAmountToday; + //'今日实际回款金额(元)', + private double cashedAmountTodayReal; + //'回款差额金额(元)', + private double cashedAmountDifferent; + //'序号', + private Integer serialNumber; + // '销售日期', + private Date saleDate; + //'支付渠道Sid', + private String disbursementChannelSid; + // '支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amountYesterday; + //'截止时间', + private String tillTime; + //'账户余额', + private double accountBalance; + // '审核结果', + private String auditResult; + //'日期(yyyy年MM月dd日)', + private String reportDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportVo.java new file mode 100644 index 00000000..60465c2a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreport/CsmCashReportVo.java @@ -0,0 +1,66 @@ +package com.yxt.supervise.report.api.csmcashreport; + +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/21 9:19 + */ +@Data +public class CsmCashReportVo { + private String id; + private String sid; + //'日期(yyyy-MM-dd)', + private String dataDate; + // '银行Sid', + private String bankSid; + // '银行名称', + private String bankName; + // '公司Sid', + private String CompanySid; + // '公司名称', + private String CompanyName; + //昨日销售总计金额(元)', + private double salesAmountYesterday; + // '今日应回款金额(元)', + private double cashedAmountToday; + //'今日实际回款金额(元)', + private double cashedAmountTodayReal; + //'回款差额金额(元)', + private double cashedAmountDifferent; + //'序号', + private Integer serialNumber; + // '销售日期', + private Date saleDate; + //'支付渠道Sid', + private String disbursementChannelSid; + // '支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amountYesterday; + //'截止时间', + private String tillTime; + //'账户余额', + private double accountBalance; + // '审核结果', + private String auditResult; + //'日期(yyyy年MM月dd日)', + private String reportDate; + + ///小程序参数 + // + private String companyName; + private String totalSales; + private double collection; + private double actualCollection; + private double difference; + private String endTime; + private String balance; + private String account; + private String accountNumber; + private String reviewedBy="石家庄市宇信通电子有限公司"; + private String date; + private String downloadUrl; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedToday.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedToday.java new file mode 100644 index 00000000..86d19b52 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedToday.java @@ -0,0 +1,38 @@ +package com.yxt.supervise.report.api.csmcashreportcashedtoday; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 9:03 + */ +@ApiModel(value = "每日回款审核报告-附件:昨日销售报表", description = "每日回款审核报告-附件:昨日销售报表") +@TableName("csm_cash_report_cashed_today") +@Data +public class CsmCashReportCashedToday extends BaseEntity { + + + // '日期(yyyy-MM-dd)', + private String dataDate; + // '报告Sid', + private String reportSid; + //'销售日期(yyyy年MM月dd日)', + private String salesDate; + // '支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + // '金额(元)', + private double amount; + //'对应公司主体Sid', + private String companySid; + //'对应公司主体名称', + private String companyName; + // '回款金额', + private double cashedAmount; + // '回款差额', + private double differentAmount; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayDto.java new file mode 100644 index 00000000..f6529343 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayDto.java @@ -0,0 +1,33 @@ +package com.yxt.supervise.report.api.csmcashreportcashedtoday; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 9:04 + */ +@Data +public class CsmCashReportCashedTodayDto implements Dto { + + // '日期(yyyy-MM-dd)', + private String dataDate; + // '报告Sid', + private String reportSid; + //'销售日期(yyyy年MM月dd日)', + private String salesDate; + // '支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + // '金额(元)', + private double amount; + //'对应公司主体Sid', + private String companySid; + //'对应公司主体名称', + private String companyName; + // '回款金额', + private double cashedAmount; + // '回款差额', + private double differentAmount; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayQuery.java new file mode 100644 index 00000000..9d25f3ae --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayQuery.java @@ -0,0 +1,33 @@ +package com.yxt.supervise.report.api.csmcashreportcashedtoday; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 9:04 + */ +@Data +public class CsmCashReportCashedTodayQuery implements Query { + + // '日期(yyyy-MM-dd)', + private String dataDate; + // '报告Sid', + private String reportSid; + //'销售日期(yyyy年MM月dd日)', + private String salesDate; + // '支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + // '金额(元)', + private double amount; + //'对应公司主体Sid', + private String companySid; + //'对应公司主体名称', + private String companyName; + // '回款金额', + private double cashedAmount; + // '回款差额', + private double differentAmount; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayVo.java new file mode 100644 index 00000000..c5d24b04 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportcashedtoday/CsmCashReportCashedTodayVo.java @@ -0,0 +1,43 @@ +package com.yxt.supervise.report.api.csmcashreportcashedtoday; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 9:03 + */ +@Data +public class CsmCashReportCashedTodayVo implements Vo { + + // '日期(yyyy-MM-dd)', + private String dataDate; + // '报告Sid', + private String reportSid; + //'销售日期(yyyy年MM月dd日)', + private String salesDate; + // '支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + // '金额(元)', + private double amount; + //'对应公司主体Sid', + private String companySid; + //'对应公司主体名称', + private String companyName; + // '回款金额', + private double cashedAmount; + // '回款差额', + private double differentAmount; + private String remarks; + + //小程序参数 + + private String payChannels; + private double money; + private String mainBody; + private double collection; + private double different; + private String notes; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterday.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterday.java new file mode 100644 index 00000000..4f43fc0b --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterday.java @@ -0,0 +1,33 @@ +package com.yxt.supervise.report.api.csmcashreportsalesyesterday; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 8:44 + */ +@ApiModel(value = "每日回款审核报告-附件:昨日销售报表", description = "每日回款审核报告-附件:昨日销售报表") +@TableName("csm_cash_report_sales_yesterday") +@Data +public class CsmCashReportSalesYesterday extends BaseEntity { + + // '日期(yyyy-MM-dd)', + private String dataDate; + //'报告Sid', + private String reportSid; + //'支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amount; + // '对应公司主体Sid', + private String CompanySid; + //'对应公司主体名称', + private String companyName; + //'回款周期', + private String accountCycle; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayDto.java new file mode 100644 index 00000000..1d78d51b --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayDto.java @@ -0,0 +1,28 @@ +package com.yxt.supervise.report.api.csmcashreportsalesyesterday; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 8:45 + */ +@Data +public class CsmCashReportSalesYesterdayDto implements Vo { + // '日期(yyyy-MM-dd)', + private String dataDate; + //'报告Sid', + private String reportSid; + //'支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amount; + // '对应公司主体Sid', + private String CompanySid; + //'对应公司主体名称', + private String companyName; + //'回款周期', + private String accountCycle; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayQuery.java new file mode 100644 index 00000000..cb444276 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayQuery.java @@ -0,0 +1,28 @@ +package com.yxt.supervise.report.api.csmcashreportsalesyesterday; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 8:45 + */ +@Data +public class CsmCashReportSalesYesterdayQuery implements Query { + // '日期(yyyy-MM-dd)', + private String dataDate; + //'报告Sid', + private String reportSid; + //'支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amount; + // '对应公司主体Sid', + private String CompanySid; + //'对应公司主体名称', + private String companyName; + //'回款周期', + private String accountCycle; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayVo.java new file mode 100644 index 00000000..7b887113 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/csmcashreportsalesyesterday/CsmCashReportSalesYesterdayVo.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.report.api.csmcashreportsalesyesterday; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/21 8:45 + */ +@Data +public class CsmCashReportSalesYesterdayVo implements Vo { + // '日期(yyyy-MM-dd)', + private String dataDate; + //'报告Sid', + private String reportSid; + //'支付渠道Sid', + private String disbursementChannelSid; + //'支付渠道名称', + private String disbursementChannelName; + //'金额(元)', + private double amount; + // '对应公司主体Sid', + private String CompanySid; + //'对应公司主体名称', + private String companyName; + //'回款周期', + private String accountCycle; + + //小程序参数 + private String payChannels; + private double money; + private String mainBody; + private String cycle; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReport.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReport.java new file mode 100644 index 00000000..1c83e3be --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReport.java @@ -0,0 +1,30 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 11:35 + */ +@ApiModel(value = "每日销售日报表", description = "每日销售日报表") +@TableName("daily_sales_report") +@Data +public class DailySalesReport { + private String id; + private String sid; + //联网连锁店销售总额 + private double lwlsdTotalSales; + //连锁内加盟 + private double lsnjnTotalSales; + //配送中心 + private double pszxTotalSales; + //连锁外加盟 + private double lswjmTotalSales; + //36524集团报烟门店仓 + private double bymdcTotalSales; + //烟草连锁外加盟 + private double yclswjmTotalSales; + private String orderDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportDto.java new file mode 100644 index 00000000..8bb0c879 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportDto.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 11:35 + */ +@Data +public class DailySalesReportDto implements Dto { + private String id; + private String sid; + private double lwlsdTotalSales; + private double lsnjnTotalSales; + private String pszxTotalSales; + private String lswjmTotalSales; + private String bymdcTotalSales; + private String yclswjmTotalSales; + private String orderDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportQuery.java new file mode 100644 index 00000000..103d6bda --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportQuery.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 11:35 + */ +@Data +public class DailySalesReportQuery implements Query { + private String id; + private String sid; + private double lwlsdTotalSales; + private double lsnjnTotalSales; + private String pszxTotalSales; + private String lswjmTotalSales; + private String bymdcTotalSales; + private String yclswjmTotalSales; + private String orderDate; + private String endDate; + private String startDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportVo.java new file mode 100644 index 00000000..f01feaa3 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/DailySalesReportVo.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 11:35 + */ +@Data +public class DailySalesReportVo implements Vo { + private String id; + private String sid; + private double lwlsdTotalSales; + private double lsnjnTotalSales; + private String pszxTotalSales; + private String lswjmTotalSales; + private String bymdcTotalSales; + private String yclswjmTotalSales; + private String orderDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/FinancialData.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/FinancialData.java new file mode 100644 index 00000000..d294bf45 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/FinancialData.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 14:36 + */ +@Data +public class FinancialData { + private String totalPrice; + private String name; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/ListSalesChannelData.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/ListSalesChannelData.java new file mode 100644 index 00000000..f21ae187 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/ListSalesChannelData.java @@ -0,0 +1,15 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 14:37 + */ +@Data +public class ListSalesChannelData { + private String deductionAccountsReceivable; + private String salesChannelCategory; + private String totalAmount; + private String accountsReceivable; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/financialAnalysisChartData.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/financialAnalysisChartData.java new file mode 100644 index 00000000..aefba8cb --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/dailysalesreport/financialAnalysisChartData.java @@ -0,0 +1,11 @@ +package com.yxt.supervise.report.api.dailysalesreport; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/6 14:39 + */ +@Data +public class financialAnalysisChartData { +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLog.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLog.java new file mode 100644 index 00000000..756b29e4 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLog.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.imgmessageslog; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@ApiModel(value = "消息推送日志", description = "消息推送日志") +@TableName("img_messages_log") +@Data +public class ImgMessagesLog extends EntityWithId { + private String sid; + private String messageTime; + private String pagepath; + private String content; + private String projectSid; + private String orderDate; + private String riskSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogDto.java new file mode 100644 index 00000000..a0b32634 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogDto.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.imgmessageslog; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@Data +public class ImgMessagesLogDto implements Dto { + private String id; + private String sid; + private String messageTime; + private String pagepath; + //private Map content; + private Map content; + private List messageOpenids; + private String openid;//小程序openid + private String projectSid; + private String orderDate; + private String riskSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogQuery.java new file mode 100644 index 00000000..9dcd0bac --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogQuery.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.imgmessageslog; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:07 + */ +@Data +public class ImgMessagesLogQuery implements Query { + private String userSid; + private String state;//0未读 1 已读 2全部 +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogVo.java new file mode 100644 index 00000000..e4ffd290 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/ImgMessagesLogVo.java @@ -0,0 +1,65 @@ +package com.yxt.supervise.report.api.imgmessageslog; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:57 + */ +@Data +public class ImgMessagesLogVo implements Vo { + private String id; + private String sid; + private String messageTime; + private String pagepath; + private String content; + //消息状态 + private String oState; + private Map map; + private String riskSid; + private String shName; + private String shSid; + private List devices; + private String text; + List linkers; + private Integer count; + private List message; + + public List getMessage() { + List l=new ArrayList<>(); + String[] keyValuePairs = content.split("[{;,}]"); + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + l.add(value); + } + } + this.message=l; + return message; + } + + public Map getMap() { + Map strMap = new HashMap<>(); + String[] keyValuePairs = content.split("[{;,}]"); + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + strMap.put(key, value); + } + } + this.map = strMap; + return map; + } +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/Linkers.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/Linkers.java new file mode 100644 index 00000000..623f61e0 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageslog/Linkers.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.imgmessageslog; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/12 15:28 + */ +@Data +public class Linkers { + String name; + String mobile; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUser.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUser.java new file mode 100644 index 00000000..4191ef3c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUser.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.report.api.imgmessageuser; + +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@ApiModel(value = "消息用户微信openid关联", description = "消息用户微信openid关联") +@TableName("img_message_user") +@Data +public class ImgMessageUser { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserDto.java new file mode 100644 index 00000000..8aa74a61 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserDto.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.imgmessageuser; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@Data +public class ImgMessageUserDto implements Dto { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserQuery.java new file mode 100644 index 00000000..b3e23bd0 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserQuery.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.imgmessageuser; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class ImgMessageUserQuery implements Query { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserVo.java new file mode 100644 index 00000000..78e04bab --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/imgmessageuser/ImgMessageUserVo.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.imgmessageuser; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class ImgMessageUserVo implements Vo { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsm.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsm.java new file mode 100644 index 00000000..3e202aab --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsm.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.inventoryhcsm; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/7/27 9:27 + */ +@ApiModel(value = "瀚川仓库库存", description = "瀚川仓库库存") +@TableName("inventory_hcsm") +@Data +public class InventoryHcsm extends BaseEntity { + private String productName;//产品名 + private BigDecimal weight;//重量 + private BigDecimal price;//单价 + private String productState;//产品状态 + private String hazardousChemicals;//危化品(1:是 0 否) +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmDto.java new file mode 100644 index 00000000..25ed589a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmDto.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.inventoryhcsm; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/7/27 9:27 + */ +@Data +public class InventoryHcsmDto implements Dto { + private String id; + private String sid; + private String productName;//产品名 + private BigDecimal weight;//重量 + private BigDecimal price;//单价 + private String productState;//产品状态 + private String hazardousChemicals;//危化品(1:是 0 否) +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmQuery.java new file mode 100644 index 00000000..078ebb46 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmQuery.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.inventoryhcsm; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/7/28 10:46 + */ +@Data +public class InventoryHcsmQuery implements Query { + private String id; + private String sid; + private String productName;//产品名 + private BigDecimal weight;//重量 + private BigDecimal price;//单价 + private String productState;//产品状态 + private String hazardousChemicals;//危化品(1:是 0 否) +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmVo.java new file mode 100644 index 00000000..c73d3959 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/inventoryhcsm/InventoryHcsmVo.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.inventoryhcsm; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/7/27 9:27 + */ +@Data +public class InventoryHcsmVo implements Vo { + private String id; + private String sid; + private String productName;//产品名 + private BigDecimal weight;//重量 + private BigDecimal price;//单价 + private String productState;//产品状态 + private String hazardousChemicals;//危化品(1:是 0 否) +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenid.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenid.java new file mode 100644 index 00000000..18375a54 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenid.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.report.api.messageopenid; + +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@ApiModel(value = "消息用户微信openid关联", description = "消息用户微信openid关联") +@TableName("message_openid") +@Data +public class MessageOpenid { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidDto.java new file mode 100644 index 00000000..05f0cc03 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidDto.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.messageopenid; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@Data +public class MessageOpenidDto implements Dto { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidQuery.java new file mode 100644 index 00000000..306585b4 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidQuery.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.messageopenid; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class MessageOpenidQuery implements Query { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidVo.java new file mode 100644 index 00000000..2637ec62 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messageopenid/MessageOpenidVo.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.messageopenid; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class MessageOpenidVo implements Vo { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLog.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLog.java new file mode 100644 index 00000000..04a0013a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLog.java @@ -0,0 +1,22 @@ +package com.yxt.supervise.report.api.messagepushlog; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@ApiModel(value = "消息推送日志", description = "消息推送日志") +@TableName("message_push_log") +@Data +public class MessagePushLog extends EntityWithId { + private String sid; + private String messageTime; + private String pagepath; + private String content; + private String projectSid; + private String orderDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogDto.java new file mode 100644 index 00000000..bb928877 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogDto.java @@ -0,0 +1,27 @@ +package com.yxt.supervise.report.api.messagepushlog; + +import com.yxt.common.core.dto.Dto; +import com.yxt.supervise.report.api.messageopenid.MessageOpenidDto; +import com.yxt.supervise.report.api.wechat.Template; +import lombok.Data; + +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@Data +public class MessagePushLogDto implements Dto { + private String id; + private String sid; + private String messageTime; + private String pagepath; + //private Map content; + private Map content; + private List messageOpenids; + private String openid;//小程序openid + private String projectSid; + private String orderDate; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogQuery.java new file mode 100644 index 00000000..e748ecd5 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogQuery.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.messagepushlog; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:07 + */ +@Data +public class MessagePushLogQuery implements Query { + private String userSid; + private String state;//0未读 1 已读 2全部 +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogVo.java new file mode 100644 index 00000000..a18e1d31 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagepushlog/MessagePushLogVo.java @@ -0,0 +1,62 @@ +package com.yxt.supervise.report.api.messagepushlog; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:57 + */ +@Data +public class MessagePushLogVo implements Vo { + private String id; + private String sid; + private String messageTime; + private String pagepath; + private String content; + //消息状态 + private String oState; + private Map map; + private Integer count; + private List message; + + public List getMessage() { + List l=new ArrayList<>(); + String[] keyValuePairs = content.split("[{;,}]"); + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + l.add(value); + } + } + this.message=l; + return message; + } + + + public Map getMap() { + Map strMap = new HashMap<>(); + + String[] keyValuePairs = content.split("[{;,}]"); + + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + strMap.put(key, value); + } + } + this.map = strMap; + return map; + } +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageType.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageType.java new file mode 100644 index 00000000..a6223ca0 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageType.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.messagetype; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@ApiModel(value = "消息推送日志", description = "消息推送日志") +@TableName("message_push_log") +@Data +public class MessageType { + private String id; + private String sid; + private String icon; + private String name; + private String code; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeDto.java new file mode 100644 index 00000000..32764c8a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeDto.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.report.api.messagetype; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@Data +public class MessageTypeDto implements Dto { + private String id; + private String sid; + private String icon; + private String name; + private String code; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeQuery.java new file mode 100644 index 00000000..ed410c67 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeQuery.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.messagetype; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:07 + */ +@Data +public class MessageTypeQuery implements Query { + private String wxCode; + private String userSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeVo.java new file mode 100644 index 00000000..f9454577 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/messagetype/MessageTypeVo.java @@ -0,0 +1,24 @@ +package com.yxt.supervise.report.api.messagetype; + +import com.yxt.common.core.vo.Vo; +import com.yxt.supervise.report.api.imgmessageslog.ImgMessagesLogVo; +import com.yxt.supervise.report.api.messagepushlog.MessagePushLogVo; +import com.yxt.supervise.report.api.riskmessageslog.RiskMessagesLogVo; +import lombok.Data; + +import java.util.HashMap; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:57 + */ +@Data +public class MessageTypeVo implements Vo { + private String id; + private String sid; + private String icon;//图标 + private String name;//标题名 + private String code;// 消息code + private Object messageLogs; //数据消息 +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGather.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGather.java new file mode 100644 index 00000000..f18f8348 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGather.java @@ -0,0 +1,41 @@ +package com.yxt.supervise.report.api.reportinventorydaygather; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/26 14:39 + */ + +@ApiModel(value = "库存日报表-汇总", description = "库存日报表-汇总") +@TableName("report_inventory_day_gather") +@Data +public class ReportInventoryDayGather extends EntityWithId { + //记录创建时间 + private Date createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //排序 + private Integer sort; + //仓库类型 + private String storeType; + //仓库数量 + private Integer storeNumber; + //品种数量 + private Integer productCountNumber; + //货值 + private double productAmount; + //合计货值 + private double countAmount; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherDto.java new file mode 100644 index 00000000..cac1f6ac --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherDto.java @@ -0,0 +1,37 @@ +package com.yxt.supervise.report.api.reportinventorydaygather; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/26 14:39 + */ +@Data +public class ReportInventoryDayGatherDto implements Dto { + private String id; + //记录创建时间 + private Date createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //排序 + private Integer sort; + //仓库类型 + private String storeType; + //仓库数量 + private Integer storeNumber; + //品种数量 + private Integer productCountNumber; + //货值 + private double productAmount; + //合计货值 + private double countAmount; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherFeign.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherFeign.java new file mode 100644 index 00000000..8195b50d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherFeign.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.reportinventorydaygather; + +import com.yxt.common.core.result.ResultBean; +import com.yxt.supervise.report.api.reportinventorydaystore.ReportInventoryDayStoreVo; +import com.yxt.supervise.report.api.reportinventorydaytobaccostore.ReportInventoryDayTobaccoStoreVo; +import io.swagger.annotations.Api; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.ArrayList; + +/** + * @author wangpengfei + * @date 2023/6/27 14:05 + */ +@Api(tags = "信息") +@FeignClient( + contextId = "supervise-report-reportinventorydaygather", + name = "supervise-report", + path = "reportinventory", + fallback = ReportInventoryDayGatherFeignFallback.class) +public interface ReportInventoryDayGatherFeign { + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherFeignFallback.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherFeignFallback.java new file mode 100644 index 00000000..c12f9d24 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherFeignFallback.java @@ -0,0 +1,19 @@ +package com.yxt.supervise.report.api.reportinventorydaygather; + +import com.yxt.common.core.result.ResultBean; +import com.yxt.supervise.report.api.reportinventorydaystore.ReportInventoryDayStoreVo; +import com.yxt.supervise.report.api.reportinventorydaytobaccostore.ReportInventoryDayTobaccoStoreVo; +import org.springframework.stereotype.Component; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; + +import java.util.ArrayList; + +/** + * @author wangpengfei + * @date 2023/6/27 14:06 + */ +@Component +public class ReportInventoryDayGatherFeignFallback implements ReportInventoryDayGatherFeign{ + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherQuery.java new file mode 100644 index 00000000..4bcb301e --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherQuery.java @@ -0,0 +1,37 @@ +package com.yxt.supervise.report.api.reportinventorydaygather; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/6/26 14:39 + */ +@Data +public class ReportInventoryDayGatherQuery implements Query { + private String id; + //记录创建时间 + private Date createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //排序 + private Integer sort; + //仓库类型 + private String storeType; + //仓库数量 + private Integer storeNumber; + //品种数量 + private Integer productCountNumber; + //货值 + private double productAmount; + //合计货值 + private double countAmount; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherVo.java new file mode 100644 index 00000000..94544676 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaygather/ReportInventoryDayGatherVo.java @@ -0,0 +1,44 @@ +package com.yxt.supervise.report.api.reportinventorydaygather; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.math.BigDecimal; +import java.util.Date; +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/6/26 14:39 + */ +@Data +public class ReportInventoryDayGatherVo implements Vo { + private String id; + //记录创建时间 + private Date createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //排序 + private Integer sort; + //仓库类型 + private String storeType; + //仓库数量 + private Integer storeNumber; + //品种数量 + private Integer productCountNumber; + //货值 + private BigDecimal productAmount; + //合计货值 + private BigDecimal countAmount; + //下载url + private String downloadUrl; + //标题 + private String title; + private List list; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStore.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStore.java new file mode 100644 index 00000000..abdc86f7 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStore.java @@ -0,0 +1,28 @@ +package com.yxt.supervise.report.api.reportinventorydaystore; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/26 17:58 + */ +@ApiModel(value = "仓库库存报表-汇总", description = "仓库库存报表-汇总") +@TableName("report_inventory_day_store") +@Data +public class ReportInventoryDayStore extends EntityWithId { + private String createTime; + private String remarks; + private String orderDate; + private String serialNumber; + private String reportTime; + private String warehouseType; + private String storeCode; + private String storeCodeName; + private String productCountNumber; + private String productAmount; + private String countAmount; + private String countProductNumber; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreDto.java new file mode 100644 index 00000000..2cca6b62 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreDto.java @@ -0,0 +1,25 @@ +package com.yxt.supervise.report.api.reportinventorydaystore; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/26 17:59 + */ +@Data +public class ReportInventoryDayStoreDto implements Dto { + private String id; + private String createTime; + private String remarks; + private String orderDate; + private String serialNumber; + private String reportTime; + private String warehouseType; + private String storeCode; + private String storeCodeName; + private String productCountNumber; + private String productAmount; + private String countAmount; + private String countProductNumber; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreQuery.java new file mode 100644 index 00000000..e792524e --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreQuery.java @@ -0,0 +1,25 @@ +package com.yxt.supervise.report.api.reportinventorydaystore; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/26 17:59 + */ +@Data +public class ReportInventoryDayStoreQuery implements Query { + private String id; + private String createTime; + private String remarks; + private String orderDate; + private String serialNumber; + private String reportTime; + private String warehouseType; + private String storeCode; + private String storeCodeName; + private String productCountNumber; + private String productAmount; + private String countAmount; + private String countProductNumber; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreVo.java new file mode 100644 index 00000000..05520937 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaystore/ReportInventoryDayStoreVo.java @@ -0,0 +1,32 @@ +package com.yxt.supervise.report.api.reportinventorydaystore; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.math.BigDecimal; +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/6/26 17:59 + */ +@Data +public class ReportInventoryDayStoreVo implements Vo { + + private String id; + private String createTime; + private String remarks; + private String orderDate; + private String serialNumber; + private String reportTime; + private String warehouseType; + private String storeCode; + private String storeCodeName; + private Integer productCountNumber; + //商品品种数量 + private int typeNumber; + private BigDecimal productAmount; + private BigDecimal countAmount; + private BigDecimal countProductNumber; + private List list; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStore.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStore.java new file mode 100644 index 00000000..340cb3b0 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStore.java @@ -0,0 +1,40 @@ +package com.yxt.supervise.report.api.reportinventorydaytobaccostore; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/6/27 8:48 + */ +@ApiModel(value = "仓库库存报表-汇总", description = "仓库库存报表-汇总") +@TableName("report_inventory_day_tobacco_store") +@Data +public class ReportInventoryDayTobaccoStore extends EntityWithId { //记录创建时间 + private String createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //仓库类型 + private String warehouseType; + //门店编号 + private String storeCode; + //[门店编号]门店名称 + private String storeCodeName; + //品种数量 + private String productCountNumber; + //货值 + private String productAmount; + //合计货值 + private String countAmount; + //合计品种数量 + private String countProductNumber; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreDto.java new file mode 100644 index 00000000..99805b51 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreDto.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.report.api.reportinventorydaytobaccostore; + +import com.yxt.common.core.dto.Dto; + +/** + * @author wangpengfei + * @date 2023/6/27 8:48 + */ +public class ReportInventoryDayTobaccoStoreDto implements Dto { + //记录创建时间 + private String createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //仓库类型 + private String warehouseType; + //门店编号 + private String storeCode; + //[门店编号]门店名称 + private String storeCodeName; + //品种数量 + private String productCountNumber; + //货值 + private String productAmount; + //合计货值 + private String countAmount; + //合计品种数量 + private String countProductNumber; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreQuery.java new file mode 100644 index 00000000..67fae7de --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreQuery.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.report.api.reportinventorydaytobaccostore; + +import com.yxt.common.core.query.Query; + +/** + * @author wangpengfei + * @date 2023/6/27 8:49 + */ +public class ReportInventoryDayTobaccoStoreQuery implements Query { + //记录创建时间 + private String createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //仓库类型 + private String warehouseType; + //门店编号 + private String storeCode; + //[门店编号]门店名称 + private String storeCodeName; + //品种数量 + private String productCountNumber; + //货值 + private String productAmount; + //合计货值 + private String countAmount; + //合计品种数量 + private String countProductNumber; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreVo.java new file mode 100644 index 00000000..ba9a0607 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportinventorydaytobaccostore/ReportInventoryDayTobaccoStoreVo.java @@ -0,0 +1,43 @@ +package com.yxt.supervise.report.api.reportinventorydaytobaccostore; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.math.BigDecimal; +import java.util.List; + +/** + * @author wangpengfei + * @date 2023/6/27 8:49 + */ +@Data +public class ReportInventoryDayTobaccoStoreVo implements Vo { + private String id; + //记录创建时间 + private String createTime; + //备注说明 + private String remarks; + //单据日期 + private String orderDate; + //编号 + private String serialNumber; + //上报时间 + private String reportTime; + //仓库类型 + private String warehouseType; + //门店编号 + private String storeCode; + //[门店编号]门店名称 + private String storeCodeName; + //商品数量 + private Integer productCountNumber; + //商品品种数量 + private int typeNumber; + //货值 + private BigDecimal productAmount; + //合计货值 + private BigDecimal countAmount; + //合计品种数量 + private BigDecimal countProductNumber; + private List list; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGather.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGather.java new file mode 100644 index 00000000..7206f5d9 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGather.java @@ -0,0 +1,162 @@ +package com.yxt.supervise.report.api.reportsalesdaygather; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.domain.BaseEntity; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/4/21 10:13 + */ +@ApiModel(value = "销售日报表-汇总", description = "销售日报表-汇总") +@TableName("report_sales_day_gather") +@Data +public class ReportSalesDayGather extends EntityWithId { + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createTime = new Date(); // 记录创建时间/ + @ApiModelProperty("备注说明") + private String remarks; + @ApiModelProperty("单据日期") + private String orderDate; + @ApiModelProperty("编号") + private String serialNumber; + @ApiModelProperty("上报时间") + private String reportTime; + @ApiModelProperty("科目/日,大前天") + private String kmDateA; + @ApiModelProperty("科目/日,前天") + private String kmDateB; + @ApiModelProperty("科目/日,昨天") + private String kmDateC; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),大前天") + private double xjllA=0; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),前天") + private double xjllB=0; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),昨天") + private double xjllC=0; + @ApiModelProperty("销售商品收到的现金(元),大前天") + private double xsxjA=0; + @ApiModelProperty("销售商品收到的现金(元),前天") + private double xsxjB=0; + @ApiModelProperty("销售商品收到的现金(元),昨天") + private double xsxjC=0; + @ApiModelProperty("收到其他与经营活动有关的现金(元),大前天") + private double qtxjA=0; + @ApiModelProperty("收到其他与经营活动有关的现金(元),前天") + private double qtxjB=0; + @ApiModelProperty("收到其他与经营活动有关的现金(元),昨天") + private double qtxjC=0; + @ApiModelProperty("财务分析本项合计,大前天") + private double cwfxhjA=0; + @ApiModelProperty("财务分析本项合计,前天") + private double cwfxhjB=0; + @ApiModelProperty("财务分析本项合计,昨天") + private double cwfxhjC=0; + @ApiModelProperty("资产负债-流动资产(元),大前天") + private double zcfzA=0; + @ApiModelProperty("资产负债-流动资产(元),前天") + private double zcfzB=0; + @ApiModelProperty("资产负债-流动资产(元),昨天") + private double zcfzC=0; + @ApiModelProperty("应收账款(元),大前天") + private double yszkA=0; + @ApiModelProperty("应收账款(元),前天") + private double yszkB=0; + @ApiModelProperty("应收账款(元),昨天") + private double yszkC=0; + @ApiModelProperty("流动负债(元),大前天") + private double ldfzA=0; + @ApiModelProperty("流动负债(元),前天") + private double ldfzB=0; + @ApiModelProperty("流动负债(元),昨天") + private double ldfzC=0; + @ApiModelProperty("预收款项(元),大前天") + private double yskxA=0; + @ApiModelProperty("预收款项(元),前天") + private double yskxB=0; + @ApiModelProperty("预收款项(元),昨天") + private double yskxC=0; + @ApiModelProperty("期初总货值") + private double cqzhz=0; + @ApiModelProperty("烟草期初货值") + private double ycqchz=0; + @ApiModelProperty("项目/日,前天") + private String xmDateA; + @ApiModelProperty("项目/日,昨天") + private String xmDateB; + @ApiModelProperty("项目/日,今天") + private String xmDateC; + @ApiModelProperty("在途货值(元),前天") + private double zthzA=0; + @ApiModelProperty("在途货值(元),昨天") + private double zthzB=0; + @ApiModelProperty("在途货值(元),今天") + private double zthzC=0; + @ApiModelProperty("库存货值(元),前天") + private double kchzA=0; + @ApiModelProperty("库存货值(元),昨天") + private double kchzB=0; + @ApiModelProperty("库存货值(元),今天") + private double kchzC=0; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,前天") + private double zhyeA=0; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,昨天") + private double zhyeB=0; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,今天") + private double zhyeC=0; + @ApiModelProperty("预警应收帐款(元),前天") + private double yjyszkA=0; + @ApiModelProperty("预警应收帐款(元),昨天") + private double yjyszkB=0; + @ApiModelProperty("预警应收帐款(元),今天") + private double yjyszkC=0; + @ApiModelProperty("主要预警指标本项合计,前天") + private double yjhjA=0; + @ApiModelProperty("主要预警指标本项合计,昨天") + private double yjhjB=0; + @ApiModelProperty("主要预警指标本项合计,今天") + private double yjhjC=0; + @ApiModelProperty("连网连锁店,总额(元)") + private double lwlsdze=0; + @ApiModelProperty("连网连锁店,应收帐款(元)") + private double lwlsdyszk=0; + @ApiModelProperty("连网连锁店,扣除应收金额(元)") + private double lwlsdkcje=0; + @ApiModelProperty("连锁内加盟,总额(元)") + private double lsnjmze=0; + @ApiModelProperty("连锁内加盟,应收帐款(元)") + private double lsnjmyszk=0; + @ApiModelProperty("连锁内加盟,扣除应收金额(元)") + private double lsnjmkcje=0; + @ApiModelProperty("配送中心,总额(元)") + private double pszxze=0; + @ApiModelProperty("配送中心,应收帐款(元)") + private double pszxyszk=0; + @ApiModelProperty("配送中心,扣除应收金额(元)") + private double pszxkcje=0; + @ApiModelProperty("连锁外加盟(销配结算),总额(元)") + private double lswjmze=0; + @ApiModelProperty("连锁外加盟(销配结算),应收帐款(元)") + private double lswjmyszk=0; + @ApiModelProperty("连锁外加盟(销配结算),扣除应收金额(元)") + private double lswjmkcje=0; + @ApiModelProperty("36524集团报烟门店仓,总额(元)") + private double ycmdze=0; + @ApiModelProperty("36524集团报烟门店仓,应收帐款(元)") + private double ycmdyszk=0; + @ApiModelProperty("36524集团报烟门店仓,扣除应收金额(元)") + private double ycmdkcje=0; + @ApiModelProperty("烟草连锁外加盟(销配结算),总额(元)") + private double ycjmdze=0; + @ApiModelProperty("烟草连锁外加盟(销配结算),应收帐款(元)") + private double ycjmdyszk=0; + @ApiModelProperty("烟草连锁外加盟(销配结算),扣除应收金额(元)") + private double ycjmdkcje=0; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherDto.java new file mode 100644 index 00000000..172b8621 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherDto.java @@ -0,0 +1,156 @@ +package com.yxt.supervise.report.api.reportsalesdaygather; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/4/27 9:26 + */ +@Data +public class ReportSalesDayGatherDto implements Dto { + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createTime = new Date(); // 记录创建时间/ + @ApiModelProperty("备注说明") + private String remarks; + @ApiModelProperty("单据日期") + private String orderDate; + @ApiModelProperty("编号") + private String serialNumber; + @ApiModelProperty("上报时间") + private String reportTime; + @ApiModelProperty("科目/日,大前天") + private String kmDateA; + @ApiModelProperty("科目/日,前天") + private String kmDateB; + @ApiModelProperty("科目/日,昨天") + private String kmDateC; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),大前天") + private double xjliA; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),前天") + private double xjliB; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),昨天") + private double xjliC; + @ApiModelProperty("销售商品收到的现金(元),大前天") + private double xsxjA; + @ApiModelProperty("销售商品收到的现金(元),前天") + private double xsxjB; + @ApiModelProperty("销售商品收到的现金(元),昨天") + private double xsxjC; + @ApiModelProperty("收到其他与经营活动有关的现金(元),大前天") + private double qtxjA; + @ApiModelProperty("收到其他与经营活动有关的现金(元),前天") + private double qtxjB; + @ApiModelProperty("收到其他与经营活动有关的现金(元),昨天") + private double qtxjC; + @ApiModelProperty("财务分析本项合计,大前天") + private double cwfxhjA; + @ApiModelProperty("财务分析本项合计,前天") + private double cwfxhjB; + @ApiModelProperty("财务分析本项合计,昨天") + private double cwfxhjC; + @ApiModelProperty("资产负债-流动资产(元),大前天") + private double zcfzA; + @ApiModelProperty("资产负债-流动资产(元),前天") + private double zcfzB; + @ApiModelProperty("资产负债-流动资产(元),昨天") + private double zcfzC; + @ApiModelProperty("应收账款(元),大前天") + private double yszkA; + @ApiModelProperty("应收账款(元),前天") + private double yszkB; + @ApiModelProperty("应收账款(元),昨天") + private double yszkC; + @ApiModelProperty("流动负债(元),大前天") + private double ldfzA; + @ApiModelProperty("流动负债(元),前天") + private double ldfzB; + @ApiModelProperty("流动负债(元),昨天") + private double ldfzC; + @ApiModelProperty("预收款项(元),大前天") + private double yskxA; + @ApiModelProperty("预收款项(元),前天") + private double yskxB; + @ApiModelProperty("预收款项(元),昨天") + private double yskxC; + @ApiModelProperty("期初总货值") + private double cqzhz; + @ApiModelProperty("烟草期初货值") + private double ycqchz; + @ApiModelProperty("项目/日,前天") + private String xmDateA; + @ApiModelProperty("项目/日,昨天") + private String xmDateB; + @ApiModelProperty("项目/日,今天") + private String xmDateC; + @ApiModelProperty("在途货值(元),前天") + private double zthzA; + @ApiModelProperty("在途货值(元),昨天") + private double zthzB; + @ApiModelProperty("在途货值(元),今天") + private double zthzC; + @ApiModelProperty("库存货值(元),前天") + private double kchzA; + @ApiModelProperty("库存货值(元),昨天") + private double kchzB; + @ApiModelProperty("库存货值(元),今天") + private double kchzC; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,前天") + private double zhyeA; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,昨天") + private double zhyeB; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,今天") + private double zhyeC; + @ApiModelProperty("预警应收帐款(元),前天") + private double yjyszkA; + @ApiModelProperty("预警应收帐款(元),昨天") + private double yjyszkB; + @ApiModelProperty("预警应收帐款(元),今天") + private double yjyszkC; + @ApiModelProperty("主要预警指标本项合计,前天") + private double yjhjA; + @ApiModelProperty("主要预警指标本项合计,昨天") + private double yjhjB; + @ApiModelProperty("主要预警指标本项合计,今天") + private double yjhjC; + @ApiModelProperty("连网连锁店,总额(元)") + private double lwlsdze; + @ApiModelProperty("连网连锁店,应收帐款(元)") + private double lwlsdyszk; + @ApiModelProperty("连网连锁店,扣除应收金额(元)") + private double lwlsdkcje; + @ApiModelProperty("连锁内加盟,总额(元)") + private double lsnjmze; + @ApiModelProperty("连锁内加盟,应收帐款(元)") + private double lsnjmyszk; + @ApiModelProperty("连锁内加盟,扣除应收金额(元)") + private double lsnjmkcje; + @ApiModelProperty("配送中心,总额(元)") + private double pszxze; + @ApiModelProperty("配送中心,应收帐款(元)") + private double pszxyszk; + @ApiModelProperty("配送中心,扣除应收金额(元)") + private double pszxkcje; + @ApiModelProperty("连锁外加盟(销配结算),总额(元)") + private double lswjmze; + @ApiModelProperty("连锁外加盟(销配结算),应收帐款(元)") + private double lswjmyszk; + @ApiModelProperty("连锁外加盟(销配结算),扣除应收金额(元)") + private double lswjmkcje; + @ApiModelProperty("36524集团报烟门店仓,总额(元)") + private double ycmdze; + @ApiModelProperty("36524集团报烟门店仓,应收帐款(元)") + private double ycmdyszk; + @ApiModelProperty("36524集团报烟门店仓,扣除应收金额(元)") + private double ycmdkcje; + @ApiModelProperty("烟草连锁外加盟(销配结算),总额(元)") + private double ycjmdze; + @ApiModelProperty("烟草连锁外加盟(销配结算),应收帐款(元)") + private double ycjmdyszk; + @ApiModelProperty("烟草连锁外加盟(销配结算),扣除应收金额(元)") + private double ycjmdkcje; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherQuery.java new file mode 100644 index 00000000..0dbae2c7 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.reportsalesdaygather; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 11:15 + */ +@Data +public class ReportSalesDayGatherQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherVo.java new file mode 100644 index 00000000..065aa0be --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaygather/ReportSalesDayGatherVo.java @@ -0,0 +1,157 @@ +package com.yxt.supervise.report.api.reportsalesdaygather; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/4/21 11:15 + */ +@Data +public class ReportSalesDayGatherVo implements Vo { + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createTime = new Date(); // 记录创建时间/ + @ApiModelProperty("备注说明") + private String remarks; + @ApiModelProperty("单据日期") + private String orderDate; + @ApiModelProperty("编号") + private String serialNumber; + @ApiModelProperty("上报时间") + private String reportTime; + @ApiModelProperty("科目/日,大前天") + private String kmDateA; + @ApiModelProperty("科目/日,前天") + private String kmDateB; + @ApiModelProperty("科目/日,昨天") + private String kmDateC; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),大前天") + private double xjliA; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),前天") + private double xjliB; + @ApiModelProperty("现金流量-经营活动产生的现金流量(元),昨天") + private double xjliC; + @ApiModelProperty("销售商品收到的现金(元),大前天") + private double xsxjA; + @ApiModelProperty("销售商品收到的现金(元),前天") + private double xsxjB; + @ApiModelProperty("销售商品收到的现金(元),昨天") + private double xsxjC; + @ApiModelProperty("收到其他与经营活动有关的现金(元),大前天") + private double qtxjA; + @ApiModelProperty("收到其他与经营活动有关的现金(元),前天") + private double qtxjB; + @ApiModelProperty("收到其他与经营活动有关的现金(元),昨天") + private double qtxjC; + @ApiModelProperty("财务分析本项合计,大前天") + private double cwfxhjA; + @ApiModelProperty("财务分析本项合计,前天") + private double cwfxhjB; + @ApiModelProperty("财务分析本项合计,昨天") + private double cwfxhjC; + @ApiModelProperty("资产负债-流动资产(元),大前天") + private double zcfzA; + @ApiModelProperty("资产负债-流动资产(元),前天") + private double zcfzB; + @ApiModelProperty("资产负债-流动资产(元),昨天") + private double zcfzC; + @ApiModelProperty("应收账款(元),大前天") + private double yszkA; + @ApiModelProperty("应收账款(元),前天") + private double yszkB; + @ApiModelProperty("应收账款(元),昨天") + private double yszkC; + @ApiModelProperty("流动负债(元),大前天") + private double ldfzA; + @ApiModelProperty("流动负债(元),前天") + private double ldfzB; + @ApiModelProperty("流动负债(元),昨天") + private double ldfzC; + @ApiModelProperty("预收款项(元),大前天") + private double yskxA; + @ApiModelProperty("预收款项(元),前天") + private double yskxB; + @ApiModelProperty("预收款项(元),昨天") + private double yskxC; + @ApiModelProperty("期初总货值") + private double cqzhz; + @ApiModelProperty("烟草期初货值") + private double ycqchz; + @ApiModelProperty("项目/日,前天") + private String xmDateA; + @ApiModelProperty("项目/日,昨天") + private String xmDateB; + @ApiModelProperty("项目/日,今天") + private String xmDateC; + @ApiModelProperty("在途货值(元),前天") + private double zthzA; + @ApiModelProperty("在途货值(元),昨天") + private double zthzB; + @ApiModelProperty("在途货值(元),今天") + private double zthzC; + @ApiModelProperty("库存货值(元),前天") + private double kchzA; + @ApiModelProperty("库存货值(元),昨天") + private double kchzB; + @ApiModelProperty("库存货值(元),今天") + private double kchzC; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,前天") + private double zhyeA; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,昨天") + private double zhyeB; + @ApiModelProperty("帐户余额(元)账户余额为前一天余额,今天") + private double zhyeC; + @ApiModelProperty("预警应收帐款(元),前天") + private double yjyszkA; + @ApiModelProperty("预警应收帐款(元),昨天") + private double yjyszkB; + @ApiModelProperty("预警应收帐款(元),今天") + private double yjyszkC; + @ApiModelProperty("主要预警指标本项合计,前天") + private double yjhjA; + @ApiModelProperty("主要预警指标本项合计,昨天") + private double yjhjB; + @ApiModelProperty("主要预警指标本项合计,今天") + private double yjhjC; + @ApiModelProperty("连网连锁店,总额(元)") + private double lwlsdze; + @ApiModelProperty("连网连锁店,应收帐款(元)") + private double lwlsdyszk; + @ApiModelProperty("连网连锁店,扣除应收金额(元)") + private double lwlsdkcje; + @ApiModelProperty("连锁内加盟,总额(元)") + private double lsnjmze; + @ApiModelProperty("连锁内加盟,应收帐款(元)") + private double lsnjmyszk; + @ApiModelProperty("连锁内加盟,扣除应收金额(元)") + private double lsnjmkcje; + @ApiModelProperty("配送中心,总额(元)") + private double pszxze; + @ApiModelProperty("配送中心,应收帐款(元)") + private double pszxyszk; + @ApiModelProperty("配送中心,扣除应收金额(元)") + private double pszxkcje; + @ApiModelProperty("连锁外加盟(销配结算),总额(元)") + private double lswjmze; + @ApiModelProperty("连锁外加盟(销配结算),应收帐款(元)") + private double lswjmyszk; + @ApiModelProperty("连锁外加盟(销配结算),扣除应收金额(元)") + private double lswjmkcje; + @ApiModelProperty("36524集团报烟门店仓,总额(元)") + private double ycmdze; + @ApiModelProperty("36524集团报烟门店仓,应收帐款(元)") + private double ycmdyszk; + @ApiModelProperty("36524集团报烟门店仓,扣除应收金额(元)") + private double ycmdkcje; + @ApiModelProperty("烟草连锁外加盟(销配结算),总额(元)") + private double ycjmdze; + @ApiModelProperty("烟草连锁外加盟(销配结算),应收帐款(元)") + private double ycjmdyszk; + @ApiModelProperty("烟草连锁外加盟(销配结算),扣除应收金额(元)") + private double ycjmdkcje; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/MyHandler.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/MyHandler.java new file mode 100644 index 00000000..380bfcea --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/MyHandler.java @@ -0,0 +1,85 @@ +package com.yxt.supervise.report.api.reportsalesdaylog; + + +import com.alibaba.excel.metadata.Head; +import com.alibaba.excel.write.merge.AbstractMergeStrategy; +import org.apache.poi.ss.usermodel.*; +import org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.ss.util.RegionUtil; +import java.util.List; + +/** + * 合并单元格处理类 + */ +public class MyHandler extends AbstractMergeStrategy { + /** + * 合并开始行 + */ + private Integer startRow = 0; + /** + * list表格所有的合并列集合 + */ + private List cellRangeAddressList = null; + + public MyHandler() { + } + + public MyHandler(int startRow, List cellRangeAddressList) { + this.startRow = startRow; + this.cellRangeAddressList = cellRangeAddressList; + } + + @Override + protected void merge(Sheet sheet, Cell cell, Head head, Integer relativeRowIndex) { + // 设置样式 + CellStyle cellStyle = cell.getCellStyle(); + //水平居中 + cellStyle.setAlignment(HorizontalAlignment.CENTER); + //自动换行 + cellStyle.setWrapText(true); + //在这里判断从哪一行开始调用合并的方法 + if (cell.getRowIndex() > this.startRow) { + if (relativeRowIndex == null || relativeRowIndex == 0) { + return; + } + mergeColumn(sheet, cell, head, relativeRowIndex); + } + } + + /** + * 合并单元格 + * + * @param sheet + * @param cell + * @param head + * @param relativeRowIndex + */ + protected void mergeColumn(Sheet sheet, Cell cell, Head head, Integer relativeRowIndex) { + int rowIndex = cell.getRowIndex(); + int colIndex = cell.getColumnIndex(); + sheet = cell.getSheet(); + // 获取前一行 + Row preRow = sheet.getRow(rowIndex - 1); + //获取前一列 + Cell preCell = preRow.getCell(colIndex); + List list = this.cellRangeAddressList; + for (int i = 0; i < list.size(); i++) { + CellRangeAddress cellRangeAddress = list.get(i); + if (cellRangeAddress.containsColumn(preCell.getColumnIndex())) { + int lastColIndex = cellRangeAddress.getLastColumn(); + int firstColIndex = cellRangeAddress.getFirstColumn(); + CellRangeAddress cra = new CellRangeAddress(cell.getRowIndex(), cell.getRowIndex(), firstColIndex, lastColIndex); + sheet.addMergedRegion(cra); + // 加边框 + RegionUtil.setBorderBottom(BorderStyle.THIN, cra, sheet); + RegionUtil.setBorderLeft(BorderStyle.THIN, cra, sheet); + RegionUtil.setBorderRight(BorderStyle.THIN, cra, sheet); + RegionUtil.setBorderTop(BorderStyle.THIN, cra, sheet); + return; + } + } + + } + + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLog.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLog.java new file mode 100644 index 00000000..3907f417 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLog.java @@ -0,0 +1,22 @@ +package com.yxt.supervise.report.api.reportsalesdaylog; + +import com.yxt.common.core.domain.BaseEntity; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 15:27 + */ +@Data +public class ReportSalesDayLog extends BaseEntity { + //单据日期 + private String orderDate; + //文件完整路径 + private String fullUrl; + //文件相对路径 + private String filePath; + //上报时间 + private String reportTime; + //编号 + private String serialNumber; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogDto.java new file mode 100644 index 00000000..f8837e0a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogDto.java @@ -0,0 +1,10 @@ +package com.yxt.supervise.report.api.reportsalesdaylog; + +import com.yxt.common.core.dto.Dto; + +/** + * @author wangpengfei + * @date 2023/4/24 17:30 + */ +public class ReportSalesDayLogDto implements Dto { +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogQuery.java new file mode 100644 index 00000000..b2a44d9a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogQuery.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.reportsalesdaylog; + +import com.yxt.common.core.query.Query; +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 15:28 + */ +@Data +public class ReportSalesDayLogQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogVo.java new file mode 100644 index 00000000..e80a7a6a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaylog/ReportSalesDayLogVo.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.reportsalesdaylog; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 15:27 + */ +@Data +public class ReportSalesDayLogVo implements Vo { + private String orderDate; + private String fullUrl; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStore.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStore.java new file mode 100644 index 00000000..8f8cdb58 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStore.java @@ -0,0 +1,24 @@ +package com.yxt.supervise.report.api.reportsalesdaystore; + +import com.yxt.common.core.domain.BaseEntity; +import com.yxt.common.core.domain.EntityWithId; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 13:47 + */ +@Data +public class ReportSalesDayStore extends EntityWithId { + //private String id; //'ID,唯一编号', + private String createTime; // '记录创建时间', + private String remarks;//'备注说明', + private String orderDate; //'单据日期', + private String serialNumber; // '编号', + private String storeNumber;// '渠道数量', + private String reportTime;//'上报时间', + private String sort; // '序号', + private String storeCodeName; //'[门店编号]门店名称', + private double saleAmount ;//'销售金额', + private double countAmount; //'总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreDto.java new file mode 100644 index 00000000..bd0809db --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreDto.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.reportsalesdaystore; + +import com.yxt.common.core.dto.Dto; + +/** + * @author wangpengfei + * @date 2023/4/23 15:41 + */ +public class ReportSalesDayStoreDto implements Dto { + private String id; //'ID,唯一编号', + private String createTime; // '记录创建时间', + private String remarks;//'备注说明', + private String orderDate; //'单据日期', + private String serialNumber; // '编号', + private String storeNumber;// '渠道数量', + private String reportTime;//'上报时间', + private String sort; // '序号', + private String storeCodeName; //'[门店编号]门店名称', + private String saleAmount ;//'销售金额', + private String countAmount; //'总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreQuery.java new file mode 100644 index 00000000..db927414 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.reportsalesdaystore; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 13:47 + */ +@Data +public class ReportSalesDayStoreQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreVo.java new file mode 100644 index 00000000..3a8ce936 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystore/ReportSalesDayStoreVo.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.reportsalesdaystore; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 13:47 + */ +@Data +public class ReportSalesDayStoreVo implements Vo { + private String id; //'ID,唯一编号', + private String createTime; // '记录创建时间', + private String remarks;//'备注说明', + private String orderDate; //'单据日期', + private String serialNumber; // '编号', + private String storeNumber;// '渠道数量', + private String reportTime;//'上报时间', + private String sort; // '序号', + private String storeCodeName; //'[门店编号]门店名称', + private String saleAmount ;//'销售金额', + private String countAmount; //'总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProduct.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProduct.java new file mode 100644 index 00000000..58f4592c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProduct.java @@ -0,0 +1,31 @@ +package com.yxt.supervise.report.api.reportsalesdaystoreproduct; + +import com.yxt.common.core.domain.BaseEntity; +import com.yxt.common.core.domain.EntityWithId; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/4/21 13:57 + */ +@Data +public class ReportSalesDayStoreProduct extends EntityWithId { + //private String id;//'ID,唯一编号', + private Date createTime; // '记录创建时间', + private String remarks;// '备注说明', + private String orderDate;// '单据日期', + private String serialNumber; // '编号', + private String productNumber; // '商品数量', + private String reportTime; // '上报时间', + private String storeCodeName;// '[门店编号]门店名称', + private String saleType; // '销售类型:零售、批发', + private String saleCode; // '销售订单号', + private String productCode; //'商品编码', + private String productName; // '商品名称', + private String saleNumber; //'数量', + private String salePrice; // '单价', + private double saleAmount; // '小计', + private double countAmount; // '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductDto.java new file mode 100644 index 00000000..96f004f9 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductDto.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.reportsalesdaystoreproduct; + +import com.yxt.common.core.dto.Dto; + +/** + * @author wangpengfei + * @date 2023/4/23 15:51 + */ +public class ReportSalesDayStoreProductDto implements Dto { + private String id;//'ID,唯一编号', + private String createTime; // '记录创建时间', + private String remarks;// '备注说明', + private String orderDate;// '单据日期', + private String serialNumber; // '编号', + private String productNumber; // '商品数量', + private String reportTime; // '上报时间', + private String storeCodeName;// '[门店编号]门店名称', + private String saleType; // '销售类型:零售、批发', + private String saleCode; // '销售订单号', + private String productCode; //'商品编码', + private String productName; // '商品名称', + private String saleNumber; //'数量', + private String salePrice; // '单价', + private String saleAmount; // '小计', + private String countAmount; // '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductQuery.java new file mode 100644 index 00000000..4846597c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.reportsalesdaystoreproduct; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 13:57 + */ +@Data +public class ReportSalesDayStoreProductQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductVo.java new file mode 100644 index 00000000..c79b7081 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaystoreproduct/ReportSalesDayStoreProductVo.java @@ -0,0 +1,28 @@ +package com.yxt.supervise.report.api.reportsalesdaystoreproduct; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 13:57 + */ +@Data +public class ReportSalesDayStoreProductVo implements Vo { + private String id;//'ID,唯一编号', + //private String createTime; // '记录创建时间', + //private String remarks;// '备注说明', + private String orderDate;// '单据日期', + private String serialNumber; // '编号', + private String productNumber; // '商品数量', + private String reportTime; // '上报时间', + private String storeCodeName;// '[门店编号]门店名称', + private String saleType; // '销售类型:零售、批发', + private String saleCode; // '销售订单号', + private String productCode; //'商品编码', + private String productName; // '商品名称', + private String saleNumber; //'数量', + private String salePrice; // '单价', + private String saleAmount; // '小计', + private String countAmount; // '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStore.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStore.java new file mode 100644 index 00000000..7f0f40ba --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStore.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostore; + +import com.yxt.common.core.domain.BaseEntity; +import com.yxt.common.core.domain.EntityWithId; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/4/21 14:11 + */ +@Data +public class ReportSalesDayTobaccoStore extends EntityWithId { + //private String id ;// 'ID,唯一编号', + private Date createTime ;// '记录创建时间', + private String remarks ;// '备注说明', + private String orderDate ;// '单据日期', + private String serialNumber ;// '编号', + private String storeNumber;// '渠道数量', + private String reportTime ;// '上报时间', + private String sort; // '序号', + private String storeCodeName ;// '[门店编号]门店名称', + private double saleAmount ;// '销售金额', + private double countAmount ;// '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreDto.java new file mode 100644 index 00000000..0445e9af --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreDto.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostore; + +import com.yxt.common.core.dto.Dto; + +/** + * @author wangpengfei + * @date 2023/4/23 15:52 + */ +public class ReportSalesDayTobaccoStoreDto implements Dto { + private String id ;// 'ID,唯一编号', + //private String createTime ;// '记录创建时间', + //private String remarks ;// '备注说明', + private String orderDate ;// '单据日期', + private String serialNumber ;// '编号', + private String storeNumber;// '渠道数量', + private String reportTime ;// '上报时间', + private String sort; // '序号', + private String storeCodeName ;// '[门店编号]门店名称', + private String saleAmount ;// '销售金额', + private String countAmount ;// '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreQuery.java new file mode 100644 index 00000000..5b2cc04d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostore; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 14:12 + */ +@Data +public class ReportSalesDayTobaccoStoreQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreVo.java new file mode 100644 index 00000000..8c41c7a8 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostore/ReportSalesDayTobaccoStoreVo.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostore; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 14:12 + */ +@Data +public class ReportSalesDayTobaccoStoreVo implements Vo { + private String id ;// 'ID,唯一编号', + //private String createTime ;// '记录创建时间', + //private String remarks ;// '备注说明', + private String orderDate ;// '单据日期', + private String serialNumber ;// '编号', + private String storeNumber;// '渠道数量', + private String reportTime ;// '上报时间', + private String sort; // '序号', + private String storeCodeName ;// '[门店编号]门店名称', + private String saleAmount ;// '销售金额', + private String countAmount ;// '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProduct.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProduct.java new file mode 100644 index 00000000..8692c76c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProduct.java @@ -0,0 +1,31 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostoreproduct; + +import com.yxt.common.core.domain.BaseEntity; +import com.yxt.common.core.domain.EntityWithId; +import lombok.Data; + +import java.util.Date; + +/** + * @author wangpengfei + * @date 2023/4/21 14:20 + */ +@Data +public class ReportSalesDayTobaccoStoreProduct extends EntityWithId { + //private String id;//'ID,唯一编号', + private Date createTime; // '记录创建时间', + private String remarks;// '备注说明', + private String orderDate;// '单据日期', + private String serialNumber; // '编号', + private String productNumber; // '商品数量', + private String reportTime; // '上报时间', + private String storeCodeName;// '[门店编号]门店名称', + private String saleType; // '销售类型:零售、批发', + private String saleCode; // '销售订单号', + private String productCode; //'商品编码', + private String productName; // '商品名称', + private String saleNumber; //'数量', + private String salePrice; // '单价', + private double saleAmount; // '小计', + private double countAmount; // '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductDto.java new file mode 100644 index 00000000..4f2586cb --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductDto.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostoreproduct; + +import com.yxt.common.core.dto.Dto; + +/** + * @author wangpengfei + * @date 2023/4/23 15:53 + */ +public class ReportSalesDayTobaccoStoreProductDto implements Dto { + private String id;//'ID,唯一编号', + private String createTime; // '记录创建时间', + private String remarks;// '备注说明', + private String orderDate;// '单据日期', + private String serialNumber; // '编号', + private String productNumber; // '商品数量', + private String reportTime; // '上报时间', + private String storeCodeName;// '[门店编号]门店名称', + private String saleType; // '销售类型:零售、批发', + private String saleCode; // '销售订单号', + private String productCode; //'商品编码', + private String productName; // '商品名称', + private String saleNumber; //'数量', + private String salePrice; // '单价', + private String saleAmount; // '小计', + private String countAmount; // '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductQuery.java new file mode 100644 index 00000000..792ec714 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductQuery.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostoreproduct; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 14:21 + */ +@Data +public class ReportSalesDayTobaccoStoreProductQuery implements Query { + private String date; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductVo.java new file mode 100644 index 00000000..b8564c97 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/reportsalesdaytobaccostoreproduct/ReportSalesDayTobaccoStoreProductVo.java @@ -0,0 +1,28 @@ +package com.yxt.supervise.report.api.reportsalesdaytobaccostoreproduct; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/21 14:21 + */ +@Data +public class ReportSalesDayTobaccoStoreProductVo implements Vo { + private String id;//'ID,唯一编号', + //private String createTime; // '记录创建时间', + //private String remarks;// '备注说明', + private String orderDate;// '单据日期', + private String serialNumber; // '编号', + private String productNumber; // '商品数量', + private String reportTime; // '上报时间', + private String storeCodeName;// '[门店编号]门店名称', + private String saleType; // '销售类型:零售、批发', + private String saleCode; // '销售订单号', + private String productCode; //'商品编码', + private String productName; // '商品名称', + private String saleNumber; //'数量', + private String salePrice; // '单价', + private String saleAmount; // '小计', + private String countAmount; // '总计销售金额', +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLog.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLog.java new file mode 100644 index 00000000..093ee761 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLog.java @@ -0,0 +1,24 @@ +package com.yxt.supervise.report.api.riskmessageslog; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@ApiModel(value = "消息推送日志", description = "消息推送日志") +@TableName("risk_messages_log") +@Data +public class RiskMessagesLog extends EntityWithId { + private String sid; + private String messageTime; + private String pagepath; + private String content; + private String projectSid; + private String orderDate; + private String riskSid; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogDto.java new file mode 100644 index 00000000..93c4dfef --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogDto.java @@ -0,0 +1,27 @@ +package com.yxt.supervise.report.api.riskmessageslog; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@Data +public class RiskMessagesLogDto implements Dto { + private String id; + private String sid; + private String messageTime; + private String pagepath; + //private Map content; + private Map content; + private List messageOpenids; + private String openid;//小程序openid + private String projectSid; + private String orderDate; + private String riskSid; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogQuery.java new file mode 100644 index 00000000..f1df7690 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogQuery.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.riskmessageslog; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:07 + */ +@Data +public class RiskMessagesLogQuery implements Query { + private String userSid; + private String state;//0未读 1 已读 2全部 +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogVo.java new file mode 100644 index 00000000..360d92f1 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/RiskMessagesLogVo.java @@ -0,0 +1,93 @@ +package com.yxt.supervise.report.api.riskmessageslog; + +import cn.hutool.core.util.StrUtil; +import com.yxt.common.core.vo.Vo; +import com.yxt.supervise.report.api.imgmessageslog.Linkers; +import lombok.Data; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:57 + */ +@Data +public class RiskMessagesLogVo implements Vo { + private String id; + private String sid; + private String messageTime; + private String pagepath; + private String content; + //消息状态 + private String oState; + private Map map; + private String riskSid; + private String shName; + private List devices; + private String text; + List linkers; + private String shSid; + private Integer count; + private List message; + private String type; + private TemplateMessageVo templateMessageVo; + //{time4=2023-09-14 17:17:35, thing8=中通樊家屯仓, thing2=东北角的摄像头,111,22,33} + //{thing3=中通樊家屯仓, thing2=东北角的摄像头,111,22,33, time5=2023-09-14 17:18:00} + public TemplateMessageVo getTemplateMessageVo() { + TemplateMessageVo vo=new TemplateMessageVo(); + if(StrUtil.isNotEmpty(type)){ + if(type.equals("设备离线")){ + vo.setTime(map.get("time4")); + vo.setShName(map.get("thing8")); + }else if(type.equals("设备离线解除")){ + vo.setTime(map.get("time5")); + vo.setShName(map.get("thing3")); + }else if(type.equals("系统异常")){ + vo.setTime(map.get("time4")); + vo.setShName("环境监控未向平台推送数据"); + }else if(type.equals("系统异常解除")){ + vo.setTime(map.get("time5")); + vo.setShName("环境监控已正常推送数据"); + } + } + this.templateMessageVo=vo; + return templateMessageVo; + } + + public List getMessage() { + List l=new ArrayList<>(); + String[] keyValuePairs = content.split("[{;,}]"); + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + l.add(value); + } + } + this.message=l; + return message; + } + + public Map getMap() { + Map strMap = new HashMap<>(); + + String[] keyValuePairs = content.split("[{;,}]"); + + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + strMap.put(key, value); + } + } + this.map = strMap; + return map; + } +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/TemplateMessageVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/TemplateMessageVo.java new file mode 100644 index 00000000..658e9264 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageslog/TemplateMessageVo.java @@ -0,0 +1,13 @@ +package com.yxt.supervise.report.api.riskmessageslog; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/9/15 8:54 + */ +@Data +public class TemplateMessageVo { + private String shName; + private String time; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUser.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUser.java new file mode 100644 index 00000000..bfdbe7a4 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUser.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.report.api.riskmessageuser; + +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@ApiModel(value = "消息用户微信openid关联", description = "消息用户微信openid关联") +@TableName("risk_message_user") +@Data +public class RiskMessageUser { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserDto.java new file mode 100644 index 00000000..842d1bfd --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserDto.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.riskmessageuser; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@Data +public class RiskMessageUserDto implements Dto { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserQuery.java new file mode 100644 index 00000000..0ce0f015 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserQuery.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.riskmessageuser; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class RiskMessageUserQuery implements Query { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserVo.java new file mode 100644 index 00000000..d2a61435 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/riskmessageuser/RiskMessageUserVo.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.riskmessageuser; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class RiskMessageUserVo implements Vo { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLog.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLog.java new file mode 100644 index 00000000..18877586 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLog.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.systemriskmessageslog; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.yxt.common.core.domain.EntityWithId; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@ApiModel(value = "系统异常消息推送日志", description = "系统异常消息推送日志") +@TableName("system_risk_messages_log") +@Data +public class SystemRiskMessagesLog extends EntityWithId { + private String sid; + private String messageTime; + private String pagepath; + private String content; + private String projectSid; + private String orderDate; + private String riskSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogDto.java new file mode 100644 index 00000000..3021bff6 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogDto.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.systemriskmessageslog; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:56 + */ +@Data +public class SystemRiskMessagesLogDto implements Dto { + private String id; + private String sid; + private String messageTime; + private String pagepath; + //private Map content; + private Map content; + private List messageOpenids; + private String openid;//小程序openid + private String projectSid; + private String orderDate; + private String riskSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogQuery.java new file mode 100644 index 00000000..979617b4 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogQuery.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.systemriskmessageslog; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:07 + */ +@Data +public class SystemRiskMessagesLogQuery implements Query { + private String userSid; + private String state;//0未读 1 已读 2全部 +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogVo.java new file mode 100644 index 00000000..482048b2 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageslog/SystemRiskMessagesLogVo.java @@ -0,0 +1,47 @@ +package com.yxt.supervise.report.api.systemriskmessageslog; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/7/27 9:57 + */ +@Data +public class SystemRiskMessagesLogVo implements Vo { + private String id; + private String sid; + private String messageTime; + private String pagepath; + private String content; + //消息状态 + private String oState; + private Map map; + private String riskSid; + private String shName; + private List devices; + private String text; + + + public Map getMap() { + Map strMap = new HashMap<>(); + + String[] keyValuePairs = content.split("[{;,}]"); + + for (String pair : keyValuePairs) { + // 按照等号拆分键和值 + String[] keyValue = pair.split("="); + if (keyValue.length == 2) { + String key = keyValue[0].trim(); + String value = keyValue[1].trim(); + strMap.put(key, value); + } + } + this.map = strMap; + return map; + } +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUser.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUser.java new file mode 100644 index 00000000..e5193d2d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUser.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.report.api.systemriskmessageuser; + +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@ApiModel(value = "消息用户微信openid关联", description = "消息用户微信openid关联") +@TableName("system_risk_message_user") +@Data +public class SystemRiskMessageUser { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserDto.java new file mode 100644 index 00000000..ca3e06e7 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserDto.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.systemriskmessageuser; + +import com.yxt.common.core.dto.Dto; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:34 + */ +@Data +public class SystemRiskMessageUserDto implements Dto { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserQuery.java new file mode 100644 index 00000000..b7caebea --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserQuery.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.systemriskmessageuser; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class SystemRiskMessageUserQuery implements Query { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserVo.java new file mode 100644 index 00000000..87ec54ed --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/systemriskmessageuser/SystemRiskMessageUserVo.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.report.api.systemriskmessageuser; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/7/27 10:35 + */ +@Data +public class SystemRiskMessageUserVo implements Vo { + private String id; + private String sid; + private String messageSid; + private String openId; + private String state; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/Miniprogram.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/Miniprogram.java new file mode 100644 index 00000000..d1262a63 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/Miniprogram.java @@ -0,0 +1,14 @@ +package com.yxt.supervise.report.api.wechat; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/3 13:55 + */ +@Data +public class Miniprogram { + private String appid; + private String pagepath; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/Template.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/Template.java new file mode 100644 index 00000000..31f8f8d2 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/Template.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.report.api.wechat; + +import lombok.Data; + +import java.math.BigDecimal; + +/** + * @author wangpengfei + * @date 2023/4/3 14:33 + */ +@Data +public class Template { + private String value; + private String color; + public Template(String value) { + this.value = value; + this.color = "#173177"; + } + public Template(String value, String color) { + this.value = value; + this.color = color; + } +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/TemplateData.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/TemplateData.java new file mode 100644 index 00000000..2ce206a0 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/TemplateData.java @@ -0,0 +1,26 @@ +package com.yxt.supervise.report.api.wechat; + +import lombok.Data; + +/** + * @author wangpengfei + * @date 2023/4/3 13:46 + */ +@Data +public class TemplateData { + private String value; + private String color; + + public String getValue() { + return value; + } + public void setValue(String value) { + this.value = value; + } + public String getColor() { + return color; + } + public void setColor(String color) { + this.color = color; + } +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/WeChatTemplateMsg.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/WeChatTemplateMsg.java new file mode 100644 index 00000000..6c06a40d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/api/wechat/WeChatTemplateMsg.java @@ -0,0 +1,57 @@ +package com.yxt.supervise.report.api.wechat; + +import lombok.Data; + +import java.util.HashMap; +import java.util.Map; + +/** + * @author wangpengfei + * @date 2023/4/3 13:08 + */ +@Data +public class WeChatTemplateMsg { + private String template_id; + private String touser; + private String url; + + private String client_msg_id; + + Map miniprogram = new HashMap<>(); + + //private Miniprogram miniprogram; + private String topcolor; + private Map data; + + public String getTemplate_id() { + return template_id; + } + public void setTemplate_id(String template_id) { + this.template_id = template_id; + } + public String getTouser() { + return touser; + } + public void setTouser(String touser) { + this.touser = touser; + } + public String getUrl() { + return url; + } + public void setUrl(String url) { + this.url = url; + } + public String getTopcolor() { + return topcolor; + } + public void setTopcolor(String topcolor) { + this.topcolor = topcolor; + } + public Map getData() { + return data; + } + public void setData(Map data) { + this.data = data; + } + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/biz/messagepushlog/MessagePushLogRest.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/biz/messagepushlog/MessagePushLogRest.java index 439f562d..587d33f8 100644 --- a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/biz/messagepushlog/MessagePushLogRest.java +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/biz/messagepushlog/MessagePushLogRest.java @@ -7,20 +7,9 @@ import com.yxt.common.core.vo.PagerVo; import com.yxt.supervise.report.api.messagepushlog.MessagePushLogDto; import com.yxt.supervise.report.api.messagepushlog.MessagePushLogQuery; import com.yxt.supervise.report.api.messagepushlog.MessagePushLogVo; -import com.yxt.supervise.report.api.reportsalesdaygather.ReportSalesDayGatherQuery; -import com.yxt.supervise.report.api.reportsalesdaygather.ReportSalesDayGatherVo; -import com.yxt.supervise.report.api.reportsalesdaytobaccostore.ReportSalesDayTobaccoStoreDto; -import com.yxt.supervise.report.ds.system.systemMapper; -import com.yxt.supervise.system.dicttype.DictTypeQuery; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; -import java.io.IOException; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - /** * @author wangpengfei * @date 2023/7/27 9:56 diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/feign/flowable/flowtask/FlowTaskFeignFallBack.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/feign/flowable/flowtask/FlowTaskFeignFallBack.java index 5568bc07..f065d448 100644 --- a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/feign/flowable/flowtask/FlowTaskFeignFallBack.java +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/report/feign/flowable/flowtask/FlowTaskFeignFallBack.java @@ -1,12 +1,6 @@ package com.yxt.supervise.report.feign.flowable.flowtask; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.yxt.common.core.query.PagerQuery; import com.yxt.common.core.result.ResultBean; - -import com.yxt.supervise.system.flow.FlowTaskDto; -import com.yxt.supervise.system.flow.FlowTaskQuery; -import com.yxt.supervise.system.flow.FlowTaskVo; import org.springframework.stereotype.Component; /** diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/config/DictCommonType.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/config/DictCommonType.java new file mode 100644 index 00000000..f823ab43 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/config/DictCommonType.java @@ -0,0 +1,267 @@ +package com.yxt.supervise.system.config; + +import io.swagger.annotations.ApiModelProperty; + +/** + * @author dimengzhe + * @date 2021/7/1 10:23 + * @description 常量值管理 + */ +public class DictCommonType { + + //客户端获取手机验证码redis前缀定义 + public static final String WX_REGIST = "wx-regist-";//注册获取验证码 + public static final String WX_LOGIN = "wx-login-";//登录获取验证码 + public static final String WX_FORGET = "wx-forget-";//忘记密码获取验证码 + public static final String WX_UPDATE = "wx-update-";//忘记密码获取验证码 + public static final String WX_NEW = "wx-new-";//新手机号获取验证码 + + /*供应厂商相关*/ + @ApiModelProperty(value = "供应商分类") + public static final String SUPPLIER_TYPE = "supplierType";//数据字典已添加 + @ApiModelProperty(value = "供应类别") + public static final String SUPPLY_TYPE = "supplyType";//数据字典已添加 + @ApiModelProperty(value = "供应商分组") + public static final String SUPPLIE_RGROUP = "supplierGroup";//数据字典已添加 + + /*供应厂商财务信息相关*/ + @ApiModelProperty(value = "结算币种") + public static final String SETTLEMENT_CURRENCY = "settlementCurrency";//数据字典已添加 + @ApiModelProperty(value = "结算方式") + public static final String SETTLEMENT_WAY = "settlementWay";//数据字典已添加 + @ApiModelProperty(value = "税分类") + public static final String TAX_CLASSIFICATION = "taxClassification";//数据字典已添加 + /*基础信息品牌相关*/ + @ApiModelProperty(value = "品牌类型") + public static final String BRAND_TYPE = "brandType";//数据字典已添加 + @ApiModelProperty(value = "职级(岗位)") + public static final String POSTLEVEL = "postLevel"; + + /*车型、车型配置、车辆信息相关*/ + @ApiModelProperty(value = "车辆类型") + public static final String VEHICLE_TYPE = "vehicleType";//数据字典已添加 + @ApiModelProperty(value = "排放标准") + public static final String EMISSION_STANDARD = "emissionStandard";//数据字典已添加 + @ApiModelProperty(value = "产品线") + public static final String PRODUCT_LINE = "productLine";//数据字典已添加 + @ApiModelProperty(value = "后桥") + public static final String REAR_AXLE = "rearAxle";//数据字典已添加 + @ApiModelProperty(value = "速比") + public static final String SPEED_RATIO = "speedRatio";//数据字典已添加 + @ApiModelProperty(value = "系别") + private static final String SERIES = "series";//数据字典已添加 + @ApiModelProperty(value = "车辆功能") + private static final String VEHICLE_FUNCTION = "vehicleFunction";//数据字典已添加 + @ApiModelProperty(value = "细分市场") + private static final String MARKETSEGMENTS = "marketSegments";//数据字典已添加 + + @ApiModelProperty(value = "车身颜色") + public static final String BODYCOLOR = "bodyColor"; + @ApiModelProperty(value = "缓速器") + public static final String SLOWMACHINE = "slowMachine"; + @ApiModelProperty(value = "后视镜") + public static final String REARVIEWMIRROR = "rearViewMirror"; + @ApiModelProperty(value = "轮胎") + public static final String TIRESIZE = "tireSize"; + @ApiModelProperty(value = "驾驶室") + public static final String SPECIFICATION = "specification"; + @ApiModelProperty(value = "后桥速比") + public static final String REARAXLERATIO = "rearAxleRatio"; + @ApiModelProperty(value = "轮毂材质") + public static final String HUBMATERIAL = "hubMaterial"; + @ApiModelProperty(value = "悬架") + public static final String SUSPENSION = "suspension"; + @ApiModelProperty(value = "座椅") + public static final String SEAT = "seat"; + @ApiModelProperty(value = "鞍座") + public static final String SADDLE = "saddle"; + @ApiModelProperty(value = "轴距") + public static final String WHEELBASE = "wheelbase"; + @ApiModelProperty(value = "保险杠") + public static final String BUMPER = "bumper"; + @ApiModelProperty(value = "配置包") + public static final String CONFIGURINGBAO = "configuringBao"; + @ApiModelProperty(value = "独立热源") + public static final String INDEPENDENTSOURCES = "independentSources"; + @ApiModelProperty(value = "燃料箱") + public static final String FUELTANK = "fuelTank"; + @ApiModelProperty(value = "有无:1有0无") + public static final String WHETHER = "whether"; + + @ApiModelProperty(value = "车辆状态") + public static final String VEHICLE_STATE = "vehicleState"; + @ApiModelProperty(value = "车辆状态(车辆台账)") + public static final String VEHICLE_LEDGER_STATE = "vehicleLedgerState"; + @ApiModelProperty(value = "驱动") + public static final String DRIVER = "driver"; + @ApiModelProperty(value = "马力") + public static final String HORSEPOWER = "horsepower"; + @ApiModelProperty(value = "锁定状态") + public static final String LOCKED_STATE = "lockedState"; + @ApiModelProperty(value = "预计订金日期") + public static final String RESERVE_DEPOSIT_DATE = "reserveDepositDate"; + + + @ApiModelProperty(value = "贷款主体类型") + public static final String LOANTYPE = "loanType"; + @ApiModelProperty(value = "打包项目") + public static final String PACKAGINGPROJECT = "packagingProject"; + @ApiModelProperty(value = "融资项目(比打包项目多一个“配件”)") + public static final String PACKAGINGPROJECTFIN = "packagingProjectFin"; + @ApiModelProperty(value = "变速箱") + public static final String GEARBOX = "gearbox"; + @ApiModelProperty(value = "燃料种类") + public static final String FUELTYPE = "fuelType"; + @ApiModelProperty(value = "版本(车辆需求)") + public static final String VEHICLEVERSION = "vehicleVersion"; + @ApiModelProperty(value = "采购形式") + public static final String PURCHASINGFORM = "purchasingForm"; + /*经销商相关*/ + @ApiModelProperty(value = "经销商分类") + public static final String DISTRIBUTOR_CLASSIFICATION = "distributorClassification";//数据字典已添加 + @ApiModelProperty(value = "经销商类型") + public static final String DISTRIBUTOR_TYPE = "distributorType";//数据字典已添加 + @ApiModelProperty(value = "经销商等级") + public static final String DISTRIBUTOR_LEVEL = "distributorLevel";//数据字典已添加 + @ApiModelProperty(value = "企业性质") + public static final String ENTERPRISE_NATURE = "enterpriseNature";//数据字典已添加 + @ApiModelProperty(value = "登记状态") + public static final String REGIST_STATE = "registState"; + @ApiModelProperty(value = "注册资本单位") + public static final String REGISTEREDCAPITAL_ORG = "registeredCapitalOrg"; + @ApiModelProperty(value = "项目类型") + public static final String PROJECT_TYPE = "projectType"; + /*经销商相关结束*/ + + + @ApiModelProperty(value = "合格证情况:0001虚拟 ,002正式") + public static final String CERTIFICATE_SITUATION = "certificateSituation"; + @ApiModelProperty(value = "客户类型:1个人2企业") + public static final String CUSTOMER_TYPE = "customerType"; + @ApiModelProperty(value = "登记注册号类型") + public static final String REGIST_NUM_TYPE = "registNumType"; + @ApiModelProperty(value = "现居住状况") + public static final String CURRENT_LIVE_STATE = "currentlivestate"; + @ApiModelProperty(value = "教育程度") + public static final String EDUCATION_DEGREE = "educationdegree"; + @ApiModelProperty(value = "雇员类型") + public static final String EMPLOYEE_TYPE = "employeetype"; + @ApiModelProperty(value = "证件类型") + public static final String DOCUMENT_TYPE = "documenttype"; + @ApiModelProperty(value = "行业类别") + public static final String INDUSTRY_TYPE = "industrytype"; + @ApiModelProperty(value = "经济类型") + public static final String ECONOMIC_TYPE = "economictype"; + @ApiModelProperty(value = "组织机构类别") + public static final String ORGANIZATION_TYPE = "organizationtype"; + @ApiModelProperty(value = "组织机构类别细分") + public static final String ORGANIZATION_TYPE_DETAILS = "organizationtypedetails"; + + @ApiModelProperty(value = "是或否") + public static final String IS_TRUE = "isTrue"; + @ApiModelProperty(value = "准驾车型") + public static final String CAR_TYPE = "carType"; + + @ApiModelProperty(value = "与客户关系") + public static final String RELATION_SHIP = "relationship"; + @ApiModelProperty(value = "现工作单位性质") + public static final String ORG_NATURE = "orgNature"; + @ApiModelProperty(value = "主要收入来源") + public static final String INCOME_SOURCE = "incomeSource"; + @ApiModelProperty(value = "职位") + public static final String POSITION = "position"; + @ApiModelProperty(value = "经销商类型") + public static final String DEALERS_TYPE = "dealersType"; + @ApiModelProperty(value = "附件类型") + public static final String ATTACH_TYPE = "attachType"; + @ApiModelProperty(value = "信用记录") + public static final String CREDIT_RECORD = "creditRecord"; + @ApiModelProperty(value = "拟租赁形式l") + public static final String PLANS_TO_LEASE = "plansToLease"; + @ApiModelProperty(value = "去返程货物") + public static final String GO_GOODS = "goGoods"; + @ApiModelProperty(value = "经营业务范围") + public static final String BUSINESSSCOPE = "businessScope"; + /* 客户信息相关*/ + @ApiModelProperty(value = "客户分类") + public static final String CUSTOMER_CLASS = "customerClass"; + @ApiModelProperty(value = "客户来源") + public static final String CUSTOMER_SOURCE = "customerSource"; + @ApiModelProperty(value = "客户等级") + public static final String CUSTOMER_LEVEL = "customerLevel"; + @ApiModelProperty(value = "来访方式") + public static final String VISIT_WAY = "visitWay"; + @ApiModelProperty(value = "跟进状态") + public static final String FOLLOW_STATE = "followState"; + @ApiModelProperty(value = "提醒日期(天)") + public static final String REMIND_DAY = "remindDay"; + @ApiModelProperty(value = "承运货物类型") + public static final String CONSIGNMENT_TYPE = "consignmentType"; + @ApiModelProperty(value = "承运货物(暂为假数据)") + public static final String CONSIGNMENT = "consignment"; + @ApiModelProperty(value = "购车方式") + public static final String PURCHASETYPE = "purchaseType"; + @ApiModelProperty(value = "提车方式") + public static final String SALETYPE = "saleType"; + /* 车辆订单 */ + @ApiModelProperty(value = "单据类型") + public static final String BILLSTYPE = "billsType"; + @ApiModelProperty(value = "合同类型") + public static final String CONTRACTTYPE = "contractType"; + + @ApiModelProperty(value = "主车优惠类型") + public static final String DISCOUNTTYPE = "discountType"; + @ApiModelProperty(value = "还款方式") + public static final String MODEOFREPAY = "modeOfRePay"; + @ApiModelProperty(value = "保证金方式") + public static final String BONDMETHOD = "bondMethod"; + @ApiModelProperty(value = "业务类型") + public static final String BUSINESSTYPE = "businessType"; + @ApiModelProperty(value = "开户银行") + public static final String BANK = "bank"; + @ApiModelProperty(value = "账户类型") + public static final String ACCOUNTTYPE = "accountType"; + @ApiModelProperty(value = "运输货物") + public static final String TRANSPORTCARGO = "transportCargo"; + @ApiModelProperty(value = "结账周期") + public static final String CHECKOUTCYCLE = "checkoutCycle"; + @ApiModelProperty(value = "虚拟订单类型") + public static final String DEPOSITBILLTYPE = "depositBillType"; + @ApiModelProperty(value = "付款方式") + public static final String PAYMENTTYPE = "paymentType"; + + /* 物料相关 */ + @ApiModelProperty(value = "物料分组") + public static final String MATERIAL_GROUP = "materialGroup"; + @ApiModelProperty(value = "物料属性") + public static final String MATERIAL_PROPERTIES = "materialProperties"; + @ApiModelProperty(value = "存货类别") + public static final String STOCK_TYPE = "stockType"; + @ApiModelProperty(value = "基本单位") + public static final String BASIC_UNIT = "basicUnit"; + + /* 合同相关 */ + @ApiModelProperty(value = "人员类型") + public static final String PERSONNEL_TYPE = "personnelType"; + + /* 开票申请单相关 */ + @ApiModelProperty(value = "开票性质") + public static final String INVOICING_NATURE = "invoicingNature"; + + /*员工信息管理相关*/ + @ApiModelProperty(value = "婚姻状况") + public static final String MARITAL_STATUS = "maritalstatus"; + @ApiModelProperty(value = "民族") + public static final String NATIONAL = "national"; + @ApiModelProperty(value = "性别") + public static final String SEX = "sex"; + @ApiModelProperty(value = "政治面貌") + public static final String POLITICAL = "political"; + + + /*资料清单相关*/ + @ApiModelProperty(value = "资料类别") + public static final String DATA_TYPE = "dataType"; + @ApiModelProperty(value = "文件格式") + public static final String FILE_TYPE = "fileType"; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonDetailsVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonDetailsVo.java new file mode 100644 index 00000000..21c94ca9 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonDetailsVo.java @@ -0,0 +1,66 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dictcommon; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictCommonVo.java
+ * Class: com.supervise.api.dictcommon.DictCommonVo
+ * Description: 数据字典——数据项 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据项 视图数据详情", description = "数据字典——数据项 视图数据详情") +public class DictCommonDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("类型code") + private String dictType; // 类型code + @ApiModelProperty("key值") + private String dictKey; // key值 + @ApiModelProperty("value值") + private String dictValue; // value值 + @ApiModelProperty("路径") + private String sidPath; // 路径 + @ApiModelProperty("父级sid") + private String parentSid; // 父级sid + @ApiModelProperty("分组名称") + private String groupName; // 分组名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonDto.java new file mode 100644 index 00000000..6281a5cf --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonDto.java @@ -0,0 +1,66 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dictcommon; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictCommonDto.java
+ * Class: com.supervise.api.dictcommon.DictCommonDto
+ * Description: 数据字典——数据项 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据项 数据传输对象", description = "数据字典——数据项 数据传输对象") +public class DictCommonDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("类型code") + private String dictType; // 类型code + @ApiModelProperty("key值") + private String dictKey; // key值 + @ApiModelProperty("value值") + private String dictValue; // value值 + @ApiModelProperty("路径") + private String sidPath; // 路径 + @ApiModelProperty("父级sid") + private String parentSid; // 父级sid + @ApiModelProperty("分组名称") + private String groupName; // 分组名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonFeign.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonFeign.java new file mode 100644 index 00000000..8be2df12 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonFeign.java @@ -0,0 +1,94 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dictcommon; + +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 io.swagger.annotations.ApiParam; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictCommonFeign.java
+ * Class: com.supervise.api.dictcommon.DictCommonFeign
+ * Description: 数据字典——数据项.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "数据字典——数据项") +@FeignClient( + contextId = "supervise-system-DictCommon", + name = "supervise-system", + path = "v1/dictcommon", + fallback = DictCommonFeignFallback.class) +public interface DictCommonFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody DictCommonDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); + + @GetMapping("/typeValues") + @ResponseBody + @ApiOperation("下拉框的获取") + ResultBean> getTypeValues(@RequestParam("type") String type, @RequestParam(value = "psid", defaultValue = "0") String psid); + + @GetMapping("/getFirstDictKeyByType") + @ResponseBody + @ApiOperation("根据数据字典的key获取第一个值(默认值)") + ResultBean getFirstDictKeyByType(@RequestParam("dictType") String dictType, @RequestParam("psid") String psid); + + @ResponseBody + @GetMapping("/selectBykey/{key}/{type}") + @ApiOperation(value = "数据字典信息修改时的初始化信息") + public ResultBean selectBykey(@ApiParam(value = "数据字典key", required = true) @PathVariable("key") String key, @ApiParam(value = "数据字典type", required = true) @PathVariable("type") String type); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonFeignFallback.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonFeignFallback.java new file mode 100644 index 00000000..0843bc75 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonFeignFallback.java @@ -0,0 +1,88 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dictcommon; + +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; + +import java.util.List; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictCommonFeignFallback.java
+ * Class: com.supervise.api.dictcommon.DictCommonFeignFallback
+ * Description: 数据字典——数据项.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Component +public class DictCommonFeignFallback implements DictCommonFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/dictcommon/listPage无法访问"); + } + + @Override + public ResultBean save(DictCommonDto dto){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/dictcommon/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt_supervise/dictcommon/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/dictcommon/fetchDetailsBySid无法访问"); + } + + @Override + public ResultBean> getTypeValues(String type, String psid) { + ResultBean> rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt_supervise/dictcommon/getTypeValues无法访问"); + } + + @Override + public ResultBean getFirstDictKeyByType(String dictType, String psid) { + return null; + } + + @Override + public ResultBean selectBykey(String key, String type) { + return null; + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonQuery.java new file mode 100644 index 00000000..fcf083a6 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonQuery.java @@ -0,0 +1,64 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dictcommon; + + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictCommonQuery.java
+ * Class: com.supervise.api.dictcommon.DictCommonQuery
+ * Description: 数据字典——数据项 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据项 查询条件", description = "数据字典——数据项 查询条件") +public class DictCommonQuery implements Query { + + @ApiModelProperty("类型code") + private String dictType; // 类型code + @ApiModelProperty("key值") + private String dictKey; // key值 + @ApiModelProperty("value值") + private String dictValue; // value值 + @ApiModelProperty("路径") + private String sidPath; // 路径 + @ApiModelProperty("父级sid") + private String parentSid; // 父级sid + @ApiModelProperty("分组名称") + private String groupName; // 分组名称 + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonVo.java new file mode 100644 index 00000000..68e5856d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dictcommon/DictCommonVo.java @@ -0,0 +1,66 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dictcommon; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictCommonVo.java
+ * Class: com.supervise.api.dictcommon.DictCommonVo
+ * Description: 数据字典——数据项 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:28
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据项 视图数据对象", description = "数据字典——数据项 视图数据对象") +public class DictCommonVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("类型code") + private String dictType; // 类型code + @ApiModelProperty("key值") + private String dictKey; // key值 + @ApiModelProperty("value值") + private String dictValue; // value值 + @ApiModelProperty("路径") + private String sidPath; // 路径 + @ApiModelProperty("父级sid") + private String parentSid; // 父级sid + @ApiModelProperty("分组名称") + private String groupName; // 分组名称 + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictType.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictType.java new file mode 100644 index 00000000..b9e0bfdf --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictType.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dicttype; + +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(宇信通监管)
+ * File: DictType.java
+ * Class: com.supervise.api.dicttype.DictType
+ * Description: 数据字典——数据类型.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型", description = "数据字典——数据类型") +@TableName("dict_type") +public class DictType extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictTypeDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictTypeDto.java new file mode 100644 index 00000000..dfdd2d32 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictTypeDto.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dicttype; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictTypeDto.java
+ * Class: com.supervise.api.dicttype.DictTypeDto
+ * Description: 数据字典——数据类型 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型 数据传输对象", description = "数据字典——数据类型 数据传输对象") +public class DictTypeDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictTypeVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictTypeVo.java new file mode 100644 index 00000000..91da561f --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/dicttype/DictTypeVo.java @@ -0,0 +1,62 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.system.dicttype; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt_supervise(宇信通监管)
+ * File: DictTypeVo.java
+ * Class: com.supervise.api.dicttype.DictTypeVo
+ * Description: 数据字典——数据类型 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-11-11 11:40:29
+ * + * @author dongjianzhao + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "数据字典——数据类型 视图数据对象", description = "数据字典——数据类型 视图数据对象") +public class DictTypeVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("类型代码") + private String dictTypeCode; // 类型代码 + @ApiModelProperty("类型名称") + private String dictTypeName; // 类型名称 + @ApiModelProperty("级别") + private String dictTypeLevel; // 级别 + @ApiModelProperty("名称") + private String name; // 名称 + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/QrCodeVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/QrCodeVo.java new file mode 100644 index 00000000..21c09399 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/QrCodeVo.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.system.sysorganization; + +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author dimengzhe + * @date 2020/11/3 16:19 + * @description + */ +@Data +public class QrCodeVo { + @ApiModelProperty("部门名称") + private String departmentName; + @ApiModelProperty("单位名称") + private String organizationName; + @ApiModelProperty("部门地址") + private String address; + @ApiModelProperty("二维码图片地址") + private String qrFilePath; + @ApiModelProperty(value = "部门sid") + private String sid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgListVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgListVo.java new file mode 100644 index 00000000..dc380c3d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgListVo.java @@ -0,0 +1,29 @@ +package com.yxt.supervise.system.sysorganization; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @Author dimengzhe + * @Date 2022/2/14 11:45 + * @Description 员工所在部门下拉列表 + */ +@Data +public class SysOrgListVo implements Vo { + private static final long serialVersionUID = -3558876605554852892L; + + @ApiModelProperty(value = "组织名称") + private String name; + @ApiModelProperty(value = "部门编码") + private String orgCode; + @ApiModelProperty(value = "sid") + private String sid; + @ApiModelProperty(value = "上级sid") + private String psid; + @ApiModelProperty(value = "orgSidPath") + private String orgSidPath; + private List children; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgStaffVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgStaffVo.java new file mode 100644 index 00000000..0d6de932 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgStaffVo.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.system.sysorganization; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/9/26 11:48 + * @Description + */ +@Data +public class SysOrgStaffVo implements Vo { + private static final long serialVersionUID = -4311553944345419092L; + + private String staffName; + private String staffSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgVo.java new file mode 100644 index 00000000..b67ae0a6 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrgVo.java @@ -0,0 +1,31 @@ +package com.yxt.supervise.system.sysorganization; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * @author dimengzhe + * @date 2021/10/12 20:55 + * @description + */ +@Data +public class SysOrgVo implements Vo { + private static final long serialVersionUID = 2983637708030419942L; + @ApiModelProperty(value = "组织名称") + private String name; + @ApiModelProperty(value = "sid") + private String sid; + @ApiModelProperty(value = "psid") + private String psid; + @ApiModelProperty(value = "id") + private String id; + @ApiModelProperty(value = "orgSidPath") + private String orgSidPath; + @ApiModelProperty(value = "部门编码") + private String orgCode; + + private List children; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganization.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganization.java new file mode 100644 index 00000000..b71fde97 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganization.java @@ -0,0 +1,87 @@ +package com.yxt.supervise.system.sysorganization; + +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: anrui_portal(门户建设)
+ * File: SysOrganization.java
+ * Class: SysOrganization
+ * Description: 组织机构表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:28
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "组织机构表", description = "组织机构表") +@TableName("sys_organization") +@Data +public class SysOrganization extends BaseEntity { + private static final long serialVersionUID = 1L; + + + @ApiModelProperty("部门/组织名称") + private String name; + + @ApiModelProperty("父(部门/组织) sid") + private String psid; + + @ApiModelProperty("联系电话") + private String linkPhone; + @ApiModelProperty("联系人") + private String linkPerson; + + @ApiModelProperty("部门sid全路径") + private String orgSidPath; + + @ApiModelProperty("排序") + private Integer sort; + + @ApiModelProperty("地址") + private String addrs; + + @ApiModelProperty("地理位置经纬度") + private String jwd; + + @ApiModelProperty("二维码") + private String qrText; + + @ApiModelProperty("限制本部门成员查看通讯录:限制开启后,本部门成员只能看到限定范围内的通讯录不能看到所有通讯录,仅可见自己") + private Integer limitOrgMember; + + @ApiModelProperty("部门编码") + private String orgCode; + + @ApiModelProperty("部门简称(地区简称+门店名称首字母(遇到首字母重复时用2个字母))") + private String orgShortName; + + @ApiModelProperty("销售区域划分(本店终端销售:0,门店对应业务区域划分销售:1至9,具体编号划分各门店报备确定)") + private String regionDivision; + + @ApiModelProperty("是否是部门(0否,1是)") + private Integer isDept; + + @ApiModelProperty("组织简称") + private String orgAbbre; + + @ApiModelProperty("组织属性key") + private String orgAttributeKey; + + @ApiModelProperty("组织属性value") + private String orgAttributeValue; + + @ApiModelProperty("管理层级key") + private String orgLevelKey; + + @ApiModelProperty("管理层级value") + private String orgLevelValue; + + @ApiModelProperty("其他编码") + private String otherCode; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationDto.java new file mode 100644 index 00000000..06a74464 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationDto.java @@ -0,0 +1,91 @@ +package com.yxt.supervise.system.sysorganization; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysOrganizationDto.java
+ * Class: SysOrganizationDto
+ * Description: 组织机构表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:28
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "组织机构表 数据传输对象", description = "组织机构表 数据传输对象") +@Data +public class SysOrganizationDto implements Dto { + + + @ApiModelProperty("部门/组织名称") + private String name; + + @ApiModelProperty("父(部门/组织) sid") + private String psid; + + @ApiModelProperty("联系电话") + private String linkPhone; + @ApiModelProperty("联系人") + private String linkPerson; + + @ApiModelProperty("部门sid全路径") + private String orgSidPath; + + @ApiModelProperty("排序") + private Integer sort; + + @ApiModelProperty("地址") + private String addrs; + + @ApiModelProperty("地理位置经纬度") + private String jwd; + + @ApiModelProperty("二维码") + private String qrText; + + @ApiModelProperty("限制本部门成员查看通讯录:限制开启后,本部门成员只能看到限定范围内的通讯录不能看到所有通讯录,仅可见自己") + private Integer limitOrgMember; + + @ApiModelProperty("部门编码") + private String orgCode; + + @ApiModelProperty("部门简称(地区简称+门店名称首字母(遇到首字母重复时用2个字母))") + private String orgShortName; + + @ApiModelProperty("销售区域划分(本店终端销售:0,门店对应业务区域划分销售:1至9,具体编号划分各门店报备确定)") + private String regionDivision; + + @ApiModelProperty("主管人员sid") + private String zgStaffSid; + + @ApiModelProperty("分管人员sid") + private String fgStaffSid; + + @ApiModelProperty("组织简称") + private String orgAbbre; + + @ApiModelProperty("是否是部门(0否,1是)") + private Integer isDept; + + @ApiModelProperty("组织属性key") + private String orgAttributeKey; + + @ApiModelProperty("组织属性value") + private String orgAttributeValue; + + @ApiModelProperty("管理层级key") + private String orgLevelKey; + + @ApiModelProperty("管理层级value") + private String orgLevelValue; + + @ApiModelProperty("其他编码") + private String otherCode; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationFeign.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationFeign.java new file mode 100644 index 00000000..80d8d84a --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationFeign.java @@ -0,0 +1,182 @@ +package com.yxt.supervise.system.sysorganization; + +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 io.swagger.annotations.ApiParam; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.cloud.openfeign.SpringQueryMap; +import org.springframework.web.bind.annotation.*; + +import java.util.List; +import java.util.Map; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysOrganizationFeign.java
+ * Class: SysOrganizationFeign
+ * Description: 组织机构表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:28
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "组织机构表") +@FeignClient( + contextId = "supervise-system-SysOrganization", + name = "supervise-system", + path = "v1/sysorganization", + fallback = SysOrganizationFeignFallback.class) +public interface SysOrganizationFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("根据条件查询所有数据列表") + @PostMapping("/listAll") + public ResultBean> listAll(@RequestBody SysOrganizationQuery query); + + @ApiOperation("所有数据列表") + @GetMapping("/list") + public ResultBean> list(); + + @ApiOperation("一级组织机构列表") + @GetMapping("/selectFirstOrgList") + public ResultBean> selectFirstOrgList(); + + @ApiOperation("根据父级sid查询子集列表") + @GetMapping("/selectChildrenListBySid/{sid}") + public ResultBean> selectChildrenListBySid(@PathVariable("sid") String sid); + + @ApiOperation("新增保存") + @PostMapping("/save") + public ResultBean save(@RequestBody SysOrganizationDto dto); + + @ApiOperation("修改保存") + @PostMapping("/update/{sid}") + public ResultBean update(@RequestBody SysOrganizationDto dto, @PathVariable("sid") String sid); + + @ApiOperation("删除记录") + @GetMapping("/del/{ids}") + public ResultBean del(@PathVariable("ids") String ids); + + @ApiOperation("删除记录 根据sid") + @GetMapping("/delBySid/{sid}") + public ResultBean delBySid(@PathVariable("sid") String sid); + + @ApiOperation("获取一条记录") + @GetMapping("/fetch/{id}") + public ResultBean fetch(@PathVariable("id") String id); + + @ApiOperation("获取一条记录 根据sid") + @ResponseBody + @GetMapping("/fetchBySid/{sid}") + public ResultBean fetchBySid(@PathVariable("sid") String sid); + + + @ApiOperation("手机获取组织架构") + @ResponseBody + @GetMapping("/selectAppOrganization") + public ResultBean> selectAppOrganization(@RequestParam(value = "sid", required = false) String sid); + + @ApiOperation("组织架构") + @ResponseBody + @GetMapping("/selectListOrg") + ResultBean> selectListOrg(); + + @ApiOperation("获取到分公司") + @ResponseBody + @GetMapping("/getListOrg") + ResultBean> getListOrg(); + + @ApiOperation("获取同品牌下分公司") + @ResponseBody + @GetMapping("/getListOrgByBrand/{orgSid}") + ResultBean> getListOrgByBrand(@PathVariable(value = "orgSid") String orgSid); + + @ApiOperation("获取指定品牌下分公司(已筛选本分公司)") + @ResponseBody + @GetMapping("/getListOrgByBrandSid/{orgSid}/{brandSid}") + ResultBean> getListOrgByBrandSid(@PathVariable(value = "orgSid") String orgSid,@PathVariable(value = "brandSid") String brandSid); + + @ApiOperation("获取指定品牌下分公司(未筛选本分公司)") + @ResponseBody + @GetMapping("/getListOrgByBrandSidNo/{orgSid}/{brandSid}") + ResultBean> getListOrgByBrandSidNo(@PathVariable(value = "orgSid") String orgSid,@PathVariable(value = "brandSid") String brandSid); + + @ApiOperation("获取指定分公司下部门信息") + @ResponseBody + @GetMapping("/getListDeptByOrgSid/{orgSid}") + ResultBean> getListDeptByOrgSid(@PathVariable(value = "orgSid") String orgSid); + + @ApiOperation("根据业务员sid获取到分公司") + @ResponseBody + @GetMapping("/getUseOrgByUserSid") + ResultBean getUseOrgByUserSid(@RequestParam("userSid") String userSid); + + @ApiOperation("根据部门sid查询组织信息") + @ResponseBody + @GetMapping("/selectBySid") + ResultBean selectBySid(@RequestParam("sid") String sid); + + @ApiOperation("根据组织架构sid查询组织下所有分公司") + @ResponseBody + @GetMapping("/selectUseOrgSidBySid") + ResultBean>> selectUseOrgSidBySid(@RequestParam("sid") String sid); + + /** + * 查询公司所有的部门 + * + * @return + */ + @ApiOperation("所在部门下拉") + @ResponseBody + @GetMapping("/selectListOne") + ResultBean> selectListOne(); + + @PostMapping("/getQrCode/{sid}") + @ResponseBody + @ApiOperation("查看二维码") + public ResultBean getQrCode(@ApiParam(value = "sid", required = true) @PathVariable("sid") String sid); + + @GetMapping("/getOrgSid/{sid}") + @ResponseBody + @ApiOperation("根据当前用户的所在组织获取当前用户所在的分公司") + ResultBean getOrgSid(@PathVariable(value = "sid") String sid); + + @GetMapping("/selectOrgList") + @ResponseBody + @ApiOperation("当前分公司销售部门及部门人员") + ResultBean> selectOrgList(@SpringQueryMap SysOrganizationListQuery query); + + @GetMapping("/selectOrgLists") + @ResponseBody + @ApiOperation("当前分公司下所有部门") + ResultBean> selectOrgLists(@SpringQueryMap SysOrganizationListQuery query); + + @GetMapping("/selectByPSid") + @ResponseBody + @ApiOperation("查询分公司下的销售支持部") + ResultBean selectByPSid(@RequestParam("sid") String sid, @RequestParam("name") String name); + + @GetMapping("/selectOrgSidList") + @ResponseBody + @ApiOperation("所有分公司sid") + ResultBean> selectOrgSidList(); + + @GetMapping("/selectOrgByPSid") + @ResponseBody + @ApiOperation("查询事业部下所有分公司") + ResultBean> selectOrgByPSid(@RequestParam("psid") String psid); + + @GetMapping("/selectByOrgSidPath") + @ResponseBody + @ApiOperation("组织层级分页查询") + ResultBean selectByOrgSidPath(@RequestParam("orgSidPath") String orgSidPath); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationFeignFallback.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationFeignFallback.java new file mode 100644 index 00000000..fc189319 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationFeignFallback.java @@ -0,0 +1,184 @@ +package com.yxt.supervise.system.sysorganization; + +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; + +import java.util.List; +import java.util.Map; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysOrganizationFeignFallback.java
+ * Class: SysOrganizationFeignFallback
+ * Description: 组织机构表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:28
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SysOrganizationFeignFallback implements SysOrganizationFeign { + + @Override + public ResultBean> listPage(PagerQuery pq) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/listPage无法访问"); + } + + @Override + public ResultBean> listAll(SysOrganizationQuery query) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/listAll无法访问"); + } + + @Override + public ResultBean> list() { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/list无法访问"); + } + + @Override + public ResultBean selectFirstOrgList() { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/selectFirstOrgList无法访问"); + } + + @Override + public ResultBean selectChildrenListBySid(String sid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/selectChildrenListBySid无法访问"); + } + + @Override + public ResultBean save(SysOrganizationDto dto) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysorganization/save无法访问"); + } + + @Override + public ResultBean update(SysOrganizationDto dto, String sid) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysorganization/update无法访问"); + } + + @Override + public ResultBean del(String ids) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysorganization/del无法访问"); + } + + @Override + public ResultBean delBySid(String sid) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysorganization/del无法访问"); + + } + + @Override + public ResultBean fetch(String id) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/fetch无法访问"); + } + + @Override + public ResultBean fetchBySid(String sid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysorganization/fetchBySid无法访问"); + } + + @Override + public ResultBean selectAppOrganization(String sid) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysorganization/selectAppOrganization无法访问"); + } + + @Override + public ResultBean> selectListOrg() { + return null; + } + + @Override + public ResultBean> getListOrg() { + return null; + } + + @Override + public ResultBean> getListOrgByBrand(String orgSid) { + return null; + } + + @Override + public ResultBean> getListOrgByBrandSid(String orgSid, String brandSid) { + return null; + } + + @Override + public ResultBean> getListOrgByBrandSidNo(String orgSid, String brandSid) { + return null; + } + + @Override + public ResultBean> getListDeptByOrgSid(String orgSid) { + return null; + } + + @Override + public ResultBean getUseOrgByUserSid(String staffSid) { + return null; + } + + @Override + public ResultBean selectBySid(String sid) { + return null; + } + + @Override + public ResultBean>> selectUseOrgSidBySid(String sid) { + return null; + } + + @Override + public ResultBean> selectListOne() { + return null; + } + + @Override + public ResultBean getQrCode(String sid) { + return null; + } + + @Override + public ResultBean getOrgSid(String sid) { + return null; + } + + @Override + public ResultBean> selectOrgList(SysOrganizationListQuery query) { + return null; + } + + @Override + public ResultBean> selectOrgLists(SysOrganizationListQuery query) { + return null; + } + + @Override + public ResultBean selectByPSid(String sid, String name) { + return null; + } + + @Override + public ResultBean> selectOrgSidList() { + return null; + } + + @Override + public ResultBean> selectOrgByPSid(String psid) { + return null; + } + + @Override + public ResultBean selectByOrgSidPath(String orgSidPath) { + return null; + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListQuery.java new file mode 100644 index 00000000..934d446e --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListQuery.java @@ -0,0 +1,16 @@ +package com.yxt.supervise.system.sysorganization; + +import com.yxt.common.core.query.Query; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/9/26 11:49 + * @Description + */ +@Data +public class SysOrganizationListQuery implements Query { + private static final long serialVersionUID = 8657016527420117948L; + + private String userSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListVo.java new file mode 100644 index 00000000..8d8e48b8 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListVo.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.system.sysorganization; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +import java.util.List; + +/** + * @Author dimengzhe + * @Date 2022/9/26 11:42 + * @Description + */ +@Data +public class SysOrganizationListVo implements Vo { + private static final long serialVersionUID = -3709239161608411765L; + + private String orgDeptSid; + private String orgDeptName; + + private List staffinfoVoList; + + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListsVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListsVo.java new file mode 100644 index 00000000..fed2aa96 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationListsVo.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.system.sysorganization; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/9/30 11:28 + * @Description + */ +@Data +public class SysOrganizationListsVo implements Vo { + private static final long serialVersionUID = -7021974833444298712L; + + private String orgDeptSid; + private String orgDeptName; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationQuery.java new file mode 100644 index 00000000..12ef5624 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationQuery.java @@ -0,0 +1,58 @@ +package com.yxt.supervise.system.sysorganization; + + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysOrganizationQuery.java
+ * Class: SysOrganizationQuery
+ * Description: 组织机构表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:28
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "组织机构表 查询条件", description = "组织机构表 查询条件") +@Data +public class SysOrganizationQuery implements Query { + + + @ApiModelProperty("部门/组织名称") + private String name; + + @ApiModelProperty("父(部门/组织) sid") + private String psid; + + @ApiModelProperty("联系电话") + private String linkPhone; + @ApiModelProperty("联系人") + private String linkPerson; + + @ApiModelProperty("部门sid全路径") + private String orgSidPath; + + @ApiModelProperty("排序") + private Integer sort; + + @ApiModelProperty("地址") + private String addrs; + + @ApiModelProperty("地理位置经纬度") + private String jwd; + + @ApiModelProperty("二维码") + private String qrText; + + @ApiModelProperty("限制本部门成员查看通讯录:限制开启后,本部门成员只能看到限定范围内的通讯录不能看到所有通讯录,仅可见自己") + private Integer limitOrgMember; + + @ApiModelProperty("部门编码") + private String orgCode; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationVo.java new file mode 100644 index 00000000..0bbeedd4 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysorganization/SysOrganizationVo.java @@ -0,0 +1,91 @@ +package com.yxt.supervise.system.sysorganization; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysOrganizationVo.java
+ * Class: SysOrganizationVo
+ * Description: 组织机构表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:28
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "组织机构表 视图数据对象", description = "组织机构表 视图数据对象") +@Data +public class SysOrganizationVo implements Vo { + @ApiModelProperty("部门/组织名称") + private String name; + + @ApiModelProperty("父(部门/组织) sid") + private String psid; + + @ApiModelProperty("联系电话") + private String linkPhone; + + @ApiModelProperty("联系人") + private String linkPerson; + + @ApiModelProperty("部门sid全路径") + private String orgSidPath; + + @ApiModelProperty("排序") + private Integer sort; + + @ApiModelProperty("地址") + private String addrs; + + @ApiModelProperty("地理位置经纬度") + private String jwd; + + @ApiModelProperty("二维码") + private String qrText; + + @ApiModelProperty("限制本部门成员查看通讯录:限制开启后,本部门成员只能看到限定范围内的通讯录不能看到所有通讯录,仅可见自己") + private Integer limitOrgMember; + + @ApiModelProperty("部门编码") + private String orgCode; + @ApiModelProperty("sid") + private String sid; + @ApiModelProperty("子集") + private List children = new ArrayList<>(); + @ApiModelProperty("主管人员名称") + private String zgNames; + @ApiModelProperty("分管人员名称") + private String fgNames; + @ApiModelProperty("主管人员sid") + private String zgStaffSid; + @ApiModelProperty("分管人员sid") + private String fgStaffSid; + @ApiModelProperty("组织简称") + private String orgAbbre; + @ApiModelProperty("是否是部门(0否,1是)") + private Integer isDept; + @ApiModelProperty("组织属性key") + private String orgAttributeKey; + @ApiModelProperty("组织属性value") + private String orgAttributeValue; + @ApiModelProperty("管理层级key") + private String orgLevelKey; + @ApiModelProperty("管理层级value") + private String orgLevelValue; + @ApiModelProperty("其他编码") + //是否是部门级别 1是 2不是 + private String isOrg="2"; + private String otherCode; + private String mobile; + private String isOpenId; + private String userProjectSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstaffinfo/SysStaffinfoVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstaffinfo/SysStaffinfoVo.java new file mode 100644 index 00000000..81877bd2 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstaffinfo/SysStaffinfoVo.java @@ -0,0 +1,69 @@ +package com.yxt.supervise.system.sysstaffinfo; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysStaffinfoVo.java
+ * Class: SysStaffinfoVo
+ * Description: 人员基础信息表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "人员基础信息表 视图数据对象", description = "人员基础信息表 视图数据对象") +@Data +public class SysStaffinfoVo implements Vo { + + private static final long serialVersionUID = -1250862291306247261L; + @ApiModelProperty(value = "员工sid") + private String sid; + @ApiModelProperty(value = "员工编号") + private String jobNumber; + @ApiModelProperty("姓名") + private String name; + @ApiModelProperty("员工类型") + private String personType; + @ApiModelProperty("手机号") + private String mobile; + @ApiModelProperty(value = "入职日期") + private String joinCompnyDate; + @ApiModelProperty(value = "部门") + private String orgName; + @ApiModelProperty(value = "岗位") + private String postName; + @ApiModelProperty(value = "部门sid") + private String orgSid; + @ApiModelProperty(value = "记录是否可用,1:可用,0:不可用") + private String isEnable; + @ApiModelProperty(value = "部门名") + private String departmentName; + @ApiModelProperty(value = "部门sid") + private String departmentSid; + @ApiModelProperty(value = "岗位sid") + private String postSid; + @ApiModelProperty(value = "岗位名称") + private String userName; + @ApiModelProperty(value = "用户sid") + private String userSid; + @ApiModelProperty(value = "角色") + private String roleName; + @ApiModelProperty(value = "类型code") + private String userType; + @ApiModelProperty(value = "用户类型:1监管、2客户、3银行") + private String userTypeKey; + @ApiModelProperty(value = "微信") + private String openId; + @ApiModelProperty(value = "职位") + private String position; + + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrg.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrg.java new file mode 100644 index 00000000..83600d72 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrg.java @@ -0,0 +1,46 @@ +package com.yxt.supervise.system.sysstafforg; + +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: anrui_portal(门户建设)
+ * File: SysStaffOrg.java
+ * Class: SysStaffOrg
+ * Description: 员工部门关联表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:29
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "员工部门关联表", description = "员工部门关联表") +@TableName("sys_staff_org") +@Data +public class SysStaffOrg extends BaseEntity { + private static final long serialVersionUID = 1L; + + + @ApiModelProperty("部门sid") + private String orgSid; + + @ApiModelProperty("部门名称") + private String orgName; + + @ApiModelProperty("人员sid") + private String staffSid; + + @ApiModelProperty("部门路径") + private String orgSidPath; + + @ApiModelProperty("部门名称路径") + private String orgNamePath; + + @ApiModelProperty("管理类型:1、主管。2、分管。3、员工") + private String manageType; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgDetailsVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgDetailsVo.java new file mode 100644 index 00000000..0ccf8a79 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgDetailsVo.java @@ -0,0 +1,28 @@ +package com.yxt.supervise.system.sysstafforg; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/2/11 16:15 + * @Description 员工部门详情信息 + */ +@Data +public class SysStaffOrgDetailsVo implements Vo { + private static final long serialVersionUID = 5354841525724609428L; + + @ApiModelProperty("部门sid") + private String orgSid; + @ApiModelProperty("部门名称") + private String orgName; + @ApiModelProperty("部门路径") + private String orgSidPath; + @ApiModelProperty("部门名称路径") + private String orgNamePath; + @ApiModelProperty(value = "部门编码") + private String orgCode; + @ApiModelProperty("管理类型:1、主管。2、分管。3、员工") + private String manageType; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgDto.java new file mode 100644 index 00000000..41b0336d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgDto.java @@ -0,0 +1,42 @@ +package com.yxt.supervise.system.sysstafforg; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotBlank; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysStaffOrgDto.java
+ * Class: SysStaffOrgDto
+ * Description: 员工部门关联表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:29
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "员工部门关联表 数据传输对象", description = "员工部门关联表 数据传输对象") +@Data +public class SysStaffOrgDto implements Dto { + + private static final long serialVersionUID = 1403491378761015027L; + @ApiModelProperty("部门sid") + private String orgSid; + @ApiModelProperty("部门名称") + @NotBlank(message = "部门名称不能为空") + private String orgName; + @ApiModelProperty("部门路径") + private String orgSidPath; + @ApiModelProperty("部门名称路径") + private String orgNamePath; + @ApiModelProperty(value = "部门编码") + private String orgCode; + @ApiModelProperty(value = "管理类型:1、主管。2、分管。3、员工", example = "3") + private String manageType; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgFeign.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgFeign.java new file mode 100644 index 00000000..c6fc2001 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgFeign.java @@ -0,0 +1,112 @@ +package com.yxt.supervise.system.sysstafforg; + +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.ApiModelProperty; +import io.swagger.annotations.ApiOperation; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysStaffOrgFeign.java
+ * Class: SysStaffOrgFeign
+ * Description: 员工部门关联表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:29
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "员工部门关联表") +@FeignClient( + contextId = "supervise-system-SysStaffOrg", + name = "supervise-system", + path = "v1/sysstafforg", + fallback = SysStaffOrgFeignFallback.class) +public interface SysStaffOrgFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("根据条件查询所有数据列表") + @PostMapping("/listAll") + public ResultBean> listAll(@RequestBody SysStaffOrgQuery query); + + @ApiOperation("所有数据列表") + @GetMapping("/list") + public ResultBean> list(); + + @ApiOperation("所有数据列表") + @PostMapping("/staffinfoList") + public ResultBean> staffinfoList(@RequestBody SysStaffOrgQuery query); + + @ApiOperation("新增保存") + @PostMapping("/save") + public ResultBean save(@RequestBody SysStaffOrgDto dto); + + @ApiOperation("修改保存") + @PostMapping("/update/{sid}") + public ResultBean update(@RequestBody SysStaffOrgDto dto, @PathVariable("sid") String sid); + + @ApiOperation("删除记录") + @GetMapping("/del/{ids}") + public ResultBean del(@PathVariable("ids") String ids); + + @ApiOperation("获取一条记录") + @GetMapping("/fetch/{id}") + public ResultBean fetch(@PathVariable("id") String id); + + @ApiOperation("根据员工sid获取部门信息") + @ResponseBody + @GetMapping("/getSysStaffOrgListByStaffSid/{staffSid}") + public ResultBean> getSysStaffOrgListByStaffSid(@PathVariable("staffSid") String staffSid); + + @ApiOperation("根据员工sid获取部门sid列表") + @ResponseBody + @GetMapping("/getSysStaffOrgSidListByStaffSid/{staffSid}") + public ResultBean getSysStaffOrgSidListByStaffSid(@PathVariable("staffSid") String staffSid); + + + @GetMapping("/selectAllByStaffSid") + @ResponseBody + @ApiModelProperty("根据员工sid获取主管部门信息") + ResultBean selectAllByStaffSid(@RequestParam(value = "staffSid") String staffSid); + + /** + * 根据用户sid获取分公司sid + * + * @param applySid 用户sid + * @return + */ + @GetMapping("/getPathSidByUserSid") + @ResponseBody + @ApiOperation("根据用户sid获取分公司sid") + ResultBean getPathSidByUserSid(@RequestParam(value = "userSid") String applySid); + + @GetMapping("/selectSidPathByStaffSid") + @ResponseBody + @ApiOperation("根据人员sid获取分公司sid") + ResultBean selectSidPathByStaffSid(@RequestParam(value = "applySid") String applySid); + + @GetMapping("/getOrgSidBySid") + @ResponseBody + @ApiOperation("根据组织sid获取分公司sid") + ResultBean getOrgSidBySid(@RequestParam(value = "orgSid") String orgSid); + @GetMapping("/getOrgByStaffSid") + @ResponseBody + @ApiOperation("根据组织staffSid获取分公司SysStaffOrg") + ResultBean getOrgByStaffSid(@RequestParam(value = "staffSid") String staffSid); + + @GetMapping("/getOrgSidByPath") + @ResponseBody + @ApiOperation("根据用户组织全路径获取用户的分公司sid") + ResultBean getOrgSidByPath(@RequestParam("orgPath") String orgPath); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgFeignFallback.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgFeignFallback.java new file mode 100644 index 00000000..3902fbe2 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgFeignFallback.java @@ -0,0 +1,112 @@ +package com.yxt.supervise.system.sysstafforg; + +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; + +import java.util.List; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysStaffOrgFeignFallback.java
+ * Class: SysStaffOrgFeignFallback
+ * Description: 员工部门关联表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:29
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SysStaffOrgFeignFallback implements SysStaffOrgFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/listPage无法访问"); + } + + @Override + public ResultBean> listAll(SysStaffOrgQuery query){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/listAll无法访问"); + } + + @Override + public ResultBean> list(){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/list无法访问"); + } + + @Override + public ResultBean> staffinfoList(SysStaffOrgQuery query) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/staffinfoList无法访问"); + } + + @Override + public ResultBean save(SysStaffOrgDto dto){ + return ResultBean.fireFail().setMsg("接口anrui_portal/sysstafforg/save无法访问"); + } + + @Override + public ResultBean update(SysStaffOrgDto dto,String sid){ + return ResultBean.fireFail().setMsg("接口anrui_portal/sysstafforg/update无法访问"); + } + + @Override + public ResultBean del(String ids){ + return ResultBean.fireFail().setMsg("接口anrui_portal/sysstafforg/del无法访问"); + } + + @Override + public ResultBean fetch(String id){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/fetch无法访问"); + } + + @Override + public ResultBean getSysStaffOrgListByStaffSid(String staffSid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/getSysStaffOrgListByStaffSid无法访问"); + } + + @Override + public ResultBean getSysStaffOrgSidListByStaffSid(String staffSid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysstafforg/getSysStaffOrgSidListByStaffSid无法访问"); + } + + @Override + public ResultBean selectSidPathByStaffSid(String applySid) { + return null; + } + + @Override + public ResultBean getOrgSidBySid(String orgSid) { + return null; + } + + @Override + public ResultBean getOrgByStaffSid(String staffSid) { + return null; + } + + @Override + public ResultBean getOrgSidByPath(String orgPath) { + return null; + } + + @Override + public ResultBean selectAllByStaffSid(String staffSid) { + return null; + } + + @Override + public ResultBean getPathSidByUserSid(String applySid) { + return null; + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgQuery.java new file mode 100644 index 00000000..9f7a1ad1 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgQuery.java @@ -0,0 +1,44 @@ +package com.yxt.supervise.system.sysstafforg; + + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysStaffOrgQuery.java
+ * Class: SysStaffOrgQuery
+ * Description: 员工部门关联表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:29
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "员工部门关联表 查询条件", description = "员工部门关联表 查询条件") +@Data +public class SysStaffOrgQuery implements Query { + + + @ApiModelProperty("部门sid") + private String orgSid; + + @ApiModelProperty("部门名称") + private String orgName; + + @ApiModelProperty("人员sid") + private String staffSid; + + @ApiModelProperty("部门路径") + private String orgSidPath; + + @ApiModelProperty("部门名称路径") + private Integer orgNamePath; + + @ApiModelProperty("管理类型:1、主管。2、分管。3、员工") + private String manageType; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgVo.java new file mode 100644 index 00000000..cfdb66af --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysstafforg/SysStaffOrgVo.java @@ -0,0 +1,48 @@ +package com.yxt.supervise.system.sysstafforg; + + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysStaffOrgVo.java
+ * Class: SysStaffOrgVo
+ * Description: 员工部门关联表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:29
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "员工部门关联表 视图数据对象", description = "员工部门关联表 视图数据对象") +@Data +public class SysStaffOrgVo implements Vo { + + + @ApiModelProperty("部门sid") + private String orgSid; + + @ApiModelProperty("部门名称") + private String orgName; + + @ApiModelProperty("人员sid") + private String staffSid; + + @ApiModelProperty("部门路径") + private String orgSidPath; + + @ApiModelProperty("部门名称路径") + private String orgNamePath; + + @ApiModelProperty("管理类型:1、主管。2、分管。3、员工") + private String manageType; + @ApiModelProperty("员工姓名") + private String staffName; + @ApiModelProperty("员工手机号") + private String mobile; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/ProjectInformationVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/ProjectInformationVo.java new file mode 100644 index 00000000..5a15233c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/ProjectInformationVo.java @@ -0,0 +1,18 @@ +package com.yxt.supervise.system.sysuser; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import lombok.Data; + + +/** + * @author wangpengfei + * @date 2023/4/25 9:29 + */ +@ApiModel(value = "项目信息 视图数据对象", description = "项目信息 视图数据对象") +@Data +public class ProjectInformationVo implements Vo { + private String sid; + //项目名称 + private String entryName; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUser.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUser.java new file mode 100644 index 00000000..73c867bd --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUser.java @@ -0,0 +1,78 @@ +package com.yxt.supervise.system.sysuser; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; +import java.util.List; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUser.java
+ * Class: SysUser
+ * Description: 用户表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "用户表", description = "用户表") +@TableName("sys_user") +@Data +public class SysUser extends BaseEntity { + private static final long serialVersionUID = 1L; + + + @ApiModelProperty("登录名,登录名不能相同") + private String userName; + + @ApiModelProperty("密码(加密或签名后)") + private String password; + + @ApiModelProperty("密码修改时限") + private String pwdDayslimit; + + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @ApiModelProperty("最后一次密码修改时间") + private Date pwdModifyTime; + + @ApiModelProperty("在线状态(0为离线、1为在线)") + private Integer onlineState; + + @ApiModelProperty("用户登录时随机生成身份验证字符串") + private String token; + + @ApiModelProperty("是否是管理员:1管理员,2一般用户,0是超级管理员,3尚无单位人员") + private String isAdmin; + + @ApiModelProperty("手机登录唯一标识,手机与用户绑定字段") + private String appId; + + @ApiModelProperty("关联的人员sid") + private String staffSid; + + @ApiModelProperty("手机号") + private String mobile; + + @ApiModelProperty("用户类型:1员工、2客户、3供应商") + private Integer userType; + + @ApiModelProperty("用户头像") + private String headImage; + private String openId; + private String appletOpenid; + @TableField(exist = false) + private List roleNames; + private String unionid; + //d订阅状态 + private String subscriptionStatus; + private String name; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserDto.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserDto.java new file mode 100644 index 00000000..20a62503 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserDto.java @@ -0,0 +1,42 @@ +package com.yxt.supervise.system.sysuser; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUserDto.java
+ * Class: SysUserDto
+ * Description: 用户表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "用户表 数据传输对象", description = "用户表 数据传输对象") +@Data +public class SysUserDto implements Dto { + @ApiModelProperty("手机号") + private String mobile; + @ApiModelProperty("用户类型:1员工、2客户、3供应商") + private Integer userType; + @ApiModelProperty(value = "姓名", required = true) + //@NotBlank(message = "姓名不能为空") + private String name; + @ApiModelProperty(value = "验证码", required = true) + //@NotBlank(message = "验证码不能为空") + private String verificationCode; + @ApiModelProperty(value = "部门sid") + private String deptSid; + @ApiModelProperty(value = "岗位sid") + private String postSid; + private String bankMessageSid; + private String openid; + private String sid; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserFeign.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserFeign.java new file mode 100644 index 00000000..e23b4836 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserFeign.java @@ -0,0 +1,234 @@ +package com.yxt.supervise.system.sysuser; + +import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; +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.system.sysstaffinfo.SysStaffinfoVo; +import com.yxt.supervise.system.sysuser.app.AppUserOrgInfoVo; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import io.swagger.annotations.ApiParam; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.cloud.openfeign.SpringQueryMap; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletRequest; +import javax.validation.Valid; +import java.util.List; +import java.util.Map; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUserFeign.java
+ * Class: SysUserFeign
+ * Description: 用户表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "用户表") +@FeignClient( + contextId = "supervise-system-SysUser", + name = "supervise-system", + path = "v1/sysuser", + fallback = SysUserFeignFallback.class) +public interface SysUserFeign { + + @ApiOperation("根据条件分页查询数据的列表 ") + @PostMapping("/listPage") + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("根据条件查询所有数据列表") + @PostMapping("/listAll") + public ResultBean> listAll(@RequestBody SysUserQuery query); + + @ApiOperation("所有数据列表") + @GetMapping("/list") + public ResultBean> list(); + + @ApiOperation("新增保存") + @PostMapping("/save") + public ResultBean save(@Valid @RequestBody SysUserDto dto); + + @ApiOperation("根据staffSid删除用户(逻辑删除)") + @PostMapping("/delSysUserByMobile") + public ResultBean delSysUserByMobile(@RequestParam("sid") String sid); + + @ApiOperation("根据staffSid查询用户信息") + @PostMapping("/getSysUserByMobile") + public ResultBean getSysUserByMobile(@RequestParam("staffSid") String staffSid); + + @ApiOperation("修改保存") + @PostMapping("/update/{sid}") + public ResultBean update(@RequestBody SysUserDto dto, @PathVariable("sid") String sid); + + /** + * 修改密码(★) + * + * @param original 原始密码 + * @param password 密码 + * @param confirmPassword 确认密码 + * @param userSid 用户sid + * @return + */ + @PostMapping("/updatePassword") + @ApiOperation(value = "5、修改密码") + public ResultBean updatePassword(@RequestBody SysUserUpdate sysUserUpdate); + + @ApiOperation("删除记录") + @GetMapping("/del/{ids}") + public ResultBean del(@PathVariable("ids") String ids); + + @ApiOperation("删除记录根据sid") + @GetMapping("/delBySid/{sid}") + public ResultBean delBySid(@PathVariable("sid") String sid); + + @ApiOperation("根据用户名(手机号)查询用户") + @GetMapping("/fetchByMobile/{mobile}") + public ResultBean selectByUserName(@PathVariable("mobile") String mobile); + + @ApiOperation("获取一条记录") + @GetMapping("/fetch/{id}") + public ResultBean fetch(@PathVariable("id") String id); + + @ApiOperation("根据sid获取一条记录") + @GetMapping("/fetchBySid/{sid}") + public ResultBean fetchBySid(@PathVariable("sid") String sid); + + @ApiOperation("根据多个或者一个sid获取对应的用户集合") + @GetMapping("/fetchBySids/{sids}") + public ResultBean> fetchBySids(@PathVariable("sids") String sids); + + /** + * 客户端找回密码 + * + * @param userName,userPhone + * @return + */ + @ApiOperation("客户端找回密码") + @PostMapping("/reGetPwd") + public ResultBean reGetPwd(@RequestParam("userName") String userName, @RequestParam("userPhone") String userPhone,@RequestParam("verificationCode")String verificationCode); + + /** + * 初始化密码 + * + * @param sid 用户sid + * @return ResultBean + */ + @ResponseBody + @PostMapping("/initPwd/{sid}") + @ApiOperation(value = "10、用户初始化密码") + @ApiOperationSupport(order = 100) + public ResultBean initPwd(@ApiParam(value = "用户sid", required = true) @PathVariable("sid") String sid); + + @PostMapping("/login") + @ResponseBody + @ApiOperation(value = "3、登录") + @ApiOperationSupport(order = 30) + public ResultBean login(@RequestBody SysUserQuery sysUserQuery); + + @PostMapping("/loginByNoVeriCode") + @ResponseBody + @ApiOperation(value = "3、登录无验证码") + @ApiOperationSupport(order = 30) + public ResultBean loginByNoVeriCode(@RequestBody SysUserQuery sysUserQuery); + + /** + * 退出登录 + * + * @return + */ + @PostMapping("/signOut") + @ResponseBody + @ApiOperation(value = "退出登录") + @ApiOperationSupport(order = 30) + public ResultBean signOut(HttpServletRequest httpServletRequest); + + @ApiOperation("发送短信验证码") + @GetMapping("/sendMessageCode/{mobile}") + public ResultBean sendMessageCode(@PathVariable("mobile") String mobile); + + @ApiOperation("根据staffsid查询用户") + @ResponseBody + @GetMapping("/selectByStaffsid/{staffsid}") + public ResultBean selectByStaffsid(@PathVariable("staffsid") String staffsid); + + @ApiOperation("根据sid查询用户信息") + @PostMapping("/selectBySid") + public ResultBean selectBySid(@RequestParam("sid") String sid); + + @PostMapping(value = "/loginDetails", headers = "token") + @ApiOperation("根据token值获取登录后的用户信息") + public ResultBean loginDetails(HttpServletRequest httpServletRequest); + + @ApiOperation(value = "根据用户sid获取orgSid(多个时取第一个)") + @ResponseBody + @GetMapping("/getUserOrgInfoByUserSid/{userSid}") + public ResultBean getUserOrgInfoByUserSid(@PathVariable("userSid") String userSid); + + @ApiOperation(value = "根据用户的sid查询用户的组织信息") + @ResponseBody + @GetMapping("/selectUserInfoByUserSid/{userSid}") + public ResultBean selectUserInfoByUserSid(@PathVariable("userSid") String userSid); + + @ApiOperation(value = "根据用户的sid查询用户的组织信息") + @ResponseBody + @GetMapping("/selectUserInfoByUserSid/{userSid}/{orgSid}") + public ResultBean selectUserInfoByUserSid(@PathVariable("userSid") String userSid,@PathVariable("orgSid") String orgSid); + + @PostMapping("/setIsEnable/{sid}/{isEnable}") + @ResponseBody + @ApiOperation(value = "设置是否可用:isEnable:1可用,0不可用") + public ResultBean setIsEnable(@ApiParam(value = "sid", required = true) @PathVariable("sid") String sid, @ApiParam(value = "isEnable", required = true) @PathVariable("isEnable") String isEnable); + + @ApiOperation("根据角色sid查询用户") + @GetMapping("/getUsersByRoleSid/{roleSid}") + ResultBean getUsersByRoleSid(@PathVariable("roleSid") String roleSid); + + @ApiOperation(value = "获取本机构链角色的用户") + @GetMapping(value = "getUserByRole") + ResultBean> getUserByRole(@SpringQueryMap UserQuery query); + + /** + * 参数:当前用户角色sid,部门sid + * + * @param query + * @return + */ + @ApiOperation(value = "获取本部门直属上级角色的用户") + @GetMapping(value = "getUserByOrgRole") + ResultBean> getUserByOrgRole(@SpringQueryMap UserRoleQuery query); + + /** + * 参数为下一环节角色sid,机构sid + * + * @param query + * @return + */ + @ApiOperation(value = "获取其他机构链角色的用户") + @GetMapping(value = "getOtherOrgRoleUser") + ResultBean> getOtherOrgRoleUser(@SpringQueryMap UserRoleQuery query); + + @ApiOperation(value = "获取当前分公司下所有员工的userSid和员工姓名") + @GetMapping(value = "getUserByOrgSid") + ResultBean>> getUserByOrgSid(@RequestParam("orgSid") String orgSid, @RequestParam("userSid") String userSid); + + @ApiOperation(value = "根据用户sid获取用户id") + @PostMapping(value = "selectIdBySid") + ResultBean selectIdBySid(@RequestBody List stringList); + + @ApiOperation(value = "根据用户sid查询该分公司下所有销售经理的用户") + @GetMapping(value = "selectSysUserList") + ResultBean> selectSysUserList(@RequestParam("userSid") String userSid); + @ApiOperation(value = "查询是否需要更换密码") + @GetMapping(value = "/selectPasswordByUserSid/{userSid}") + ResultBean selectPasswordByUserSid(@PathVariable("userSid")String userSid); + @ApiOperation(value = "获取角色的用户") + @GetMapping(value = "getUserByRoleNoOrgPath") + ResultBean> getUserByRoleNoOrgPath(@SpringQueryMap UserQuery userQuery); +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserFeignFallback.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserFeignFallback.java new file mode 100644 index 00000000..997ba4a6 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserFeignFallback.java @@ -0,0 +1,222 @@ +package com.yxt.supervise.system.sysuser; + +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.system.sysstaffinfo.SysStaffinfoVo; +import org.springframework.stereotype.Component; + +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUserFeignFallback.java
+ * Class: SysUserFeignFallback
+ * Description: 用户表.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@Component +public class SysUserFeignFallback implements SysUserFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/listPage无法访问"); + } + + @Override + public ResultBean> listAll(SysUserQuery query){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/listAll无法访问"); + } + + @Override + public ResultBean> list(){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/list无法访问"); + } + + @Override + public ResultBean save(SysUserDto dto){ + return ResultBean.fireFail().setMsg("接口anrui_portal/sysuser/save无法访问"); + } + + @Override + public ResultBean delSysUserByMobile(String sid) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysuser/delSysUserByMobile无法访问"); + } + + @Override + public ResultBean getSysUserByMobile(String staffSid) { + return null; + } + + @Override + public ResultBean update(SysUserDto dto,String sid){ + return ResultBean.fireFail().setMsg("接口anrui_portal/sysuser/update无法访问"); + } + + @Override + public ResultBean updatePassword(SysUserUpdate sysUserUpdate) { + return ResultBean.fireFail().setMsg("接口anrui_portal/sysuser/updatePassword无法访问"); + } + + @Override + public ResultBean del(String ids){ + return ResultBean.fireFail().setMsg("接口anrui_portal/sysuser/del无法访问"); + } + + @Override + public ResultBean delBySid(String sid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/delBySid无法访问"); + } + + @Override + public ResultBean selectByUserName(String mobile) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/fetchByMobile无法访问"); + } + + @Override + public ResultBean fetch(String id){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/fetch无法访问"); + } + + @Override + public ResultBean fetchBySid(String sid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/fetchBySid无法访问"); + } + + @Override + public ResultBean> fetchBySids(String sids) { + return null; + } + + @Override + public ResultBean reGetPwd(String userName, String userPhone,String verificationCode) { + return null; + } + + @Override + public ResultBean initPwd(String sid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/initPwd无法访问"); + } + + @Override + public ResultBean login(SysUserQuery sysUserQuery) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/login无法访问"); + } + + @Override + public ResultBean loginByNoVeriCode(SysUserQuery sysUserQuery) { + return null; + } + + @Override + public ResultBean signOut(HttpServletRequest httpServletRequest) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/signOut无法访问"); + } + + @Override + public ResultBean sendMessageCode(String mobile) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/sendMessageCode无法访问"); + } + + @Override + public ResultBean selectByStaffsid(String staffsid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/selectByStaffsid无法访问"); + } + + @Override + public ResultBean selectBySid(String sid) { + return null; + } + + @Override + public ResultBean loginDetails(HttpServletRequest httpServletRequest) { + return null; + } + + @Override + public ResultBean getUserOrgInfoByUserSid(String userSid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/getUserOrgInfoByUserSid无法访问"); + } + + @Override + public ResultBean selectUserInfoByUserSid(String userSid) { + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口anrui_portal/sysuser/selectUserInfoByUserSid无法访问"); + } + + @Override + public ResultBean selectUserInfoByUserSid(String userSid, String orgSid) { + return null; + } + + @Override + public ResultBean setIsEnable(String sid, String isEnable) { + return null; + } + + @Override + public ResultBean getUsersByRoleSid(String roleSid) { + return null; + } + + @Override + public ResultBean> getUserByRole(UserQuery query) { + return null; + } + + @Override + public ResultBean> getUserByOrgRole(UserRoleQuery query) { + return null; + } + + @Override + public ResultBean> getOtherOrgRoleUser(UserRoleQuery query) { + return null; + } + + @Override + public ResultBean>> getUserByOrgSid(String orgSid, String userSid) { + return null; + } + + @Override + public ResultBean selectIdBySid(List stringList) { + return null; + } + + @Override + public ResultBean> selectSysUserList(String userSid) { + return null; + } + + @Override + public ResultBean selectPasswordByUserSid(String userSid) { + return null; + } + + @Override + public ResultBean> getUserByRoleNoOrgPath(UserQuery userQuery) { + return null; + } +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserInfoVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserInfoVo.java new file mode 100644 index 00000000..b5b18667 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserInfoVo.java @@ -0,0 +1,30 @@ +package com.yxt.supervise.system.sysuser; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/2/9 9:12 + * @Description 用户组织信息 + */ +@Data +public class SysUserInfoVo implements Vo { + + private static final long serialVersionUID = 7931121025686046432L; + @ApiModelProperty("关联的员工sid") + private String staffSid; + + @ApiModelProperty("关联的员工名称") + private String staffName; + + @ApiModelProperty("员工的组织sid(多个时为第一个)") + private String orgSid; + + @ApiModelProperty("员工的组织名称(多个时为第一个)") + private String orgName; + + @ApiModelProperty("员工的组织部门编码") + private String orgCode; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserListVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserListVo.java new file mode 100644 index 00000000..3cbf9f8d --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserListVo.java @@ -0,0 +1,19 @@ +package com.yxt.supervise.system.sysuser; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/9/14 15:36 + * @Description + */ +@Data +public class SysUserListVo implements Vo { + private static final long serialVersionUID = -3047907553025391436L; + + private String name; + + private String sid; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserQuery.java new file mode 100644 index 00000000..f5073d09 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserQuery.java @@ -0,0 +1,51 @@ +package com.yxt.supervise.system.sysuser; + + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUserQuery.java
+ * Class: SysUserQuery
+ * Description: 用户表 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "用户表 查询条件", description = "用户表 查询条件") +@Data +public class SysUserQuery implements Query { + + + @ApiModelProperty("角色sid") + private String roleSid; + @ApiModelProperty("用户名称") + private String userName; + @ApiModelProperty("姓名") + private String name; + @ApiModelProperty("部门名称") + private String orgName; + + @ApiModelProperty("密码(加密或签名后)") + private String password; + + @ApiModelProperty("用户登录时随机生成身份验证字符串") + private String token; + @ApiModelProperty("用户登录时随机生成的验证码字符串") + private String verifyCode; + private String uuid; + + @ApiModelProperty("手机登录唯一标识,手机与用户绑定字段") + private String appId; + @ApiModelProperty("手机登录类型:1、密码登录2、验证码登录") + private String type; + @ApiModelProperty(value = "是否是测试",example = "false") + private Boolean isTest; +} \ No newline at end of file diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserUpdate.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserUpdate.java new file mode 100644 index 00000000..2d27df4c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserUpdate.java @@ -0,0 +1,15 @@ +package com.yxt.supervise.system.sysuser; + +import lombok.Data; + +/** + * @author feikefei + * @create 2023-08-18-17:19 + */ +@Data +public class SysUserUpdate { + private String original; + private String password; + private String confirmPassword; + private String userSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserVo.java new file mode 100644 index 00000000..19520332 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/SysUserVo.java @@ -0,0 +1,96 @@ +package com.yxt.supervise.system.sysuser; + + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.yxt.common.core.vo.Vo; +import com.yxt.supervise.system.sysuser.app.OrgList; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.ArrayList; +import java.util.List; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUserVo.java
+ * Class: SysUserVo
+ * Description: 用户表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "用户表 视图数据对象", description = "用户表 视图数据对象") +@Data +@NoArgsConstructor +public class SysUserVo implements Vo { + private static final long serialVersionUID = 2415131854581950721L; + @ApiModelProperty("部门sid") + private String departmentSid; + @ApiModelProperty("部门名称") + private String departmentName; + @ApiModelProperty("上级部门名称-本级部门名称 岗位名称") + @JsonProperty("pNameAndDepartmentNameAndPostName") + private String pNameAndDepartmentNameAndPostName; + @ApiModelProperty("岗位名称") + private String postName; + @ApiModelProperty("岗位Sid") + private String postSid; + @ApiModelProperty("单位sid") + private String organizationSid; + @ApiModelProperty("单位名称") + private String organizationName; + @ApiModelProperty("用户姓名") + private String name; + @ApiModelProperty("登录名,登录名不能相同") + private String userName; + + @ApiModelProperty("id") + private Integer id; + @ApiModelProperty("用户sid") + private String sid; + @ApiModelProperty("是否是管理员:1管理员,2一般用户,0是超级管理员,3尚无单位人员") + private String isAdmin; + @ApiModelProperty("角色名称") + private String roleName; + + @ApiModelProperty("关联的人员sid") + private String staffSid; + + @ApiModelProperty("手机号") + private String mobile; + @ApiModelProperty(value = "禁用状态") + private String isEnable; + + @ApiModelProperty("用户类型:1员工、2客户、3供应商") + private String userType; + @ApiModelProperty("用户类型:1、2、3") + private String userTypeKey; + @ApiModelProperty("用户头像") + private String headImage; + @ApiModelProperty("组织名称") + private String orgNamePath; + @ApiModelProperty("组织sid") + private String orgSidPath; + @ApiModelProperty(value = "token") + private String token; + @ApiModelProperty(value = "角色sids") + private List roleSids = new ArrayList<>(); + + private List orgList = new ArrayList<>(); + private String defaultOrgPath; + private String defaultOrgPathName; + + @ApiModelProperty("是否需要更换密码") + private Boolean needResetPsd; + @ApiModelProperty("工号") + private String jobNumber; + private String openid; + @ApiModelProperty("项目sid集合") + private List projectSidList; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/UserQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/UserQuery.java new file mode 100644 index 00000000..e764f937 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/UserQuery.java @@ -0,0 +1,21 @@ +package com.yxt.supervise.system.sysuser; + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/6/21 8:47 + * @Description + */ +@Data +public class UserQuery implements Query { + + private static final long serialVersionUID = -3979717077029562761L; + @ApiModelProperty(value = "角色sid必传项") + private String roleSid; + @ApiModelProperty(value = "用户部门sid路径是必传项") + private String orgSidPath; + +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/UserRoleQuery.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/UserRoleQuery.java new file mode 100644 index 00000000..8694f72c --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/UserRoleQuery.java @@ -0,0 +1,19 @@ +package com.yxt.supervise.system.sysuser; + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/8/25 8:38 + * @Description + */ +@Data +public class UserRoleQuery implements Query { + private static final long serialVersionUID = 1913450300189800653L; + + @ApiModelProperty("角色sid") + private String roleSid; + private String orgSid; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/app/AppUserOrgInfoVo.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/app/AppUserOrgInfoVo.java new file mode 100644 index 00000000..0d2fb9cd --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/app/AppUserOrgInfoVo.java @@ -0,0 +1,34 @@ +package com.yxt.supervise.system.sysuser.app; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import io.swagger.annotations.ApiOperation; +import lombok.Data; + +/** + * @Description + * @Author liuguohui + * @Date 2021/12/17 + */ +@ApiOperation("用户组织信息") +@Data +public class AppUserOrgInfoVo implements Vo { + + @ApiModelProperty("关联的员工sid") + private String staffSid; + + @ApiModelProperty("关联的员工名称") + private String staffName; + + @ApiModelProperty("员工的组织sid(多个时为第一个)") + private String orgSid; + + @ApiModelProperty("员工的组织名称(多个时为第一个)") + private String orgName; + + @ApiModelProperty("员工的组织部门编码") + private String orgCode; + + @ApiModelProperty("部门路径") + private String orgSidPath; +} diff --git a/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/app/OrgList.java b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/app/OrgList.java new file mode 100644 index 00000000..cd3ae345 --- /dev/null +++ b/yxt_supervise/supervise-report/supervise-report-biz/src/main/java/com/yxt/supervise/system/sysuser/app/OrgList.java @@ -0,0 +1,17 @@ +package com.yxt.supervise.system.sysuser.app; + +import com.yxt.common.core.vo.Vo; +import lombok.Data; + +/** + * @Author dimengzhe + * @Date 2022/9/21 9:26 + * @Description + */ +@Data +public class OrgList implements Vo { + private static final long serialVersionUID = -2867882982421321776L; + + private String orgName; + private String orgPath; +} diff --git a/yxt_supervise/supervise-supplychain/pom.xml b/yxt_supervise/supervise-supplychain/pom.xml deleted file mode 100644 index bd0520cd..00000000 --- a/yxt_supervise/supervise-supplychain/pom.xml +++ /dev/null @@ -1,161 +0,0 @@ - - - - yxt_supervise - com.yxt.supervise - 0.0.1 - - 4.0.0 - - supervise-supplychain - - - 15 - 15 - - - - - org.springframework.cloud - spring-cloud-starter-openfeign - - - org.projectlombok - lombok - 1.18.24 - true - - - com.baomidou - mybatis-plus-boot-starter - - - com.baomidou - mybatis-plus-annotation - - - com.yxt - yxt-common-base - 0.0.1 - - - - - - - - mysql - mysql-connector-java - runtime - - - - junit - junit - compile - - - javax.servlet - javax.servlet-api - 4.0.1 - compile - - - com.github.xiaoymin - knife4j-spring-boot-starter - - - net.dongliu - apk-parser - 2.6.10 - - - - org.projectlombok - lombok - 1.18.24 - true - - - javax.xml - jaxb-impl - 2.1 - - - javax.xml - jaxb-api - 2.1 - - - javax.xml.ws - jaxws-api - 2.3.1 - - - javax.jws - javax.jws-api - 1.1 - - - com.sun.xml.bind - jaxb-core - 2.3.0.1 - - - javax.xml.soap - javax.xml.soap-api - 1.4.0 - - - javax.activation - activation - 1.1.1 - - - - - - nexus-releases - http://172.18.0.3:8081/repository/yxt-mvn-releases/ - - - nexus-snapshots - http://172.18.0.3:8081/repository/yxt-mvn-snapshot/ - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.6 - - - - repackage - - - - - - - - src/main/java - - **/*Mapper.xml - - - - src/main/resources - - **/*.* - - false - - - - - \ No newline at end of file diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/SupplyChainApplication.java b/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/SupplyChainApplication.java deleted file mode 100644 index 9c2ce302..00000000 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/SupplyChainApplication.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.yxt.supervise.supplychain; - -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.cloud.client.discovery.EnableDiscoveryClient; -import org.springframework.cloud.openfeign.EnableFeignClients; - -@SpringBootApplication(scanBasePackages = { - "com.yxt.common.base.config", - "com.yxt.supervise.supplychain" -}) -@EnableDiscoveryClient -@EnableFeignClients(basePackages = {"com.yxt.supervise.*"}) -public class SupplyChainApplication { -} diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/controller/PurchaseRequisitionController.java b/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/controller/PurchaseRequisitionController.java deleted file mode 100644 index 7aee45b2..00000000 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/controller/PurchaseRequisitionController.java +++ /dev/null @@ -1,4 +0,0 @@ -package com.yxt.supervise.supplychain.controller; - -public class PurchaseRequisitionController { -} diff --git a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/service/PurchaseRequisitionService.java b/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/service/PurchaseRequisitionService.java deleted file mode 100644 index a6bbc767..00000000 --- a/yxt_supervise/supervise-supplychain/src/main/java/com/yxt/supervise/supplychain/service/PurchaseRequisitionService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.yxt.supervise.supplychain.service; - -import org.springframework.stereotype.Service; - - -@Service -public class PurchaseRequisitionService { -} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/pom.xml b/yxt_supervise/yxt-supervise-enterprisecentre/pom.xml index 6aa154db..73d99f31 100644 --- a/yxt_supervise/yxt-supervise-enterprisecentre/pom.xml +++ b/yxt_supervise/yxt-supervise-enterprisecentre/pom.xml @@ -8,7 +8,6 @@ yxt-supervise-enterprisecentre 0.0.1 - yxt-supervise-enterprisecentre-api yxt-supervise-enterprisecentre-biz pom diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/pom.xml b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/pom.xml index 313eac27..33e3d666 100644 --- a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/pom.xml +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/pom.xml @@ -19,11 +19,6 @@ org.springframework.boot spring-boot-starter-cache - - com.yxt.supervise.enterprisecentre - yxt-supervise-enterprisecentre-api - 0.0.1 - com.yxt yxt-common-base @@ -33,6 +28,10 @@ com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery + + org.springframework.cloud + spring-cloud-starter-openfeign + org.projectlombok @@ -83,6 +82,7 @@ org.springframework.boot spring-boot-maven-plugin + 2.5.6 diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/BusinessVariables.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/BusinessVariables.java new file mode 100644 index 00000000..bbde5a53 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/BusinessVariables.java @@ -0,0 +1,65 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.HashMap; +import java.util.Map; + +/** + * 业务系统调用flowable流程传递参数的格式 + */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class BusinessVariables { + /** + * 分公司sid + */ + public static final String ORGPATH="orgPath"; + /** + * 流程定义的id + */ + private String modelId; + /** + * 审批意见 + */ + private String comment; + /** + * 流程实例的id + */ + private String instanceId; + /** + * taskId + */ + private String taskId; + /** + * 当前用户的id + */ + private String userSid; + /** + * 当前用户部门的全路径 + */ + private String orgSidPath; + /** + * 业务sid + */ + private String businessSid; + /** + * 环节定义的ID + */ + private String taskDefKey; + /** + * nextNodeUserSids 下一环节的用户sid + */ + private String nextNodeUserSids; + /** + * 业务参数,按需传递 + */ + private Map formVariables =new HashMap<>(); + /* @ApiModelProperty("机构sid:切换结构使用") + private String orgPath;*/ +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/FlowTaskQuery.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/FlowTaskQuery.java new file mode 100644 index 00000000..06669983 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/FlowTaskQuery.java @@ -0,0 +1,43 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModelProperty; + +/** + * @author dimengzhe + * @date 2021/8/20 13:53 + * @description + */ +public class FlowTaskQuery implements Query { + private static final long serialVersionUID = -7395299971899690002L; + @ApiModelProperty(value = "用户sid", required = true) + private String userSid; + @ApiModelProperty(value = "zd", required = true) + private String zd; + @ApiModelProperty(value = "days", required = true) + private String days; + + public String getZd() { + return zd; + } + + public void setZd(String zd) { + this.zd = zd; + } + + public String getDays() { + return days; + } + + public void setDays(String days) { + this.days = days; + } + + public String getUserSid() { + return userSid; + } + + public void setUserSid(String userSid) { + this.userSid = userSid; + } +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/FlowTaskVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/FlowTaskVo.java new file mode 100644 index 00000000..8817c31a --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/FlowTaskVo.java @@ -0,0 +1,53 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + *

流程任务

+ * + * @author XuanXuan + * @date 2021-04-03 + */ +@ApiModel("工作流任务相关--请求参数") +@Data +public class FlowTaskVo { + + @ApiModelProperty("任务Id") + private String taskId; + @ApiModelProperty("业务sid") + private String businessSid; + @ApiModelProperty("用户Id") + private String userId; + @ApiModelProperty("用户Sid") + private String userSid; + + @ApiModelProperty("任务意见") + private String comment; + + @ApiModelProperty("流程实例Id") + private String instanceId; + + @ApiModelProperty("节点") + private String targetKey; + + @ApiModelProperty("流程变量信息") + private Map values=new HashMap<>(); + + @ApiModelProperty("审批人") + private String assignee; + + @ApiModelProperty("候选人") + private List candidateUsers; + + @ApiModelProperty("审批组") + private List candidateGroups; + + + +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/GetNodeQuery.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/GetNodeQuery.java new file mode 100644 index 00000000..e18ea5c5 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/GetNodeQuery.java @@ -0,0 +1,29 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotBlank; +import java.util.Map; + +/** + * @Author dimengzhe + * @Date 2022/6/28 10:42 + * @Description + */ +@Data +public class GetNodeQuery implements Query { + private static final long serialVersionUID = -5674867230708197611L; + + @ApiModelProperty(value = "环节定义id") + @NotBlank(message = "参数错误:taskDefKey") + private String taskDefKey; + + @ApiModelProperty(value = "分支字段及业务字段") + private Map formVariables; + + @ApiModelProperty(value = "业务sid") + @NotBlank(message = "参数错误:businessSid") + private String businessSid; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/GetNodeVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/GetNodeVo.java new file mode 100644 index 00000000..5d83f8c8 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/GetNodeVo.java @@ -0,0 +1,20 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +@Data +public class GetNodeVo implements Vo { + private static final long serialVersionUID = 8802774014747063504L; + @ApiModelProperty(value = "节点名称") + private String name; + @ApiModelProperty(value = "节点id") + private String id; + @ApiModelProperty(value = "审批组") + private List candidateGroups; + @ApiModelProperty(value = "是否是最后环节") + private String endTask; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/ProcDefEnum.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/ProcDefEnum.java new file mode 100644 index 00000000..022e3581 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/ProcDefEnum.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +/** + * 流程定义:流程名称与代号枚举类 + */ +public enum ProcDefEnum { + + /***************************正式流程id***********************************/ + + SEALSONAPPLICATION("用章申请", "process_itrg7ohf:5:1340012"); + + ProcDefEnum(String proDefName, String proDefId) { + this.proDefName = proDefName; + this.proDefId = proDefId; + + } + + /** + * 流程类型名称 + */ + private final String proDefName; + + /** + * 流程代号 + */ + private final String proDefId; + + public String getProDefName() { + return proDefName; + } + + public String getProDefId() { + return proDefId; + } +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/UpdateFlowFieldVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/UpdateFlowFieldVo.java new file mode 100644 index 00000000..91d1e2b8 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/UpdateFlowFieldVo.java @@ -0,0 +1,68 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +public class UpdateFlowFieldVo { + + private String sid; + private String procDefId; + private String nodeState; + private String procInsId; + private String taskDefKey; + private String taskId; + private String nextNodeUserSids; + + public String getNextNodeUserSids() { + return nextNodeUserSids; + } + + public void setNextNodeUserSids(String nextNodeUserSids) { + this.nextNodeUserSids = nextNodeUserSids; + } + + public String getSid() { + return sid; + } + + public void setSid(String sid) { + this.sid = sid; + } + + public String getProcDefId() { + return procDefId; + } + + public void setProcDefId(String procDefId) { + this.procDefId = procDefId; + } + + public String getNodeState() { + return nodeState; + } + + public void setNodeState(String nodeState) { + this.nodeState = nodeState; + } + + public String getProcInsId() { + return procInsId; + } + + public void setProcInsId(String procInsId) { + this.procInsId = procInsId; + } + + public String getTaskDefKey() { + return taskDefKey; + } + + public void setTaskDefKey(String taskDefKey) { + this.taskDefKey = taskDefKey; + } + + public String getTaskId() { + return taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/UserAndOrgPath.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/UserAndOrgPath.java new file mode 100644 index 00000000..0672178b --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/flowable/UserAndOrgPath.java @@ -0,0 +1,15 @@ +package com.yxt.supervise.enterprisecentre.api.flowable; + +import lombok.Data; + +@Data +public class UserAndOrgPath { + /** + * 用户sid + */ + private String userSid; + /** + * 组织及部门sid全路径 + */ + private String orgPath; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/BreakProcessQuery.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/BreakProcessQuery.java new file mode 100644 index 00000000..4d452d97 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/BreakProcessQuery.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.query.Query; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordQuery.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordQuery
+ * Description: 用章申请 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请 BreakProcessQuery 查询条件", description = "用章申请 BreakProcessQuery 查询条件") +public class BreakProcessQuery implements Query { + @ApiModelProperty(value = "节点状态") + private String nodeState; + @ApiModelProperty("流程定义的id") + private String procDefId; + @ApiModelProperty("流程实例的id") + private String procInsId; + @ApiModelProperty(value = "任务id") + private String taskId; + @ApiModelProperty(value = "环节定义的ID") + private String taskDefKey; + @ApiModelProperty(value = "usersid") + private String userSid; + @ApiModelProperty(value = "businessSid") + private String businessSid; + @ApiModelProperty(value = "instanceId") + private String instanceId; + /** + * 终止、驳回 + */ + @ApiModelProperty("任务意见") + private String comment; + +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowCommentDto.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowCommentDto.java new file mode 100644 index 00000000..9b7d428f --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowCommentDto.java @@ -0,0 +1,35 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.io.Serializable; + +/** + * @author XuanXuan + * @date 2021/3/28 15:50 + */ +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class FlowCommentDto implements Serializable { + + /** + * + */ + private static final long serialVersionUID = 1929734226858491967L; + + /** + * 意见类别 1正常(同意)意见 2退回意见 3 驳回意见 4 委派意见 5 转办意见 6 终止流程 7 撤回流程 + */ + private String type; + + /** + * 意见内容 + */ + private String comment; + +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowRecordVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowRecordVo.java new file mode 100644 index 00000000..5b01edad --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowRecordVo.java @@ -0,0 +1,19 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +@Data +public class FlowRecordVo { + private List flowList = new ArrayList<>(); + + public List getFlowList() { + return flowList; + } + + public void setFlowList(List flowList) { + this.flowList = flowList; + } +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowTask.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowTask.java new file mode 100644 index 00000000..0ed633aa --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/FlowTask.java @@ -0,0 +1,102 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yxt.common.core.domain.BaseEntity; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +/** + *

工作流任务

+ * + * @author XuanXuan + * @date 2021-04-03 + */ +@ApiModel("工作流任务相关-返回参数") +@Data +public class FlowTask extends BaseEntity implements Serializable { + + @ApiModelProperty("任务编号") + private String taskId; + + @ApiModelProperty("任务名称") + private String taskName; + + @ApiModelProperty("任务Key") + private String taskDefKey; + + @ApiModelProperty("任务执行人Id") + private Long assigneeId; + + @ApiModelProperty("部门名称") + private String deptName; + + @ApiModelProperty("流程发起人部门名称") + private String startDeptName; + + @ApiModelProperty("任务执行人名称") + private String assigneeName; + + @ApiModelProperty("任务执行人头像") + private String assigneeHeadImage; + + @ApiModelProperty("流程发起人Id") + private String startUserId; + + @ApiModelProperty("流程发起人名称") + private String startUserName; + + @ApiModelProperty("流程类型") + private String category; + + @ApiModelProperty("流程变量信息") + private Object procVars; + + @ApiModelProperty("局部变量信息") + private Object taskLocalVars; + + @ApiModelProperty("流程部署编号") + private String deployId; + + @ApiModelProperty("流程ID") + private String procDefId; + + @ApiModelProperty("流程key") + private String procDefKey; + + @ApiModelProperty("流程定义名称") + private String procDefName; + + @ApiModelProperty("流程定义内置使用版本") + private int procDefVersion; + + @ApiModelProperty("流程实例ID") + private String procInsId; + + @ApiModelProperty("历史流程实例ID") + private String hisProcInsId; + + @ApiModelProperty("任务耗时") + private String duration; + + @ApiModelProperty("任务意见") + private FlowCommentDto comment = new FlowCommentDto(); + + @ApiModelProperty("候选执行人") + private String candidate; + + /* @ApiModelProperty("任务创建时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ) + private Date createTime;*/ + + @ApiModelProperty("任务完成时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + private Date finishTime; + + @ApiModelProperty("环节的办理人信息") + private List taskUserInfos; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/LatestTaskVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/LatestTaskVo.java new file mode 100644 index 00000000..fdbda335 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/LatestTaskVo.java @@ -0,0 +1,34 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @Description + * @Author liuguohui + * @Date 2022/1/11 + */ +@ApiModel("最近环节") +@Data +public class LatestTaskVo implements Vo { + + @ApiModelProperty(value = "name_") + private String name_; + + @ApiModelProperty(value = "task_def_key_") + private String task_def_key_; + + @ApiModelProperty(value = "id_") + private String id_; + + @ApiModelProperty(value = "name_") + private String ASSIGNEE_; + + @ApiModelProperty(value = "orgPath") + private String orgPath; + + @ApiModelProperty(value = "incomingSourceRef") + private String incomingSourceRef; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecord.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecord.java new file mode 100644 index 00000000..f12ce46f --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecord.java @@ -0,0 +1,89 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +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-enterprisecentre(企业中心)
+ * File: SealRecord.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecord
+ * Description: 用章申请.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请", description = "用章申请") +@TableName("seal_record") +public class SealRecord extends BaseEntity { + private static final long serialVersionUID = 1L; + + @ApiModelProperty("项目sid") + private String project_sid; // 项目sid + @ApiModelProperty("项目名称") + private String project_name; // 项目名称 + @ApiModelProperty("审批编号") + private String code; // 审批编号 + @ApiModelProperty("申请日期") + private String applicant_date; // 申请日期 + @ApiModelProperty("申请人sid") + private String applicant_sid; // 申请人sid + @ApiModelProperty("申请人name") + private String applicant_name; // 申请人name + @ApiModelProperty("用印章人姓名") + private String user_name; // 用印章人姓名 + @ApiModelProperty("用印章人sid") + private String user_sid; // 用印章人sid + @ApiModelProperty("使用日期") + private String use_date; // 使用日期 + @ApiModelProperty("用印章事由") + private String use_reason; // 用印章事由 + @ApiModelProperty("用印文件名称") + private String use_file_name; // 用印文件名称 + @ApiModelProperty("加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证") + private String seal_type; // 加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证 + @ApiModelProperty("用印文件(附件)") + private String file_path; // 用印文件(附件) + @ApiModelProperty("流程定义的id") + private String procDefId; + @ApiModelProperty("流程实例的id") + private String procInsId; + @ApiModelProperty("当前环节状态") + private String nodeState; + @ApiModelProperty("环节定义的ID") + private String taskDefKey; + @ApiModelProperty("taskId") + private String taskId; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordDetailsVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordDetailsVo.java new file mode 100644 index 00000000..33b39304 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordDetailsVo.java @@ -0,0 +1,87 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordVo.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordVo
+ * Description: 用章申请 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请 视图数据详情", description = "用章申请 视图数据详情") +public class SealRecordDetailsVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("项目sid") + private String project_sid; // 项目sid + @ApiModelProperty("项目名称") + private String project_name; // 项目名称 + @ApiModelProperty("审批编号") + private String code; // 审批编号 + @ApiModelProperty("申请日期") + private String applicant_date; // 申请日期 + @ApiModelProperty("申请人sid") + private String applicant_sid; // 申请人sid + @ApiModelProperty("申请人name") + private String applicant_name; // 申请人name + @ApiModelProperty("用印章人姓名") + private String user_name; // 用印章人姓名 + @ApiModelProperty("用印章人sid") + private String user_sid; // 用印章人sid + @ApiModelProperty("使用日期") + private String use_date; // 使用日期 + @ApiModelProperty("用印章事由") + private String use_reason; // 用印章事由 + @ApiModelProperty("用印文件名称") + private String use_file_name; // 用印文件名称 + @ApiModelProperty("加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证") + private String[] seal_type; // 加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证 + @ApiModelProperty("用印文件(附件)") + private List file_paths; // 用印文件(附件) + +} \ No newline at end of file diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordDto.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordDto.java new file mode 100644 index 00000000..ff82751d --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordDto.java @@ -0,0 +1,98 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.dto.Dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordDto.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordDto
+ * Description: 用章申请 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请 数据传输对象", description = "用章申请 数据传输对象") +public class SealRecordDto implements Dto { + + private String sid; // sid + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("项目sid") + private String project_sid; // 项目sid + @ApiModelProperty("项目名称") + private String project_name; // 项目名称 + @ApiModelProperty("审批编号") + private String code; // 审批编号 + @ApiModelProperty("申请日期") + private String applicant_date; // 申请日期 + @ApiModelProperty("申请人sid") + private String applicant_sid; // 申请人sid + @ApiModelProperty("申请人name") + private String applicant_name; // 申请人name + @ApiModelProperty("用印章人姓名") + private String user_name; // 用印章人姓名 + @ApiModelProperty("用印章人sid") + private String user_sid; // 用印章人sid + @ApiModelProperty("使用日期") + private String use_date; // 使用日期 + @ApiModelProperty("用印章事由") + private String use_reason; // 用印章事由 + @ApiModelProperty("用印文件名称") + private String use_file_name; // 用印文件名称 + @ApiModelProperty("加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证") + private String seal_type; // 加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证 + @ApiModelProperty("用印文件(附件)") + private List file_paths; // 用印文件(附件) + @ApiModelProperty("备注") + private String remarks; + @ApiModelProperty("流程定义的id") + private String procDefId; + @ApiModelProperty("流程实例的id") + private String procInsId; + @ApiModelProperty("当前环节状态") + private String nodeState; + @ApiModelProperty("环节定义的ID") + private String taskDefKey; + @ApiModelProperty("taskId") + private String taskId; +} \ No newline at end of file diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordFeign.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordFeign.java new file mode 100644 index 00000000..37e26e63 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordFeign.java @@ -0,0 +1,78 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import com.yxt.common.core.query.PagerQuery; +import com.yxt.common.core.result.ResultBean; +import com.yxt.common.core.vo.PagerVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordFeign.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordFeign
+ * Description: 用章申请.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Api(tags = "用章申请") +@FeignClient( + contextId = "yxt-supervise-enterprisecentre-SealRecord", + name = "yxt-supervise-enterprisecentre", + path = "v1/sealrecord", + fallback = SealRecordFeignFallback.class) +public interface SealRecordFeign { + + @ApiOperation("根据条件分页查询数据的列表") + @PostMapping("/listPage") + @ResponseBody + public ResultBean> listPage(@RequestBody PagerQuery pq); + + @ApiOperation("新增或修改") + @PostMapping("/save") + @ResponseBody + public ResultBean save(@RequestBody SealRecordDto dto); + + @ApiOperation("根据sid删除记录") + @DeleteMapping("/delBySids") + @ResponseBody + public ResultBean delBySids(@RequestBody String[] sids); + + @ApiOperation("根据SID获取一条记录") + @GetMapping("/fetchDetailsBySid/{sid}") + @ResponseBody + public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid); +} \ No newline at end of file diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordFeignFallback.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordFeignFallback.java new file mode 100644 index 00000000..6845ab84 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordFeignFallback.java @@ -0,0 +1,72 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +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; + +import java.util.List; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordFeignFallback.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordFeignFallback
+ * Description: 用章申请.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Component +public class SealRecordFeignFallback implements SealRecordFeign { + + @Override + public ResultBean> listPage(PagerQuery pq){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise-enterprisecentre/sealrecord/listPage无法访问"); + } + + @Override + public ResultBean save(SealRecordDto dto){ + return ResultBean.fireFail().setMsg("接口yxt-supervise-enterprisecentre/sealrecord/save无法访问"); + } + + @Override + public ResultBean delBySids( String[] sids){ + return ResultBean.fireFail().setMsg("接口yxt-supervise-enterprisecentre/sealrecord/delBySids无法访问"); + } + + @Override + public ResultBean fetchDetailsBySid(String sid){ + ResultBean rb = ResultBean.fireFail(); + return rb.setMsg("接口yxt-supervise-enterprisecentre/sealrecord/fetchDetailsBySid无法访问"); + } +} \ No newline at end of file diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordHandleDto.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordHandleDto.java new file mode 100644 index 00000000..ffa02413 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordHandleDto.java @@ -0,0 +1,76 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotBlank; +import java.util.Map; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordDto.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordDto
+ * Description: 用章申请 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请 办理 数据传输对象", description = "用章申请 办理 数据传输对象") +public class SealRecordHandleDto implements Dto { + + @ApiModelProperty(value = "用户sid") + @NotBlank(message = "参数错误:userSid") + private String userSid; + @ApiModelProperty(value = "用户全路径sid") + private String orgSidPath; + @ApiModelProperty(value = "节点id") + @NotBlank(message = "参数错误:taskDefKey") + private String taskDefKey; + @ApiModelProperty(value = "任务id") + @NotBlank(message = "参数错误:taskId") + private String taskId; + @ApiModelProperty(value = "流程id") + @NotBlank(message = "参数错误:instanceId") + private String instanceId; + @ApiModelProperty(value = "意见") + @NotBlank(message = "参数错误:comment") + private String comment; + @ApiModelProperty(value = "业务sid") + @NotBlank(message = "参数错误:businessSid") + private String businessSid; + @ApiModelProperty(value = "分支字段及业务字段") + private Map formVariables; +} \ No newline at end of file diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordQuery.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordQuery.java new file mode 100644 index 00000000..8af06f16 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordQuery.java @@ -0,0 +1,91 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.query.Query; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordQuery.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordQuery
+ * Description: 用章申请 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请 查询条件", description = "用章申请 查询条件") +public class SealRecordQuery implements Query { + + @ApiModelProperty("创建者") + private String createSid; // 创建者 + @ApiModelProperty("更新者") + private String modifySid; // 更新者 + @ApiModelProperty("项目sid") + private String project_sid; // 项目sid + @ApiModelProperty("项目名称") + private String project_name; // 项目名称 + @ApiModelProperty("审批编号") + private String code; // 审批编号 + @ApiModelProperty("申请日期") + private String applicant_date; // 申请日期 + @ApiModelProperty("申请日期 开始") + private String applicant_date_start; // 申请日期 + @ApiModelProperty("申请日期 结束") + private String applicant_date_end; // 申请日期 + @ApiModelProperty("申请人sid") + private String applicant_sid; // 申请人sid + @ApiModelProperty("申请人name") + private String applicant_name; // 申请人name + @ApiModelProperty("用印章人姓名") + private String user_name; // 用印章人姓名 + @ApiModelProperty("用印章人sid") + private String user_sid; // 用印章人sid + @ApiModelProperty("使用日期") + private String use_date; // 使用日期 + @ApiModelProperty("使用日期 开始") + private String use_date_start; // 使用日期 + @ApiModelProperty("使用日期 结束") + private String use_date_end; // 使用日期 + @ApiModelProperty("用印章事由") + private String use_reason; // 用印章事由 + @ApiModelProperty("用印文件名称") + private String use_file_name; // 用印文件名称 + @ApiModelProperty("加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证") + private String seal_type; // 加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证 + @ApiModelProperty("用印文件(附件)") + private String file_path; // 用印文件(附件) + +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordVo.java new file mode 100644 index 00000000..796b9bc4 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SealRecordVo.java @@ -0,0 +1,92 @@ +/********************************************************* + ********************************************************* + ******************** ******************* + ************* ************ + ******* _oo0oo_ ******* + *** o8888888o *** + * 88" . "88 * + * (| -_- |) * + * 0\ = /0 * + * ___/`---'\___ * + * .' \\| |// '. * + * / \\||| : |||// \ * + * / _||||| -:- |||||- \ * + * | | \\\ - /// | | * + * | \_| ''\---/'' |_/ | * + * \ .-\__ '-' ___/-. / * + * ___'. .' /--.--\ `. .'___ * + * ."" '< `.___\_<|>_/___.' >' "". * + * | | : `- \`.;`\ _ /`;.`/ - ` : | | * + * \ \ `_. \_ __\ /__ _/ .-` / / * + * =====`-.____`.___ \_____/___.-`___.-'===== * + * `=---=' * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * + *********__佛祖保佑__永无BUG__验收通过__钞票多多__********* + *********************************************************/ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.vo.Vo; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.List; + +/** + * Project: yxt-supervise-enterprisecentre(企业中心)
+ * File: SealRecordVo.java
+ * Class: com.yxt.supervise.enterprisecentre.api.sealrecord.SealRecordVo
+ * Description: 用章申请 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2023-09-03 10:29:22
+ * + * @author 功夫熊猫 + * @version 1.0 + * @since 1.0 + */ +@Data +@ApiModel(value = "用章申请 视图数据对象", description = "用章申请 视图数据对象") +public class SealRecordVo implements Vo { + + private String sid; // sid + + @ApiModelProperty("项目sid") + private String project_sid; // 项目sid + @ApiModelProperty("项目名称") + private String project_name; // 项目名称 + @ApiModelProperty("审批编号") + private String code; // 审批编号 + @ApiModelProperty("申请日期") + private String applicant_date; // 申请日期 + @ApiModelProperty("申请人sid") + private String applicant_sid; // 申请人sid + @ApiModelProperty("申请人name") + private String applicant_name; // 申请人name + @ApiModelProperty("用印章人姓名") + private String user_name; // 用印章人姓名 + @ApiModelProperty("用印章人sid") + private String user_sid; // 用印章人sid + @ApiModelProperty("使用日期") + private String use_date; // 使用日期 + @ApiModelProperty("用印章事由") + private String use_reason; // 用印章事由 + @ApiModelProperty("用印文件名称") + private String use_file_name; // 用印文件名称 + @ApiModelProperty("加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证") + private String seal_type; // 加盖何种公章。1:公章,2:法人章,3:财务章,4:发票章,5:营业执照,6:开户许可证 + @ApiModelProperty("用印文件(附件)") + private List file_paths; // 用印文件(附件) + @ApiModelProperty("流程定义的id") + private String procDefId; + @ApiModelProperty("流程实例的id") + private String procInsId; + @ApiModelProperty("当前环节状态") + private String nodeState; + @ApiModelProperty("环节定义的ID") + private String taskDefKey; + @ApiModelProperty("taskId") + private String taskId; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysFormLinkDto.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysFormLinkDto.java new file mode 100644 index 00000000..19a77eae --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysFormLinkDto.java @@ -0,0 +1,50 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.yxt.common.core.dto.Dto; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotBlank; + +/** + * Project: anrui-flowable(流程引擎)
+ * File: SysFormLinkDto.java
+ * Class: com.yxt.anrui.flowable.api.sysformlink.SysFormLinkDto
+ * Description: 流程业务关联表 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-03-15 16:55:39
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "流程业务关联表 数据传输对象", description = "流程业务关联表 数据传输对象") +@Data +public class SysFormLinkDto implements Dto { + + + @ApiModelProperty("业务sid") + @NotBlank(message = "业务sid不能为空") + private String businessSid; + + @ApiModelProperty("流程实例id") + @NotBlank(message = "流程实例不能为空") + private String procInsId; + + @ApiModelProperty("节点id") + private String taskDefKey; + + @ApiModelProperty("节点状态") + @NotBlank(message = "节点状态不能为空") + private String nodeState; + + @ApiModelProperty("状态判断:0未提交,1办理中, 2已办结, -1退回到发起人,-2终止") + private Integer flowState; + + @ApiModelProperty("业务类型") + @NotBlank(message = "业务类型") + private String formType; +} \ No newline at end of file diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysFormStateVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysFormStateVo.java new file mode 100644 index 00000000..8084ef70 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysFormStateVo.java @@ -0,0 +1,23 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @author liuguohui + * @version 1.0 + * @description + * @date 2022/03/15 + */ +@ApiModel("流程状态") +@Data +public class SysFormStateVo implements Vo { + + @ApiModelProperty("节点状态") + private String nodeState; + + @ApiModelProperty("状态判断:0未提交,1办理中, 2已办结, -1退回到发起人,-2终止") + private Integer flowState; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysUserVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysUserVo.java new file mode 100644 index 00000000..eb69f080 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/SysUserVo.java @@ -0,0 +1,92 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.yxt.common.core.vo.Vo; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.ArrayList; +import java.util.List; + +/** + * Project: anrui_portal(门户建设)
+ * File: SysUserVo.java
+ * Class: SysUserVo
+ * Description: 用户表 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2021-08-03 00:24:30
+ * + * @author liupopo + * @version 1.0 + * @since 1.0 + */ +@ApiModel(value = "用户表 视图数据对象", description = "用户表 视图数据对象") +@Data +@NoArgsConstructor +public class SysUserVo implements Vo { + private static final long serialVersionUID = 2415131854581950721L; + @ApiModelProperty("部门sid") + private String departmentSid; + @ApiModelProperty("部门名称") + private String departmentName; + @ApiModelProperty("上级部门名称-本级部门名称 岗位名称") + @JsonProperty("pNameAndDepartmentNameAndPostName") + private String pNameAndDepartmentNameAndPostName; + @ApiModelProperty("岗位名称") + private String postName; + @ApiModelProperty("岗位Sid") + private String postSid; + @ApiModelProperty("单位sid") + private String organizationSid; + @ApiModelProperty("单位名称") + private String organizationName; + @ApiModelProperty("用户姓名") + private String name; + @ApiModelProperty("登录名,登录名不能相同") + private String userName; + + @ApiModelProperty("id") + private Integer id; + @ApiModelProperty("用户sid") + private String sid; + @ApiModelProperty("是否是管理员:1管理员,2一般用户,0是超级管理员,3尚无单位人员") + private String isAdmin; + @ApiModelProperty("角色名称") + private String roleName; + + @ApiModelProperty("关联的人员sid") + private String staffSid; + + @ApiModelProperty("手机号") + private String mobile; + @ApiModelProperty(value = "禁用状态") + private String isEnable; + + @ApiModelProperty("用户类型:1员工、2客户、3供应商") + private String userType; + @ApiModelProperty("用户类型:1、2、3") + private String userTypeKey; + @ApiModelProperty("用户头像") + private String headImage; + @ApiModelProperty("组织名称") + private String orgNamePath; + @ApiModelProperty("组织sid") + private String orgSidPath; + @ApiModelProperty(value = "token") + private String token; + @ApiModelProperty(value = "角色sids") + private List roleSids = new ArrayList<>(); + + private String defaultOrgPath; + private String defaultOrgPathName; + + @ApiModelProperty("是否需要更换密码") + private Boolean needResetPsd; + @ApiModelProperty("工号") + private String jobNumber; + private String openid; +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/TaskUserInfo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/TaskUserInfo.java new file mode 100644 index 00000000..0559b239 --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/TaskUserInfo.java @@ -0,0 +1,31 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +public class TaskUserInfo { + private String assigneeName; + private String assigneeHeadImage; + private String assigneeSid; + + public String getAssigneeSid() { + return assigneeSid; + } + + public void setAssigneeSid(String assigneeSid) { + this.assigneeSid = assigneeSid; + } + + public String getAssigneeName() { + return assigneeName; + } + + public void setAssigneeName(String assigneeName) { + this.assigneeName = assigneeName; + } + + public String getAssigneeHeadImage() { + return assigneeHeadImage; + } + + public void setAssigneeHeadImage(String assigneeHeadImage) { + this.assigneeHeadImage = assigneeHeadImage; + } +} diff --git a/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/UserProjectVo.java b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/UserProjectVo.java new file mode 100644 index 00000000..e48a466f --- /dev/null +++ b/yxt_supervise/yxt-supervise-enterprisecentre/yxt-supervise-enterprisecentre-biz/src/main/java/com/yxt/supervise/enterprisecentre/api/sealrecord/UserProjectVo.java @@ -0,0 +1,42 @@ +package com.yxt.supervise.enterprisecentre.api.sealrecord; + +import com.yxt.common.core.query.Query; + +public class UserProjectVo implements Query { + private String id; + private String sid; + private String projectSid; + private String userSid; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getSid() { + return sid; + } + + public void setSid(String sid) { + this.sid = sid; + } + + public String getProjectSid() { + return projectSid; + } + + public void setProjectSid(String projectSid) { + this.projectSid = projectSid; + } + + public String getUserSid() { + return userSid; + } + + public void setUserSid(String userSid) { + this.userSid = userSid; + } +} diff --git a/yxt_supervise/yxt_adapter/pom.xml b/yxt_supervise/yxt_adapter/pom.xml deleted file mode 100644 index 6f1215d8..00000000 --- a/yxt_supervise/yxt_adapter/pom.xml +++ /dev/null @@ -1,148 +0,0 @@ - - - - yxt_supervise - com.yxt.supervise - 0.0.1 - - 4.0.0 - - yxt_adapter - - - 15 - 15 - - - - com.yxt - yxt-common-base - 0.0.1 - - - supervise-portal-api - com.yxt.supervise - 0.0.1-SNAPSHOT - - - - - - mysql - mysql-connector-java - runtime - - - - junit - junit - compile - - - javax.servlet - javax.servlet-api - 4.0.1 - compile - - - com.github.xiaoymin - knife4j-spring-boot-starter - - - net.dongliu - apk-parser - 2.6.10 - - - - org.projectlombok - lombok - 1.18.24 - true - - - javax.xml - jaxb-impl - 2.1 - - - javax.xml - jaxb-api - 2.1 - - - javax.xml.ws - jaxws-api - 2.3.1 - - - javax.jws - javax.jws-api - 1.1 - - - com.sun.xml.bind - jaxb-core - 2.3.0.1 - - - javax.xml.soap - javax.xml.soap-api - 1.4.0 - - - javax.activation - activation - 1.1.1 - - - - net.sourceforge.javacsv - javacsv - 2.0 - - - de.siegmar - fastcsv - 2.2.1 - - - - - - - org.springframework.boot - spring-boot-maven-plugin - 2.5.6 - - - - repackage - - - - - - - - src/main/java - - **/*Mapper.xml - - - - src/main/resources - - **/*.* - - false - - - - - \ No newline at end of file diff --git a/yxt_supervise/yxt_adapter/src/main/java/com/yxt/supervise/adapter/AdapterApplication.java b/yxt_supervise/yxt_adapter/src/main/java/com/yxt/supervise/adapter/AdapterApplication.java deleted file mode 100644 index 537900e4..00000000 --- a/yxt_supervise/yxt_adapter/src/main/java/com/yxt/supervise/adapter/AdapterApplication.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.yxt.supervise.adapter; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.cloud.client.discovery.EnableDiscoveryClient; -import org.springframework.cloud.openfeign.EnableFeignClients; - -@SpringBootApplication(scanBasePackages = { - "com.yxt.common.base.config", - "com.yxt.supervise.adapter" -}) -@EnableDiscoveryClient -@EnableFeignClients(basePackages = {"com.yxt.supervise.*"}) -public class AdapterApplication { - public static void main(String[] args) { - SpringApplication.run(AdapterApplication.class, args); - } -} diff --git a/yxt_supervise/yxt_adapter/src/main/java/com/yxt/supervise/adapter/controller/AdapterController.java b/yxt_supervise/yxt_adapter/src/main/java/com/yxt/supervise/adapter/controller/AdapterController.java deleted file mode 100644 index 07081206..00000000 --- a/yxt_supervise/yxt_adapter/src/main/java/com/yxt/supervise/adapter/controller/AdapterController.java +++ /dev/null @@ -1,69 +0,0 @@ -package com.yxt.supervise.adapter.controller; - -import com.alibaba.fastjson.JSONObject; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.yxt.common.core.result.ResultBean; -import com.yxt.supervise.portal.api.brandinfo.BrandInfoDto; -import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; -import lombok.extern.slf4j.Slf4j; -import org.springframework.http.*; -import org.springframework.web.bind.annotation.*; -import org.springframework.web.client.RestTemplate; - -import java.util.ArrayList; -@Slf4j -@Api(tags = "适配器") -@RestController("com.yxt.supervise.adapter.controller.AdapterController") -@RequestMapping("v1/adapter") -public class AdapterController { - @ApiOperation("登录") - @GetMapping("/login") - public ResultBean login( ) throws JsonProcessingException { - ResultBean rb = ResultBean.fireFail(); - String url = "http://192.168.4.28:18080/pasoreport-web/latin/common/getOption.hd?_dc=1673487175151&moduleId=report19874907b7564c2386081fbb84d1b1e3&option=maxExecuteTime"; - - RestTemplate restTemplate = new RestTemplate(); - - HttpHeaders headers = new HttpHeaders(); - - MediaType type = MediaType.parseMediaType("application/json; charset=UTF-8"); - headers.setContentType(type); - headers.add("Accept", MediaType.APPLICATION_JSON.toString()); - headers.add("Cookie","JSESSIONID=48E9C87D99BAE92A170900D85F0F4550; Accept-Language=zh-CN; _uid_=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJUSElSRF9PUkdfSUQiOiIxMDAwMDAwIiwiT1JHX05BTUUiOiLmsrPljJflm73lpKczNjUyNCIsIlVTRVJfSUQiOiJocnloIiwiVVNFUl9MT0dJTk5BTUUiOiJocnloIiwiVEVOQU5UX1VVSUQiOiIyYzkyODFjNDVhYWRhMmJhMDE1YWFkYTJjM2Y3MDAwMiIsIklTX0NVUlJFTlRfU1lTVEVNIjp0cnVlLCJPUkdfVVVJRCI6IjJjOTI4MWM0NWFhZGEyYmEwMTVhYWRhMmMzZjcwMDAyIiwiVEVOQU5UX0NPREUiOiIwMDAxIiwiT1JHX0NPREUiOiIwMDAxIiwiVVNFUl9VVUlEIjoiMmM5MTgwODk4NDE3NGYyMTAxODQ1YWYwZjEzMTQ3ODAiLCJGVUxMX05BTUUiOiLmsYfono3pk7booYwiLCJURU5BTlRfTkFNRSI6Iuays-WMl-WbveWkpzM2NTI0IiwiU1lTVEVNX1RZUEUiOiJIUSIsImV4cCI6MTY3MzU3MzI2NSwiaWF0IjoxNjczNDg2ODY1fQ.i18JQVe9rmtH5FMHnoEdXpwpbS6d4bqOR9yNSW1OKHY"); - ArrayList similarList = new ArrayList<>(); - similarList.add("1"); - similarList.add("2"); - similarList.add("3"); - - JSONObject requestMap = new JSONObject(); - requestMap.put("name", "ldj"); - requestMap.put("age", "15"); - requestMap.put("similarList",similarList); - - HttpEntity entity = new HttpEntity<>(requestMap, headers); - - ObjectMapper objectMapper = new ObjectMapper(); - try { - String similarJSON = objectMapper.writeValueAsString(requestMap); - log.info("similarJSON:{}",similarJSON); - } catch (Exception e) { - e.printStackTrace(); - } - - //使用JSONObject,不需要创建实体类VO来接受返参,缺点是别人不知道里面有哪些字段,即不知道有那些key - String body1 = restTemplate.postForObject(url, entity, String.class); - log.info("body1:{}",body1); - - ResponseEntity responseEntity = restTemplate.postForEntity(url, requestMap, JSONObject.class); - JSONObject body2 = responseEntity.getBody(); //响应体 - HttpStatus statusCode = responseEntity.getStatusCode(); //状态码 - HttpHeaders headers1 = responseEntity.getHeaders();//获取到头信息 - log.info("body2:{}",objectMapper.writeValueAsString(body2)); - log.info("statusCode:{}",objectMapper.writeValueAsString(statusCode)); - log.info("headers1:{}",objectMapper.writeValueAsString(headers1)); - log.info("responseEntity:{}",objectMapper.writeValueAsString(responseEntity)); - return rb.success(); - } -} diff --git a/yxt_supervise/yxt_adapter/src/main/resources/application-devv.yml b/yxt_supervise/yxt_adapter/src/main/resources/application-devv.yml deleted file mode 100644 index d80781fd..00000000 --- a/yxt_supervise/yxt_adapter/src/main/resources/application-devv.yml +++ /dev/null @@ -1,33 +0,0 @@ -spring: - datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://127.0.0.1:3306/supervise_supplychain?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&allowMultiQueries=true&rewriteBatchedStatements=true - #url: jdbc:mysql://127.0.0.1:3306/ss?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&allowMultiQueries=true&rewriteBatchedStatements=true - username: root - password: root - #password: 1LAiGz$t1*Iw - redis: - database: 3 # Redis数据库索引(默认为0) - host: 127.0.0.1 - jedis: - pool: - max-active: -1 #连接池最大连接数(使用负值表示没有限制) - max-idle: 8 #连接池中的最大空闲连接 - max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) - min-idle: 0 # 连接池中的最小空闲连接 - password: 123456 - port: 6379 - timeout: 0 # 连接超时时间(毫秒) - -image: - xlsxtmpl: D:/works/projects/yxt/yxtgit/supervise/yxt_supervise/supervise-portal/supervise-portal-biz/target/classes/xlsx-tmpl/ -# xlsxtmpl: D:/works/projects/javaee/yxtgit/supervise/yxt_supervise/supervise-portal/supervise-portal-biz/target/classes/xlsx-tmpl/ - upload: - path: D:/works/projects/yxt/yxtgit/supervise/yxt_supervise/supervise-portal/supervise-portal-biz/target/classes/static/upload/ -# path: D:/works/projects/javaee/yxtgit/supervise/yxt_supervise/supervise-portal/supervise-portal-biz/target/classes/static/upload/ - url: - prefix: http://127.0.0.1:7003/upload/ - login: - path: D:/images/pic-click - - diff --git a/yxt_supervise/yxt_adapter/src/main/resources/application.yml b/yxt_supervise/yxt_adapter/src/main/resources/application.yml deleted file mode 100644 index 058e6316..00000000 --- a/yxt_supervise/yxt_adapter/src/main/resources/application.yml +++ /dev/null @@ -1,54 +0,0 @@ -spring: - application: - name: supervise-adapter - profiles: - active: devv - messages: - # 国际化资源文件路径 - basename: i18n/messages - servlet: - #上传文件 - multipart: - max-file-size: 250MB - max-request-size: 200MB - devtools: - restart: - # 热部署开关 - enabled: true - mvc: - async: - request-timeout: 20000 - -server: - port: 8080 - max-http-header-size: 102400 - tomcat: - max-http-form-post-size: -1 -#mybatis -mybatis-plus: - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapper-locations: classpath*:**Mapper.xml - global-config: - refresh: true - db-config: - #定义生成ID的类型 - id-type: Auto - db-type: mysql - configuration: - map-underscore-to-camel-case: false - cache-enabled: true - call-setters-on-nulls: true - log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl -logging: - level: - com: - baomidou: - mybatisplus: DEBUG - #项目mapper目录 - dragonsoft: - demojar: - mapper: DEBUG - - - -