初始化
This commit is contained in:
177
external/pom.xml
vendored
Normal file
177
external/pom.xml
vendored
Normal file
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>externalInterface</artifactId>
|
||||
<groupId>com.yxt</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.yxt.external</groupId>
|
||||
<artifactId>external</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>easyexcel</artifactId>
|
||||
<version>3.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.yxt</groupId>
|
||||
<artifactId>yxt-common-base</artifactId>
|
||||
<version>0.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||||
</dependency>
|
||||
<!--mysql-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-annotation</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.24</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.yxt</groupId>
|
||||
<artifactId>yxt-common-base</artifactId>
|
||||
<version>0.0.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--mysql-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-annotation</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
||||
<dependency>
|
||||
<groupId>cn.dev33</groupId>
|
||||
<artifactId>sa-token-spring-boot-starter</artifactId>
|
||||
<version>1.37.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.8.23</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-core</artifactId>
|
||||
<version>5.8.23</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.zxing</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
<version>3.5.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger2</artifactId>
|
||||
<version>2.9.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger-ui</artifactId>
|
||||
<version>2.8.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>2.5.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>repackage</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<includes>
|
||||
<include>**/*Mapper.xml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.*</include>
|
||||
</includes>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
10
external/src/main/java/com/yxt/external/apiadmin/AdminHomeRest.java
vendored
Normal file
10
external/src/main/java/com/yxt/external/apiadmin/AdminHomeRest.java
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
package com.yxt.external.apiadmin;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController("com.yxt.wms.apiadmin.AdminHomeRest")
|
||||
@RequestMapping("/apiadmin/home")
|
||||
public class AdminHomeRest {
|
||||
|
||||
}
|
||||
48
external/src/main/java/com/yxt/external/apiadmin/aggregation/CrmCustomerTempRest.java
vendored
Normal file
48
external/src/main/java/com/yxt/external/apiadmin/aggregation/CrmCustomerTempRest.java
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
package com.yxt.external.apiadmin.aggregation;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;;
|
||||
import com.yxt.external.feign.crmcustomer.CrmCustomerFeign;
|
||||
import com.yxt.external.feign.crmcustomer.CrmCustomerTempQuery;
|
||||
import com.yxt.external.feign.crmcustomer.CrmCustomerTempVo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* Project: anrui-crm(客户管理) <br/>
|
||||
* File: CrmCustomerTempFeignFallback.java <br/>
|
||||
* Class: com.yxt.anrui.crm.biz.crmcustomertemp.CrmCustomerTempRest <br/>
|
||||
* Description: 潜在客户信息. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2022-01-12 11:21:17 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Api(tags = "潜在客户信息")
|
||||
@RestController
|
||||
@RequestMapping("v1/crmcustomertemp")
|
||||
public class CrmCustomerTempRest {
|
||||
|
||||
@Autowired
|
||||
private CrmCustomerFeign crmCustomerFeign;
|
||||
|
||||
|
||||
@ApiOperation("根据orgSid查询客户数量")
|
||||
@GetMapping("/getCustomerByOrgSid")
|
||||
public ResultBean getCustomerByOrgSid(@RequestParam("orgSid") String orgSid) {
|
||||
return crmCustomerFeign.getCustomerByOrgSid(orgSid);
|
||||
}
|
||||
@ApiOperation("根据条件分页查询数据的列表")
|
||||
@PostMapping("/listPage1")
|
||||
public ResultBean<PagerVo<CrmCustomerTempVo>> listPage1(@RequestBody PagerQuery<CrmCustomerTempQuery> pq) {
|
||||
return crmCustomerFeign.listPage1(pq);
|
||||
}
|
||||
}
|
||||
58
external/src/main/java/com/yxt/external/apiadmin/aggregation/PurchaseBillRest.java
vendored
Normal file
58
external/src/main/java/com/yxt/external/apiadmin/aggregation/PurchaseBillRest.java
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.apiadmin.aggregation;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.purchase.PurchaseBillDto;
|
||||
import com.yxt.external.feign.purchase.PurchaseBillFeign;
|
||||
import com.yxt.external.feign.purchase.PurchaseBillQuery;
|
||||
import com.yxt.external.feign.purchase.PurchaseBillVo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@Api(tags = "采购单")
|
||||
@RestController
|
||||
@RequestMapping("/apiadmin/purchasebill")
|
||||
public class PurchaseBillRest {
|
||||
|
||||
@Autowired
|
||||
private PurchaseBillFeign purchaseBillFeign;
|
||||
|
||||
@ApiOperation("新增采购单")
|
||||
@PostMapping("/savePurchase")
|
||||
public ResultBean<String> savePurchase(@RequestBody PurchaseBillDto dto){
|
||||
return purchaseBillFeign.savePurchase(dto);
|
||||
}
|
||||
@ApiOperation("根据条件分页查询数据的列表")
|
||||
@PostMapping("/listPage")
|
||||
public ResultBean<PagerVo<PurchaseBillVo>> listPage(@RequestBody PagerQuery<PurchaseBillQuery> pq){
|
||||
return purchaseBillFeign.listPage(pq);
|
||||
}
|
||||
}
|
||||
30
external/src/main/java/com/yxt/external/apiadmin/aggregation/PurchaseInventoryBillRest.java
vendored
Normal file
30
external/src/main/java/com/yxt/external/apiadmin/aggregation/PurchaseInventoryBillRest.java
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.yxt.external.apiadmin.aggregation;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.purchaseinventorybill.PurchaseInventoryBillDto3;
|
||||
import com.yxt.external.feign.warehouse.purchaseinventorybill.PurchaseInventoryBillFeign;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/8/1 17:46
|
||||
*/
|
||||
@Api(tags = "采购入库")
|
||||
@RestController
|
||||
@RequestMapping("/apiadmin/purchaseinventorybill")
|
||||
public class PurchaseInventoryBillRest {
|
||||
@Autowired
|
||||
PurchaseInventoryBillFeign purchaseInventoryBillFeign;
|
||||
|
||||
@ApiOperation("确认(对外)")
|
||||
@PostMapping("/confirmByBill")
|
||||
ResultBean<String> confirmByBill(@RequestBody PurchaseInventoryBillDto3 dto) {
|
||||
return purchaseInventoryBillFeign.confirmByBill(dto);
|
||||
}
|
||||
|
||||
}
|
||||
69
external/src/main/java/com/yxt/external/apiadmin/aggregation/SmsSalesBillRest.java
vendored
Normal file
69
external/src/main/java/com/yxt/external/apiadmin/aggregation/SmsSalesBillRest.java
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.apiadmin.aggregation;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.smssalesbill.SmsSalesBillDto;
|
||||
import com.yxt.external.feign.sales.smssalesbill.SmsSalesBillFeign;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* Project: ss-sales(ss-sales) <br/>
|
||||
* File: SmsSalesBillFeignFallback.java <br/>
|
||||
* Class: com.yxt.sales.apiadmin.biz.smssalesbill.SmsSalesBillRest <br/>
|
||||
* Description: 销售订单. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-07-04 15:18:10 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Api(tags = "销售订单")
|
||||
@RestController("com.yxt.sales.apiadmin.biz.smssalesbill.SmsSalesBillRest")
|
||||
@RequestMapping("v1/smssalesbill")
|
||||
public class SmsSalesBillRest {
|
||||
|
||||
@Autowired
|
||||
private SmsSalesBillFeign smsSalesBillFeign;
|
||||
|
||||
|
||||
@ApiOperation("新增销售单(对外)")
|
||||
@PostMapping("/saveSales")
|
||||
public ResultBean saveSales(@RequestBody SmsSalesBillDto dto){
|
||||
return smsSalesBillFeign.saveSales(dto);
|
||||
}
|
||||
}
|
||||
81
external/src/main/java/com/yxt/external/apiadmin/aggregation/SupplierInfoRest.java
vendored
Normal file
81
external/src/main/java/com/yxt/external/apiadmin/aggregation/SupplierInfoRest.java
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.apiadmin.aggregation;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoChoice;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoDetailsVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoQuery;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoVo;
|
||||
import com.yxt.external.feign.supplier.supplierinfo.SupplierInfoFeign;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: yxt-base(仓储基础信息供应商) <br/>
|
||||
* File: BaseSupplierInfoFeignFallback.java <br/>
|
||||
* Class: com.yxt.anrui.as.biz.basesupplierinfo.BaseSupplierInfoRest <br/>
|
||||
* Description: 供应商信息. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-13 16:51:56 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Api(tags = "供应商信息")
|
||||
@RestController
|
||||
@RequestMapping("/apiadmin/supplierinfo")
|
||||
public class SupplierInfoRest {
|
||||
|
||||
@Autowired
|
||||
private SupplierInfoFeign supplierInfoFeign;
|
||||
|
||||
|
||||
@ApiOperation("供应商数量")
|
||||
@GetMapping("/getSupplierCountByOrgSid")
|
||||
public ResultBean getSupplierCountByOrgSid(@RequestParam("orgSid") String orgSid){
|
||||
return supplierInfoFeign.getSupplierCountByOrgSid(orgSid);
|
||||
}
|
||||
@ApiOperation("根据SID获取一条记录")
|
||||
@GetMapping("/fetchDetailsBySid/{sid}")
|
||||
public ResultBean<SupplierInfoDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){
|
||||
return supplierInfoFeign.fetchDetailsBySid(sid);
|
||||
}
|
||||
@ApiOperation("根据条件分页查询数据的列表")
|
||||
@PostMapping("/listPage1")
|
||||
public ResultBean<PagerVo<SupplierInfoVo>> listPage1(@RequestBody PagerQuery<SupplierInfoQuery> pq){
|
||||
ResultBean rb = ResultBean.fireFail();
|
||||
return supplierInfoFeign.listPage1(pq);
|
||||
}
|
||||
}
|
||||
87
external/src/main/java/com/yxt/external/apiadmin/aggregation/WarehouseInfoRest.java
vendored
Normal file
87
external/src/main/java/com/yxt/external/apiadmin/aggregation/WarehouseInfoRest.java
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
package com.yxt.external.apiadmin.aggregation;
|
||||
|
||||
import com.yxt.common.base.utils.StringUtils;
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoDetailsVo;
|
||||
import com.yxt.external.biz.func.warehouseinfo.*;
|
||||
import com.yxt.external.feign.supplier.supplierinfo.SupplierInfoFeign;
|
||||
import com.yxt.external.feign.warehouse.warehouseinfo.WarehouseInfoFeign;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/2/27 16:14
|
||||
*/
|
||||
@Api(tags = "仓库信息")
|
||||
@RestController
|
||||
@RequestMapping("/apiadmin/warehouseinfo")
|
||||
public class WarehouseInfoRest {
|
||||
|
||||
@Autowired
|
||||
WarehouseInfoFeign warehouseInfoFeign;
|
||||
@Autowired
|
||||
SupplierInfoFeign supplierInfoFeign;
|
||||
|
||||
|
||||
@PostMapping("/list")
|
||||
public ResultBean<List<ProjectDetailsVo>> list(@RequestBody WarehouseInfoMapQuery query) {
|
||||
ResultBean rb =new ResultBean();
|
||||
List<ProjectDetailsVo> vos=warehouseInfoFeign.list(query).getData();
|
||||
for (ProjectDetailsVo vo : vos) {
|
||||
if(StringUtils.isNotBlank(vo.getSupplierName())){
|
||||
SupplierInfoDetailsVo v=supplierInfoFeign.fetchDetailsBySid(vo.getSupplierName()).getData();
|
||||
vo.setSupplierName(v.getSupplierName());
|
||||
vo.setSupplierType(v.getSupplierTypeName());
|
||||
}
|
||||
}
|
||||
return rb.success().setData(vos);
|
||||
}
|
||||
@GetMapping("/getWarehouseBySid/{sid}")
|
||||
public ResultBean<ProjectDetailsVo> getWarehouseBySid(@PathVariable("sid") String sid) {
|
||||
ResultBean rb =new ResultBean().fail();
|
||||
ProjectDetailsVo vo=warehouseInfoFeign.getWarehouseBySid(sid).getData();
|
||||
for (GoodsDetailsVo goodsDetail : vo.getGoodsDetails()) {
|
||||
String sidss =goodsDetail.getSupplierName();
|
||||
if(StringUtils.isNotBlank(sidss)){
|
||||
SupplierInfoDetailsVo v=supplierInfoFeign.fetchDetailsBySid(sidss).getData();
|
||||
goodsDetail.setSupplierName(v.getSupplierName());
|
||||
goodsDetail.setSupplierType(v.getSupplierTypeName());
|
||||
}
|
||||
}
|
||||
|
||||
return rb.success().setData(vo);
|
||||
}
|
||||
@PostMapping("/listPageN")
|
||||
public ResultBean<PagerVo<ProjectDetailsVo>> listPageN(@RequestBody PagerQuery<WarehouseInfoMapQuery> query) {
|
||||
ResultBean rb =new ResultBean();
|
||||
PagerVo<ProjectDetailsVo> vos=warehouseInfoFeign.listPageN(query).getData();
|
||||
for (ProjectDetailsVo vo : vos.getRecords()) {
|
||||
for (GoodsDetailsVo goodsDetail : vo.getGoodsDetails()) {
|
||||
String sidss =goodsDetail.getSupplierName();
|
||||
if(StringUtils.isNotBlank(sidss)){
|
||||
SupplierInfoDetailsVo v=supplierInfoFeign.fetchDetailsBySid(sidss).getData();
|
||||
goodsDetail.setSupplierName(v.getSupplierName());
|
||||
goodsDetail.setSupplierType(v.getSupplierTypeName());
|
||||
}
|
||||
}
|
||||
}
|
||||
return rb.success().setData(vos);
|
||||
}
|
||||
@ApiOperation("初始化")
|
||||
@GetMapping("/initialization/{sid}")
|
||||
public ResultBean<WarehouseInfoVo> initialization(@PathVariable("sid") String sid) {
|
||||
return warehouseInfoFeign.initialization(sid);
|
||||
}
|
||||
@ApiOperation("统计各省仓库")
|
||||
@GetMapping("/getWarehouseCountByOrgSid")
|
||||
public ResultBean<List<WarehouseInfoVoSheng>> getWarehouseCountByOrgSid(@RequestParam("orgSid") String orgSid) {
|
||||
return warehouseInfoFeign.getWarehouseCountByOrgSid(orgSid);
|
||||
}
|
||||
}
|
||||
10
external/src/main/java/com/yxt/external/apiwx/WxHomeRest.java
vendored
Normal file
10
external/src/main/java/com/yxt/external/apiwx/WxHomeRest.java
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
package com.yxt.external.apiwx;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController("com.yxt.wms.apiwx.WxHomeRest")
|
||||
@RequestMapping("/apiwx/home")
|
||||
public class WxHomeRest {
|
||||
|
||||
}
|
||||
106
external/src/main/java/com/yxt/external/biz/func/purchase/PurchaseBillDto.java
vendored
Normal file
106
external/src/main/java/com/yxt/external/biz/func/purchase/PurchaseBillDto.java
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.purchase;
|
||||
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import com.yxt.external.biz.func.purchaseappendix.PurchaseAppendixUrl;
|
||||
import com.yxt.external.biz.func.purchasebillamount.PurchaseBillAmountDto;
|
||||
import com.yxt.external.biz.func.purchasebilldetail.PurchaseBillDetailDto;
|
||||
import com.yxt.external.biz.func.purchasebillextend.PurchaseBillExtendDto;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "采购单 数据传输对象", description = "采购单 数据传输对象")
|
||||
public class PurchaseBillDto implements Dto {
|
||||
|
||||
private String sid;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks;
|
||||
@ApiModelProperty("制单人sid")
|
||||
private String createBySid;
|
||||
@ApiModelProperty("制单人姓名")
|
||||
private String createByName; // 制单人姓名
|
||||
@ApiModelProperty("来源单sid(工单sid)")
|
||||
private String sourceBillSid; // 来源单sid(工单sid)
|
||||
@ApiModelProperty("来源单编号/外部编号")
|
||||
private String sourceBillNo; // 来源单编号/外部编号
|
||||
@ApiModelProperty("单据编号")
|
||||
private String billNo; // 单据编号
|
||||
@ApiModelProperty("采购类型Key")
|
||||
private String purchaseTypeKey; // 采购类型Key
|
||||
@ApiModelProperty("采购类型Value(厂家采购、外采、其他)")
|
||||
private String purchaseTypeValue; // 采购类型Value(厂家采购、外采、其他)
|
||||
@ApiModelProperty("采购原因key")
|
||||
private String purchaseReasonKey; // 采购原因key
|
||||
@ApiModelProperty("采购原因(储备/客户订单/在修车辆)")
|
||||
private String purchaseReasonValue; // 采购原因(储备/客户订单/在修车辆)
|
||||
@ApiModelProperty("付款方式key")
|
||||
private String payTypeKey; // 付款方式key
|
||||
@ApiModelProperty("付款方式value(预付款/月结/单笔付款)")
|
||||
private String payTypeValue; // 付款方式value(预付款/月结/单笔付款)
|
||||
@ApiModelProperty("供应商sid")
|
||||
private String supplierSid; // 供应商sid
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName; // 供应商名称
|
||||
@ApiModelProperty("供应商联系电话")
|
||||
private String supplierPhone; // 供应商联系电话
|
||||
@ApiModelProperty("采购员sid(单选)")
|
||||
private String purchaserSid; // 采购员sid(单选)
|
||||
@ApiModelProperty("采购员姓名")
|
||||
private String purchaserName; // 采购员姓名
|
||||
@ApiModelProperty("预计到货日期")
|
||||
private String deliveryDate; // 预计到货日期
|
||||
@ApiModelProperty("仓库sid")
|
||||
private String wareHouseSid;
|
||||
@ApiModelProperty("仓库名称")
|
||||
private String wareHouseName;
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid;
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid;
|
||||
@ApiModelProperty("创建部门sid")
|
||||
private String deptSid;
|
||||
@ApiModelProperty("创建部门")
|
||||
private String deptName;
|
||||
@ApiModelProperty("组织编码")
|
||||
private String orgCode;
|
||||
|
||||
@ApiModelProperty("采购单费用/预付款")
|
||||
private PurchaseBillAmountDto purchaseBillAmount;
|
||||
@ApiModelProperty("采购单扩展")
|
||||
private PurchaseBillExtendDto purchaseBillExtend;
|
||||
@ApiModelProperty("采购单商品明细")
|
||||
private List<PurchaseBillDetailDto> purchaseBillDetailList;
|
||||
@ApiModelProperty("附件")
|
||||
private List<PurchaseAppendixUrl> purchaseAppendixList = new ArrayList<>();
|
||||
}
|
||||
53
external/src/main/java/com/yxt/external/biz/func/purchaseappendix/PurchaseAppendixUrl.java
vendored
Normal file
53
external/src/main/java/com/yxt/external/biz/func/purchaseappendix/PurchaseAppendixUrl.java
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.purchaseappendix;
|
||||
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* Project: caigou(采购) <br/>
|
||||
* File: PurchaseAppendixDto.java <br/>
|
||||
* Class: com.yxt.purchase.api.purchaseappendix.PurchaseAppendixDto <br/>
|
||||
* Description: 附件表 数据传输对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-07-03 14:44:55 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "附件表 数据传输对象", description = "附件表 数据传输对象")
|
||||
public class PurchaseAppendixUrl implements Dto {
|
||||
|
||||
@ApiModelProperty("附件路径")
|
||||
private String url;
|
||||
}
|
||||
101
external/src/main/java/com/yxt/external/biz/func/purchasebillamount/PurchaseBillAmountDto.java
vendored
Normal file
101
external/src/main/java/com/yxt/external/biz/func/purchasebillamount/PurchaseBillAmountDto.java
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.purchasebillamount;
|
||||
|
||||
|
||||
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.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Project: caigou(采购) <br/>
|
||||
* File: PurchaseBillAmountDto.java <br/>
|
||||
* Class: com.yxt.purchase.api.purchasebillamount.PurchaseBillAmountDto <br/>
|
||||
* Description: 采购单-费用/预付款 数据传输对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-07-03 14:44:55 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "采购单-费用/预付款 数据传输对象", description = "采购单-费用/预付款 数据传输对象")
|
||||
public class PurchaseBillAmountDto implements Dto {
|
||||
|
||||
private String sid; // sid
|
||||
|
||||
@ApiModelProperty("采购单sid")
|
||||
private String billSid; // 采购单sid
|
||||
@ApiModelProperty("误差调整金额")
|
||||
private BigDecimal errorAmount; // 误差调整金额
|
||||
@ApiModelProperty("优惠金额")
|
||||
private BigDecimal discountAmount; // 优惠金额
|
||||
@ApiModelProperty("应付金额")
|
||||
private BigDecimal payableAmount; // 应付金额
|
||||
@ApiModelProperty("采购运费")
|
||||
private BigDecimal freight; // 采购运费
|
||||
@ApiModelProperty("运费分摊方式Key")
|
||||
private String freightShareTypeKey; // 运费分摊方式Key
|
||||
@ApiModelProperty("运费分摊方式Value")
|
||||
private String freightShareTypeValue; // 运费分摊方式Value
|
||||
@ApiModelProperty("其它费用")
|
||||
private BigDecimal otherAmount; // 其它费用
|
||||
@ApiModelProperty("其他费用分摊方式Key")
|
||||
private String otherShareTypeKey; // 其他费用分摊方式Key
|
||||
@ApiModelProperty("其他费用分摊方式Value")
|
||||
private String otherShareTypeValue; // 其他费用分摊方式Value
|
||||
@ApiModelProperty("币种")
|
||||
private String currencyKey;
|
||||
@ApiModelProperty("币种")
|
||||
private String currencyValue;
|
||||
@ApiModelProperty("预付金额")
|
||||
private BigDecimal prepayment; // 预付金额
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@ApiModelProperty("付款期限")
|
||||
private Date paymentTerm; // 付款期限
|
||||
@ApiModelProperty("收款开户行")
|
||||
private String bankName; // 收款开户行
|
||||
@ApiModelProperty("收款账户")
|
||||
private String bankAccountName; // 收款账户
|
||||
@ApiModelProperty("收款银行账号")
|
||||
private String bankAccount; // 收款银行账号
|
||||
|
||||
@ApiModelProperty("付款账号(银行账号)")
|
||||
private String payBankAccount;
|
||||
@ApiModelProperty("结算账户key")
|
||||
private String settleAccountKey;
|
||||
@ApiModelProperty("结算账户value")
|
||||
private String settleAccountValue;
|
||||
@ApiModelProperty("本次付款")
|
||||
private BigDecimal thisPayAmount;
|
||||
}
|
||||
106
external/src/main/java/com/yxt/external/biz/func/purchasebilldetail/PurchaseBillDetailDto.java
vendored
Normal file
106
external/src/main/java/com/yxt/external/biz/func/purchasebilldetail/PurchaseBillDetailDto.java
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.purchasebilldetail;
|
||||
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "采购单据明细 数据传输对象", description = "采购单据明细 数据传输对象")
|
||||
public class PurchaseBillDetailDto implements Dto {
|
||||
|
||||
private String sid;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks;
|
||||
@ApiModelProperty("单据sid")
|
||||
private String billSid;
|
||||
@ApiModelProperty("商品基础信息Sid")
|
||||
private String goodsSpuSid;
|
||||
@ApiModelProperty("商品名称")
|
||||
private String goodsSpuName;
|
||||
@ApiModelProperty("商品Skusid")
|
||||
private String goodsSkuSid;
|
||||
@ApiModelProperty("商品Sku名称")
|
||||
private String goodsSkuTitle;
|
||||
@ApiModelProperty("商品编码")
|
||||
private String goodsSkuCode;
|
||||
@ApiModelProperty("商品条码")
|
||||
private String goodsSN;
|
||||
@ApiModelProperty("货号")
|
||||
private String goodsNum;
|
||||
@ApiModelProperty("规格型号")
|
||||
private String goodsSkuOwnSpec;
|
||||
@ApiModelProperty("商品图片")
|
||||
private String goodsImgUrl;
|
||||
@ApiModelProperty("计量单位")
|
||||
private String unit;
|
||||
@ApiModelProperty("单价")
|
||||
private BigDecimal cost;
|
||||
@ApiModelProperty("数量")
|
||||
private BigDecimal count;
|
||||
@ApiModelProperty("数量(pcs)")
|
||||
private BigDecimal pcsCount;
|
||||
@ApiModelProperty("吊牌价")
|
||||
private BigDecimal tagPrice;
|
||||
@ApiModelProperty("折扣率")
|
||||
private BigDecimal discountRate;
|
||||
@ApiModelProperty("折后单价")
|
||||
private BigDecimal discountPrice;
|
||||
@ApiModelProperty("分摊金额")
|
||||
private BigDecimal shareAmount;
|
||||
@ApiModelProperty("分配比例")
|
||||
private BigDecimal shareRate;
|
||||
@ApiModelProperty("采购金额")
|
||||
private BigDecimal amount;
|
||||
@ApiModelProperty("税率")
|
||||
private BigDecimal taxRate;
|
||||
@ApiModelProperty("未含税价")
|
||||
private BigDecimal unTaxPrice;
|
||||
@ApiModelProperty("未含税总价(未含税价*采购数量)")
|
||||
private BigDecimal unTaxTotalAmount;
|
||||
@ApiModelProperty("采购周期")
|
||||
private Integer cycle;
|
||||
@ApiModelProperty("预期到货日期")
|
||||
private String deliveryDate;
|
||||
@ApiModelProperty("总税额")
|
||||
private BigDecimal taxAmount;
|
||||
|
||||
/*
|
||||
* 商品扩展字段
|
||||
* */
|
||||
@ApiModelProperty("批次号")
|
||||
private String batchNumber;
|
||||
@ApiModelProperty("生产日期")
|
||||
private String madeDate;
|
||||
@ApiModelProperty("过期日期")
|
||||
private String expireDate;
|
||||
}
|
||||
59
external/src/main/java/com/yxt/external/biz/func/purchasebillextend/PurchaseBillExtendDto.java
vendored
Normal file
59
external/src/main/java/com/yxt/external/biz/func/purchasebillextend/PurchaseBillExtendDto.java
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.purchasebillextend;
|
||||
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "采购单扩展 数据传输对象", description = "采购单扩展 数据传输对象")
|
||||
public class PurchaseBillExtendDto implements Dto {
|
||||
|
||||
private String sid; // sid
|
||||
|
||||
@ApiModelProperty("采购单sid")
|
||||
private String billSid; // 采购单sid
|
||||
@ApiModelProperty("物流单号")
|
||||
private String logisticsNum; // 物流单号
|
||||
@ApiModelProperty("生产进度")
|
||||
private String productProgress; // 生产进度
|
||||
@ApiModelProperty("收货状态key")
|
||||
private String receiveStateKey; // 收货状态
|
||||
@ApiModelProperty("收货状态value")
|
||||
private String receiveStateValue;
|
||||
@ApiModelProperty("发货状态key")
|
||||
private String deliveryStateKey; // 发货状态
|
||||
@ApiModelProperty("发货状态value")
|
||||
private String deliveryStateValue;
|
||||
|
||||
@ApiModelProperty("已发货数量")
|
||||
private BigDecimal deliveryCount;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.yxt.external.biz.func.purchaseinventorybill;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yxt.external.biz.func.purchaseinventorybilldetail.PurchaseInventoryBillDetailDto2;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/8/27 14:35
|
||||
*/
|
||||
@Data
|
||||
public class PurchaseInventoryBillDto3 {
|
||||
|
||||
@ApiModelProperty("来源单sid")
|
||||
private String sourceBillSid;
|
||||
@ApiModelProperty("来源单号")
|
||||
private String sourceBillNo;
|
||||
|
||||
|
||||
@ApiModelProperty("操作员sid")
|
||||
private String operatorSid;
|
||||
@ApiModelProperty("操作员名称")
|
||||
private String operatorName;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||
@ApiModelProperty("操作时间")
|
||||
private String operatorTime;
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid;
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid;
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks;
|
||||
@ApiModelProperty("商品列表")
|
||||
private List<PurchaseInventoryBillDetailDto2> list = new ArrayList<>();
|
||||
private String userSid;
|
||||
private String userName;
|
||||
private String storageTime;
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
package com.yxt.external.biz.func.purchaseinventorybilldetail;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @description:
|
||||
* @author: dimengzhe
|
||||
* @date: 2024/4/15
|
||||
**/
|
||||
@Data
|
||||
public class PurchaseInventoryBillDetailDto2 {
|
||||
private String sid;
|
||||
@ApiModelProperty("来源单sid")
|
||||
private String sourceBillSid;
|
||||
@ApiModelProperty("图示")
|
||||
private String illustration;
|
||||
@ApiModelProperty("商品spusid")
|
||||
private String goodsSpuSid;
|
||||
@ApiModelProperty("商品SpuName")
|
||||
private String goodsSpuName;
|
||||
@ApiModelProperty("商品skusid")
|
||||
private String goodsSkuSid;
|
||||
@ApiModelProperty("商品名称")
|
||||
private String goodsSkuTitle;
|
||||
@ApiModelProperty("商品编码")
|
||||
private String goodsSkuCode;
|
||||
@ApiModelProperty("商品条码")
|
||||
private String goodsBarCode;
|
||||
@ApiModelProperty("规格值")
|
||||
private String specValue;
|
||||
private String ownSpec;
|
||||
@ApiModelProperty("箱条码")
|
||||
private String boxBarCode;
|
||||
@ApiModelProperty("箱规格")
|
||||
private String boxSpec;
|
||||
|
||||
@ApiModelProperty("单位")
|
||||
private String unit;
|
||||
private String goodsUnitName;
|
||||
@ApiModelProperty("成本单价")
|
||||
private BigDecimal price;
|
||||
private BigDecimal costPrice;
|
||||
@ApiModelProperty("总价")
|
||||
private BigDecimal totalPrice;
|
||||
@ApiModelProperty("数量")
|
||||
private BigDecimal count;
|
||||
@ApiModelProperty("辅助单位")
|
||||
private String auxiliaryUnits;
|
||||
@ApiModelProperty("序列号")
|
||||
private String serialNumber;
|
||||
@ApiModelProperty("生产批次号")
|
||||
private String batch;
|
||||
|
||||
@ApiModelProperty("入库库位sid")
|
||||
private String warehouseRackSid;
|
||||
@ApiModelProperty("入库库位名")
|
||||
private String warehouseRackName;
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid;
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid;
|
||||
private String remarks;
|
||||
private String warehouseName;
|
||||
private String warehouseSid;
|
||||
|
||||
}
|
||||
21
external/src/main/java/com/yxt/external/biz/func/smssalesbill/AccountVo.java
vendored
Normal file
21
external/src/main/java/com/yxt/external/biz/func/smssalesbill/AccountVo.java
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.yxt.external.biz.func.smssalesbill;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Fan
|
||||
* @description
|
||||
* @date 2024/7/24 17:19
|
||||
*/
|
||||
@Data
|
||||
public class AccountVo {
|
||||
|
||||
@ApiModelProperty("结算账户")
|
||||
private String bankAccount; // 结算账户
|
||||
@ApiModelProperty("结算账户")
|
||||
private String bankAccountKey; // 结算账户
|
||||
@ApiModelProperty("结算金额")
|
||||
private String amount; // 结算金额
|
||||
|
||||
}
|
||||
185
external/src/main/java/com/yxt/external/biz/func/smssalesbill/SmsSalesBillDto.java
vendored
Normal file
185
external/src/main/java/com/yxt/external/biz/func/smssalesbill/SmsSalesBillDto.java
vendored
Normal file
@@ -0,0 +1,185 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.smssalesbill;
|
||||
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import com.yxt.external.biz.func.smssalesbilldetail.SmsSalesBillDetailDetailsVo;
|
||||
import com.yxt.external.utils.FileQueryUrl;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: ss-sales(ss-sales) <br/>
|
||||
* File: SmsSalesBillDto.java <br/>
|
||||
* Class: com.yxt.sales.apiadmin.api.smssalesbill.SmsSalesBillDto <br/>
|
||||
* Description: 销售订单 数据传输对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-07-04 15:18:10 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "销售订单 数据传输对象", description = "销售订单 数据传输对象")
|
||||
public class SmsSalesBillDto implements Dto {
|
||||
|
||||
private String sid; // sid
|
||||
@ApiModelProperty("制单人sid")
|
||||
private String createBySid; // 制单人姓名
|
||||
@ApiModelProperty("制单人姓名")
|
||||
private String createByName; // 制单人姓名
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid; // 使用组织sid
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid; // 创建组织sid
|
||||
@ApiModelProperty("制单部门sid")
|
||||
private String deptSid; // 制单部门sid
|
||||
@ApiModelProperty("制单部门")
|
||||
private String deptName; // 制单部门
|
||||
@ApiModelProperty("制单日期")
|
||||
private String createTime; // 制单日期
|
||||
@ApiModelProperty("单据类型key(线下订单/预售订单等)")
|
||||
private String billTypeKey; // 单据类型key(线下订单/预售订单等)
|
||||
@ApiModelProperty("单据类型value")
|
||||
private String billTypeValue; // 单据类型value
|
||||
@ApiModelProperty("仓库sid")
|
||||
private String warehouseSid; // 仓库sid
|
||||
@ApiModelProperty("仓库名称")
|
||||
private String warehouseName; // 仓库名称
|
||||
@ApiModelProperty("配送方式Key")
|
||||
private String deliveryTypeKey; // 配送方式Key
|
||||
@ApiModelProperty("配送方式Value")
|
||||
private String deliveryTypeValue; // 配送方式Value
|
||||
@ApiModelProperty("物流公司")
|
||||
private String logisticsName; // 物流公司
|
||||
@ApiModelProperty("销售用户sid单选)(销售用户sid)")
|
||||
private String salesUserSid; // 销售用户sid单选)(销售用户sid)
|
||||
@ApiModelProperty("销售姓名")
|
||||
private String salesName; // 销售姓名
|
||||
@ApiModelProperty("是否货到付款(1是,0否)")
|
||||
private String isFirstPay; // 是否货到付款(1是,0否)
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks; // 备注
|
||||
@ApiModelProperty("开单价格Key(标准售价、吊牌价、批发价、上次购买价)")
|
||||
private String billPriceTypeKey; // 开单价格Key(标准售价、吊牌价、批发价、上次购买价)
|
||||
@ApiModelProperty("开单价格value")
|
||||
private String billPriceTypeValue; // 开单价格value
|
||||
//-------------- 客户信息 --------------------
|
||||
@ApiModelProperty("客户sid")
|
||||
private String customerSid; // 客户sid
|
||||
@ApiModelProperty("客户名称")
|
||||
private String customerName; // 客户名称
|
||||
@ApiModelProperty("收货人姓名")
|
||||
private String shipperName; // 收货人姓名
|
||||
@ApiModelProperty("收货人手机")
|
||||
private String shipperMob; // 收货人手机
|
||||
@ApiModelProperty("收货省sid")
|
||||
private String deliveryProvinceSid; // 收货省sid
|
||||
@ApiModelProperty("收货省")
|
||||
private String deliveryProvince; // 收货省
|
||||
@ApiModelProperty("收货市sid")
|
||||
private String deliveryCitySid; // 收货市sid
|
||||
@ApiModelProperty("收货市")
|
||||
private String deliveryCity; // 收货市
|
||||
@ApiModelProperty("收货县区sid")
|
||||
private String deliveryCountySid; // 收货县区sid
|
||||
@ApiModelProperty("收货县区")
|
||||
private String deliveryCounty; // 收货县区
|
||||
@ApiModelProperty("收货详细地址")
|
||||
private String deliveryAddress; // 收货详细地址
|
||||
@ApiModelProperty("邮编 ")
|
||||
private String postCode; // 邮编
|
||||
//---------------发票信息------------
|
||||
@ApiModelProperty("是否需要开发票(是1,否0)")
|
||||
private String isInvoicing; // 是否需要开发票(是1,否0)
|
||||
@ApiModelProperty("发票类型Key")
|
||||
private String invoiceTypeKey; // 发票类型Key
|
||||
@ApiModelProperty("发票类型")
|
||||
private String invoiceType; // 发票类型
|
||||
@ApiModelProperty("开票名称")
|
||||
private String invoiceTitle; // 开票名称
|
||||
@ApiModelProperty("税号")
|
||||
private String taxpayerNo; // 税号
|
||||
@ApiModelProperty("税率")
|
||||
private String taxRate; // 税率
|
||||
//商品信息
|
||||
@ApiModelProperty("商品列表")
|
||||
private List<SmsSalesBillDetailDetailsVo> goodsList; // 商品列表
|
||||
|
||||
//费用信息
|
||||
@ApiModelProperty("折扣率")
|
||||
private String discountRate; // 折扣率
|
||||
@ApiModelProperty("整体优惠券")
|
||||
private String coupon; // 整体优惠券
|
||||
@ApiModelProperty("整体优惠金额")
|
||||
private String discountAmount; // 整体优惠金额
|
||||
@ApiModelProperty("优惠后金额")
|
||||
private String amount; // 优惠后金额
|
||||
@ApiModelProperty("应收合计")
|
||||
private String dueAmount; // 应收合计
|
||||
@ApiModelProperty("运费")
|
||||
private String freight; // 运费
|
||||
@ApiModelProperty("本次收款")
|
||||
private String thisPay; // 本次收款
|
||||
@ApiModelProperty("本次欠款")
|
||||
private String thisDebt; // 本次欠款
|
||||
@ApiModelProperty("总欠款")
|
||||
private String totalDebt; // 总欠款
|
||||
@ApiModelProperty("预收款余额")
|
||||
private String advanceBalance; // 预收款余额
|
||||
//结算
|
||||
@ApiModelProperty("结算账户")
|
||||
private List<AccountVo> accounts;
|
||||
@ApiModelProperty("结算账户")
|
||||
private String bankAccount; // 结算账户
|
||||
@ApiModelProperty("结算账户")
|
||||
private String bankAccountKey; // 结算账户
|
||||
@ApiModelProperty("付款凭证")
|
||||
private List<FileQueryUrl> files = new ArrayList<>(); // 付款凭证
|
||||
|
||||
|
||||
//-------------补充-------------
|
||||
@ApiModelProperty("快递公司sid")
|
||||
private String logisticsNameSid; // 快递公司sid
|
||||
@ApiModelProperty("收货人sid")
|
||||
private String shipperSid; // 收货人sid
|
||||
@ApiModelProperty("固定电话")
|
||||
private String phone; // 固定电话
|
||||
@ApiModelProperty("店铺sid")
|
||||
private String shopSid; // 店铺sid
|
||||
@ApiModelProperty("店铺名称")
|
||||
private String shopName; // 店铺名称
|
||||
@ApiModelProperty("订单号")
|
||||
private String billNo; // 订单号
|
||||
|
||||
}
|
||||
114
external/src/main/java/com/yxt/external/biz/func/smssalesbilldetail/SmsSalesBillDetailDetailsVo.java
vendored
Normal file
114
external/src/main/java/com/yxt/external/biz/func/smssalesbilldetail/SmsSalesBillDetailDetailsVo.java
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.smssalesbilldetail;
|
||||
|
||||
|
||||
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: ss-sales(ss-sales) <br/>
|
||||
* File: SmsSalesBillDetailVo.java <br/>
|
||||
* Class: com.yxt.sales.apiadmin.api.smssalesbilldetail.SmsSalesBillDetailVo <br/>
|
||||
* Description: 销售订单-商品清单 视图数据对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-07-04 15:18:10 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "销售订单-商品清单 视图数据详情", description = "销售订单-商品清单 视图数据详情")
|
||||
public class SmsSalesBillDetailDetailsVo implements Vo {
|
||||
|
||||
|
||||
|
||||
@ApiModelProperty("商品基础信息Sid")
|
||||
private String goodSpuSid; // 商品基础信息Sid
|
||||
@ApiModelProperty("商品名称")
|
||||
private String goodsSpuName; // 商品名称
|
||||
@ApiModelProperty("商品Skusid")
|
||||
private String goodsSkuSid; // 商品Skusid
|
||||
@ApiModelProperty("商品Sku名称")
|
||||
private String goodsSkuTitle; // 商品Sku名称
|
||||
@ApiModelProperty("商品编码")
|
||||
private String goodsSkuCode; // 商品编码
|
||||
@ApiModelProperty("规格型号")
|
||||
private String goodsSkuOwnSpec; // 规格型号
|
||||
@ApiModelProperty("重量(kg)")
|
||||
private String weight; // 重量(kg)
|
||||
@ApiModelProperty("体积(立方米)")
|
||||
private String volume; // 体积(立方米)
|
||||
@ApiModelProperty("计量单位")
|
||||
private String unit; // 计量单位
|
||||
@ApiModelProperty("辅单位数量")
|
||||
private String auxiliaryUnit; // 辅单位数量
|
||||
@ApiModelProperty("销售单价")
|
||||
private String price; // 销售单价
|
||||
@ApiModelProperty("数量")
|
||||
private String count; // 数量
|
||||
@ApiModelProperty("折扣率")
|
||||
private String discountRtate; // 折扣率
|
||||
@ApiModelProperty("折后单价")
|
||||
private String discountPrice; // 折后单价
|
||||
@ApiModelProperty("应收款")
|
||||
private String dueAmount; // 应收款
|
||||
@ApiModelProperty("商品成本")
|
||||
private String cost; // 商品成本
|
||||
@ApiModelProperty("分摊优惠")
|
||||
private String discountAmount; // 分摊优惠
|
||||
@ApiModelProperty("惠后金额")
|
||||
private String amount; // 惠后金额
|
||||
@ApiModelProperty("库存数量")
|
||||
private String inventoryCount; // 库存数量
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks; // 备注
|
||||
|
||||
@ApiModelProperty("批次号")
|
||||
private String batchNumber; // 批次号
|
||||
@ApiModelProperty("税率")
|
||||
private String taxRate; // 库存数量
|
||||
@ApiModelProperty("税额")
|
||||
private String taxAmount; // 税额
|
||||
@ApiModelProperty("未含税价")
|
||||
private String unTaxPrice; // 未含税价
|
||||
@ApiModelProperty("总税额(未含税总额)")
|
||||
private String taxTotalAmount; // 总税额(未含税总额)
|
||||
@ApiModelProperty("图片")
|
||||
private String goodsImgUrl; // 图片
|
||||
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
private List<String> pic = new ArrayList<>();
|
||||
}
|
||||
112
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfo.java
vendored
Normal file
112
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfo.java
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
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-base(供应商管理) <br/>
|
||||
* File: BaseSupplierInfo.java <br/>
|
||||
* Class: com.yxt.base.api.basesupplierinfo.BaseSupplierInfo <br/>
|
||||
* Description: 供应商信息. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-18 13:33:13 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "供应商信息", description = "供应商信息")
|
||||
@TableName("base_supplier_info")
|
||||
public class SupplierInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("编码")
|
||||
private String supplierCode; // 编码
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName; // 供应商名称
|
||||
@ApiModelProperty("供应商名称拼音")
|
||||
private String supplierPY; // 供应商名称拼音
|
||||
@ApiModelProperty("供应商类型sid")
|
||||
private String supplierTypeSid; // 供应商类型sid
|
||||
@ApiModelProperty("供应商类型")
|
||||
private String supplierTypeName; // 供应商类型
|
||||
@ApiModelProperty("省sid")
|
||||
private String provinceSid; // 省sid
|
||||
@ApiModelProperty("province")
|
||||
private String province; //
|
||||
@ApiModelProperty("市sid")
|
||||
private String citySid; // 市sid
|
||||
@ApiModelProperty("city")
|
||||
private String city; //
|
||||
@ApiModelProperty("收货县区sid")
|
||||
private String countySid; // 收货县区sid
|
||||
@ApiModelProperty("county")
|
||||
private String county; //
|
||||
@ApiModelProperty("详细地址")
|
||||
private String address; // 详细地址
|
||||
@ApiModelProperty("手机")
|
||||
private String contactMobile; // 手机
|
||||
@ApiModelProperty("电话")
|
||||
private String contactTelePhone; // 电话
|
||||
@ApiModelProperty("联系人")
|
||||
private String contactName; // 联系人
|
||||
@ApiModelProperty("传真")
|
||||
private String fax; // 传真
|
||||
@ApiModelProperty("邮编")
|
||||
private String zipCode; // 邮编
|
||||
@ApiModelProperty("电子邮件")
|
||||
private String email; // 电子邮件
|
||||
@ApiModelProperty("网址")
|
||||
private String website; // 网址
|
||||
@ApiModelProperty("开票公司名称")
|
||||
private String billingCompanyName; // 开票公司名称
|
||||
@ApiModelProperty("税号")
|
||||
private String registNum; // 税号
|
||||
@ApiModelProperty("法人")
|
||||
private String legalName; // 法人
|
||||
@ApiModelProperty("采购员")
|
||||
private String purchaser; // 采购员
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sortNo; // 排序
|
||||
@ApiModelProperty("开票类型key")
|
||||
private String billingTypeKey; // 开票类型key
|
||||
@ApiModelProperty("开票类型value")
|
||||
private String billingTypeValue; // 开票类型value
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid; // 使用组织sid
|
||||
@ApiModelProperty("创建组织名称")
|
||||
private String createOrgName; // 创建组织名称
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid; // 创建组织sid
|
||||
private double taxRate;
|
||||
}
|
||||
54
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoChoice.java
vendored
Normal file
54
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoChoice.java
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
|
||||
import com.yxt.common.core.vo.Vo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* Project: yxt-base(供应商管理) <br/>
|
||||
* File: BaseSupplierInfoVo.java <br/>
|
||||
* Class: com.yxt.base.api.basesupplierinfo.BaseSupplierInfoVo <br/>
|
||||
* Description: 供应商信息 视图数据对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-18 13:33:13 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "供应商信息 视图数据对象", description = "供应商信息 视图数据对象")
|
||||
public class SupplierInfoChoice implements Vo {
|
||||
|
||||
private String sid;
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName;
|
||||
}
|
||||
118
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoDetailsVo.java
vendored
Normal file
118
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoDetailsVo.java
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
|
||||
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-base(供应商管理) <br/>
|
||||
* File: BaseSupplierInfoVo.java <br/>
|
||||
* Class: com.yxt.base.api.basesupplierinfo.BaseSupplierInfoVo <br/>
|
||||
* Description: 供应商信息 视图数据对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-18 13:33:13 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "供应商信息 视图数据详情", description = "供应商信息 视图数据详情")
|
||||
public class SupplierInfoDetailsVo implements Vo {
|
||||
|
||||
private String sid; // sid
|
||||
|
||||
@ApiModelProperty("编码")
|
||||
private String supplierCode; // 编码
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName; // 供应商名称
|
||||
@ApiModelProperty("供应商名称拼音")
|
||||
private String supplierPY; // 供应商名称拼音
|
||||
@ApiModelProperty("供应商类型sid")
|
||||
private String supplierTypeSid; // 供应商类型sid
|
||||
@ApiModelProperty("供应商类型")
|
||||
private String supplierTypeName; // 供应商类型
|
||||
@ApiModelProperty("省sid")
|
||||
private String provinceSid; // 省sid
|
||||
@ApiModelProperty("province")
|
||||
private String province; //
|
||||
@ApiModelProperty("市sid")
|
||||
private String citySid; // 市sid
|
||||
@ApiModelProperty("city")
|
||||
private String city; //
|
||||
@ApiModelProperty("收货县区sid")
|
||||
private String countySid; // 收货县区sid
|
||||
@ApiModelProperty("county")
|
||||
private String county; //
|
||||
@ApiModelProperty("详细地址")
|
||||
private String address; // 详细地址
|
||||
@ApiModelProperty("手机")
|
||||
private String contactMobile; // 手机
|
||||
@ApiModelProperty("电话")
|
||||
private String contactTelePhone; // 电话
|
||||
@ApiModelProperty("联系人")
|
||||
private String contactName; // 联系人
|
||||
@ApiModelProperty("传真")
|
||||
private String fax; // 传真
|
||||
@ApiModelProperty("邮编")
|
||||
private String zipCode; // 邮编
|
||||
@ApiModelProperty("电子邮件")
|
||||
private String email; // 电子邮件
|
||||
@ApiModelProperty("网址")
|
||||
private String website; // 网址
|
||||
@ApiModelProperty("开票公司名称")
|
||||
private String billingCompanyName; // 开票公司名称
|
||||
@ApiModelProperty("税号")
|
||||
private String registNum; // 税号
|
||||
@ApiModelProperty("法人")
|
||||
private String legalName; // 法人
|
||||
@ApiModelProperty("采购员")
|
||||
private String purchaser; // 采购员
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sortNo; // 排序
|
||||
@ApiModelProperty("开票类型key")
|
||||
private String billingTypeKey; // 开票类型key
|
||||
@ApiModelProperty("开票类型value")
|
||||
private String billingTypeValue; // 开票类型value
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid; // 使用组织sid
|
||||
@ApiModelProperty("创建组织名称")
|
||||
private String createOrgName; // 创建组织名称
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid; // 创建组织sid
|
||||
@ApiModelProperty("供应商开户行")
|
||||
// private List<SupplierBankDetailsVo> baseSupplierBankList;
|
||||
private double taxRate;
|
||||
private String remarks;
|
||||
}
|
||||
121
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoDto.java
vendored
Normal file
121
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoDto.java
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
//import com.yxt.oms.biz.func.supplierbank.SupplierBankDto;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: yxt-base(供应商管理) <br/>
|
||||
* File: BaseSupplierInfoDto.java <br/>
|
||||
* Class: com.yxt.base.api.basesupplierinfo.BaseSupplierInfoDto <br/>
|
||||
* Description: 供应商信息 数据传输对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-18 13:33:13 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "供应商信息 数据传输对象", description = "供应商信息 数据传输对象")
|
||||
public class SupplierInfoDto implements Dto {
|
||||
|
||||
private String sid; // sid
|
||||
|
||||
@ApiModelProperty("编码")
|
||||
private String supplierCode; // 编码
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName; // 供应商名称
|
||||
@ApiModelProperty("供应商名称拼音")
|
||||
private String supplierPY; // 供应商名称拼音
|
||||
@ApiModelProperty("供应商类型sid")
|
||||
private String supplierTypeSid; // 供应商类型sid
|
||||
@ApiModelProperty("供应商类型")
|
||||
private String supplierTypeName; // 供应商类型
|
||||
@ApiModelProperty("省sid")
|
||||
private String provinceSid; // 省sid
|
||||
@ApiModelProperty("province")
|
||||
private String province; //
|
||||
@ApiModelProperty("市sid")
|
||||
private String citySid; // 市sid
|
||||
@ApiModelProperty("city")
|
||||
private String city; //
|
||||
@ApiModelProperty("收货县区sid")
|
||||
private String countySid; // 收货县区sid
|
||||
@ApiModelProperty("county")
|
||||
private String county; //
|
||||
@ApiModelProperty("详细地址")
|
||||
private String address; // 详细地址
|
||||
@ApiModelProperty("手机")
|
||||
private String contactMobile; // 手机
|
||||
@ApiModelProperty("电话")
|
||||
private String contactTelePhone; // 电话
|
||||
@ApiModelProperty("联系人")
|
||||
private String contactName; // 联系人
|
||||
@ApiModelProperty("传真")
|
||||
private String fax; // 传真
|
||||
@ApiModelProperty("邮编")
|
||||
private String zipCode; // 邮编
|
||||
@ApiModelProperty("电子邮件")
|
||||
private String email; // 电子邮件
|
||||
@ApiModelProperty("网址")
|
||||
private String website; // 网址
|
||||
@ApiModelProperty("开票公司名称")
|
||||
private String billingCompanyName; // 开票公司名称
|
||||
@ApiModelProperty("税号")
|
||||
private String registNum; // 税号
|
||||
@ApiModelProperty("法人")
|
||||
private String legalName; // 法人
|
||||
@ApiModelProperty("采购员")
|
||||
private String purchaser; // 采购员
|
||||
@ApiModelProperty("排序")
|
||||
private Integer sortNo; // 排序
|
||||
@ApiModelProperty("开票类型key")
|
||||
private String billingTypeKey; // 开票类型key
|
||||
@ApiModelProperty("开票类型value")
|
||||
private String billingTypeValue; // 开票类型value
|
||||
@ApiModelProperty("使用组织sid")
|
||||
private String useOrgSid; // 使用组织sid
|
||||
@ApiModelProperty("创建组织名称")
|
||||
private String createOrgName; // 创建组织名称
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid; // 创建组织sid
|
||||
@ApiModelProperty("开户行信息")
|
||||
// private List<SupplierBankDto> baseSupplierBankList;
|
||||
private String userSid;
|
||||
private String orgPath;
|
||||
private double taxRate;
|
||||
private String remarks;
|
||||
private String orgSid;
|
||||
}
|
||||
67
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoMapper.java
vendored
Normal file
67
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoMapper.java
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: yxt-base(仓储基础信息供应商) <br/>
|
||||
* File: BaseSupplierInfoMapper.java <br/>
|
||||
* Class: com.yxt.anrui.as.biz.basesupplierinfo.BaseSupplierInfoMapper <br/>
|
||||
* Description: 供应商信息. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-13 16:51:56 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface SupplierInfoMapper extends BaseMapper<SupplierInfo> {
|
||||
|
||||
IPage<SupplierInfoVo> selectPageVo(IPage<SupplierInfo> page, @Param(Constants.WRAPPER) Wrapper<SupplierInfo> qw);
|
||||
|
||||
List<SupplierInfoVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<SupplierInfo> qw);
|
||||
|
||||
@Select("select * from base_supplier_info")
|
||||
List<SupplierInfoVo> selectListVo();
|
||||
|
||||
@Update("update base_supplier_info set isDelete = '1' where sid = #{sid}")
|
||||
int updateBySidIsDelete(String sid);
|
||||
|
||||
@Select("select * from base_supplier_info")
|
||||
List<SupplierInfoChoice> choiceSupplierInfo(String createOrgSid);
|
||||
}
|
||||
70
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoQuery.java
vendored
Normal file
70
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoQuery.java
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
|
||||
import com.yxt.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* Project: yxt-base(供应商管理) <br/>
|
||||
* File: BaseSupplierInfoQuery.java <br/>
|
||||
* Class: com.yxt.base.api.basesupplierinfo.BaseSupplierInfoQuery <br/>
|
||||
* Description: 供应商信息 查询条件. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-18 13:33:13 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "供应商信息 查询条件", description = "供应商信息 查询条件")
|
||||
public class SupplierInfoQuery implements Query {
|
||||
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName;
|
||||
@ApiModelProperty("供应商类型")
|
||||
private String supplierTypeName;
|
||||
@ApiModelProperty("电话")
|
||||
private String contactTelePhone;
|
||||
@ApiModelProperty("联系人")
|
||||
private String contactName;
|
||||
|
||||
@ApiModelProperty("其他查询条件")
|
||||
private String otherQuery;
|
||||
private String orgLevelKey;//权限等级
|
||||
@ApiModelProperty("菜单路由")
|
||||
private String menuUrl;
|
||||
@ApiModelProperty("组织全路径sid")
|
||||
private String orgPath;
|
||||
@ApiModelProperty("用户sid")
|
||||
private String userSid;
|
||||
private int index;
|
||||
}
|
||||
37
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoService.java
vendored
Normal file
37
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoService.java
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.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.Service;
|
||||
|
||||
import java.util.List;
|
||||
@Service
|
||||
public class SupplierInfoService {
|
||||
|
||||
}
|
||||
67
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoVo.java
vendored
Normal file
67
external/src/main/java/com/yxt/external/biz/func/supplierinfo/SupplierInfoVo.java
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.biz.func.supplierinfo;
|
||||
|
||||
|
||||
import com.yxt.common.core.vo.Vo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* Project: yxt-base(供应商管理) <br/>
|
||||
* File: BaseSupplierInfoVo.java <br/>
|
||||
* Class: com.yxt.base.api.basesupplierinfo.BaseSupplierInfoVo <br/>
|
||||
* Description: 供应商信息 视图数据对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2024-03-18 13:33:13 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "供应商信息 视图数据对象", description = "供应商信息 视图数据对象")
|
||||
public class SupplierInfoVo implements Vo {
|
||||
|
||||
private String sid; // sid
|
||||
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName;
|
||||
@ApiModelProperty("供应商类型")
|
||||
private String supplierTypeName;
|
||||
@ApiModelProperty("详细地址")
|
||||
private String address;
|
||||
@ApiModelProperty("电话")
|
||||
private String contactTelePhone;
|
||||
@ApiModelProperty("联系人")
|
||||
private String contactName;
|
||||
@ApiModelProperty("手机")
|
||||
private String contactMobile;
|
||||
private double taxRate;
|
||||
private String remarks;
|
||||
}
|
||||
14
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/GoodsDetailsVo.java
vendored
Normal file
14
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/GoodsDetailsVo.java
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.yxt.external.biz.func.warehouseinfo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/11/8 16:56
|
||||
*/
|
||||
@Data
|
||||
public class GoodsDetailsVo {
|
||||
private String goodsDetail;
|
||||
private String supplierName;
|
||||
private String supplierType;
|
||||
}
|
||||
31
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/ProjectDetailsVo.java
vendored
Normal file
31
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/ProjectDetailsVo.java
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.yxt.external.biz.func.warehouseinfo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/10/17 15:17
|
||||
*/
|
||||
@Data
|
||||
public class ProjectDetailsVo {
|
||||
private String sid;
|
||||
private String warehouseName;//仓库名称
|
||||
private String warehouseCode;//仓库编码
|
||||
private String contacts;//联系人
|
||||
private String mob;//手机
|
||||
private String telephone;//联系电话
|
||||
private String manager;//主管
|
||||
private String address;//地址
|
||||
private String lngAndLat;//经纬度
|
||||
private String longitude;//经度
|
||||
private String latitude;//纬度
|
||||
private String squareMeter;//平方米
|
||||
private String supplierName;
|
||||
private String supplierType;
|
||||
private String goodsDetail;
|
||||
private List<GoodsDetailsVo> goodsDetails=new ArrayList<>();
|
||||
private String remarks;
|
||||
}
|
||||
32
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfo.java
vendored
Normal file
32
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfo.java
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.yxt.external.biz.func.warehouseinfo;
|
||||
|
||||
import com.yxt.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/2/26 13:36
|
||||
*/
|
||||
@Data
|
||||
public class WarehouseInfo extends BaseEntity {
|
||||
|
||||
private String warehouseName;//仓库名称
|
||||
private String warehouseCode;//仓库编码
|
||||
private String contacts;//联系人
|
||||
private String mob;//手机
|
||||
private String telephone;//联系电话
|
||||
private String manager;//主管
|
||||
private String areaSid;//地区sid
|
||||
private String address;//地址
|
||||
private String belongingPlace;//归属地
|
||||
private String lngAndLat;//经纬度
|
||||
private String longitude;//经度
|
||||
private String latitude;//纬度
|
||||
private String warehouseTypeKey;//仓库类型Key
|
||||
private String warehouseTypeValue;//仓库类型value
|
||||
private Integer usageStatus;//使用状态,0停用 1正常
|
||||
private String squareMeter;//平方米
|
||||
private Integer sortNo;//排序
|
||||
private String useOrgSid;//创建组织sid
|
||||
private String createOrgSid;//创建组织sid
|
||||
}
|
||||
24
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoMapQuery.java
vendored
Normal file
24
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoMapQuery.java
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
package com.yxt.external.biz.func.warehouseinfo;
|
||||
|
||||
import com.yxt.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/8/29 11:52
|
||||
*/
|
||||
@Data
|
||||
public class WarehouseInfoMapQuery implements Query {
|
||||
private String name;//仓库名称
|
||||
@ApiModelProperty("组织sid")
|
||||
private String orgPath;
|
||||
private List<String> sids;
|
||||
private String warehouseName;
|
||||
private String address;
|
||||
private String warehouseCode;
|
||||
private String belongingPlace;
|
||||
private String endTime;
|
||||
}
|
||||
49
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVo.java
vendored
Normal file
49
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVo.java
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
package com.yxt.external.biz.func.warehouseinfo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.yxt.common.core.vo.Vo;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/2/26 13:37
|
||||
*/
|
||||
@Data
|
||||
public class WarehouseInfoVo implements Vo {
|
||||
private String id;
|
||||
private String sid;
|
||||
private String lockVersion;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date modifyTime;
|
||||
private String remarks;
|
||||
private Integer isEnable;
|
||||
private Integer state;
|
||||
private Integer isDelete;
|
||||
private String warehouseName;//仓库名称
|
||||
private String warehouseCode;//仓库编码
|
||||
private String contacts;//联系人
|
||||
private String mob;//手机
|
||||
private String telephone;//联系电话
|
||||
private String manager;//主管
|
||||
private String areaSid;//地区sid
|
||||
private String address;//地址
|
||||
private String belongingPlace;//归属地
|
||||
private String lngAndLat;//经纬度
|
||||
private String longitude;//经度
|
||||
private String latitude;//纬度
|
||||
private String warehouseTypeKey;//仓库类型Key
|
||||
private String warehouseTypeValue;//仓库类型value
|
||||
private Integer usageStatus;//使用状态,0停用 1正常
|
||||
private String squareMeter;//平方米
|
||||
private Integer sortNo;//排序
|
||||
private String useOrgSid;//创建组织sid
|
||||
private String createOrgSid;//创建组织sid
|
||||
private String userSid;
|
||||
private String orgPath;
|
||||
private String gsd;
|
||||
}
|
||||
16
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVoSheng.java
vendored
Normal file
16
external/src/main/java/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVoSheng.java
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
package com.yxt.external.biz.func.warehouseinfo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/9/12 14:08
|
||||
*/
|
||||
@Data
|
||||
public class WarehouseInfoVoSheng {
|
||||
private String belongingPlace;//归属地
|
||||
List<WarehouseInfoVo> list=new ArrayList<>();
|
||||
}
|
||||
4
external/src/main/java/com/yxt/external/biz/package-info.java
vendored
Normal file
4
external/src/main/java/com/yxt/external/biz/package-info.java
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 宇信通 仓库管理 项目后台逻辑和接口
|
||||
*/
|
||||
package com.yxt.external.biz;
|
||||
114
external/src/main/java/com/yxt/external/config/SaTokenConfigure.java
vendored
Normal file
114
external/src/main/java/com/yxt/external/config/SaTokenConfigure.java
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
package com.yxt.external.config;//package com.yxt.wms.config;
|
||||
//
|
||||
//import cn.dev33.satoken.interceptor.SaInterceptor;
|
||||
//import cn.dev33.satoken.stp.StpUtil;
|
||||
//import org.springframework.beans.factory.annotation.Value;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
//
|
||||
///**
|
||||
// * @author wangpengfei
|
||||
// * @date 2023/5/16 14:43
|
||||
// */
|
||||
//@Configuration
|
||||
//public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
// @Value("${image.url.prefix:http://127.0.0.1:8080/upload/}")
|
||||
// private String urlPrefix;
|
||||
// // 注册 Sa-Token 拦截器
|
||||
// @Override
|
||||
// public void addInterceptors(InterceptorRegistry registry) {
|
||||
// // 注册 Sa-Token 拦截器,校验规则为 StpUtil.checkLogin() 登录校验。
|
||||
//
|
||||
// registry.addInterceptor(new SaInterceptor(handler -> StpUtil.checkLogin()))
|
||||
// .addPathPatterns("/**")
|
||||
// .excludePathPatterns("/sysuser/doLogin")
|
||||
// .excludePathPatterns("/lpkgiftcard/gifCardByCustomerSid")
|
||||
// .excludePathPatterns("/empcardgift/gifCardByCustomerSid")
|
||||
// .excludePathPatterns("/empcard/getEmpCardByCustomerSid")
|
||||
// .excludePathPatterns("/lpkgiftcard/getGifCardBySid/**")
|
||||
// .excludePathPatterns("/empcardgift/getGifCardBySid/**")
|
||||
// .excludePathPatterns("/empcard/getEmpCardBySid/**")
|
||||
// .excludePathPatterns("/lpkgiftcard/isSaturAndSun/**")
|
||||
// .excludePathPatterns("/empcardgift/isSaturAndSun/**")
|
||||
// .excludePathPatterns("/empcard/isSaturAndSun/**")
|
||||
// .excludePathPatterns("/lpkgiftcard/getReservationBySid/**")
|
||||
// .excludePathPatterns("/lpksreservoorder/submission")
|
||||
// .excludePathPatterns("/lpksreservoorder/exportExcelByStore")
|
||||
// .excludePathPatterns("/empsreservoorder/createNewUserBagOrder")
|
||||
// .excludePathPatterns("/lpksreservoorders/submission")
|
||||
// .excludePathPatterns("/empsreservoorder/ordersList")
|
||||
// .excludePathPatterns("/empsreservoorder/submission")
|
||||
// .excludePathPatterns("/empsreservoorder/submissionEmp")
|
||||
// .excludePathPatterns("/empcardgift/generateCard")
|
||||
// .excludePathPatterns("/lpkgiftcard/bindCard")
|
||||
// .excludePathPatterns("/empcard/bindCard")
|
||||
// .excludePathPatterns("/lpksreservoorder/orderByCardSid/**")
|
||||
// .excludePathPatterns("/lpksreservoorder/orderListByUserSid/**")
|
||||
// .excludePathPatterns("/lpksreservoorder/orderDetails/**")
|
||||
// .excludePathPatterns("/newcomerrecorecord/recommendNewUsers")
|
||||
// .excludePathPatterns("/newcomerrecorecord/recommendedAssistance")
|
||||
// .excludePathPatterns("/newcomerrecorecord/recordList/**")
|
||||
// .excludePathPatterns("/transferrecords/transferRecordsList")
|
||||
// .excludePathPatterns("/empsreservoorder/createVegeOrder")
|
||||
// .excludePathPatterns("/empsreservoorder/OrderDetails/**")
|
||||
// .excludePathPatterns("/empsreservoorder/changePayState/**")
|
||||
// .excludePathPatterns("/lpkgoods/goodsDetails/**")
|
||||
// .excludePathPatterns("/lpkstore/getAllStoreByQuery")
|
||||
// .excludePathPatterns("/vegetablecellar/receiveTransferGoods")
|
||||
// .excludePathPatterns("/transferrecords/submission")
|
||||
// .excludePathPatterns("/lpkgiftcard/getCardByBank")
|
||||
// .excludePathPatterns("/empcard/getEmpCard")
|
||||
// .excludePathPatterns("/empcardgift/shareEmpCard/**")
|
||||
// .excludePathPatterns("/empcardgift/generateEmpCardGift")
|
||||
// .excludePathPatterns("/empcardgift/generateEmpCard")
|
||||
// .excludePathPatterns("/lpkcustomer/wxSilentLogin")
|
||||
// .excludePathPatterns("/lpkgiftcard/gifCardsByCustomerSid")
|
||||
// .excludePathPatterns("/lpkgoods/getAllGiftBag")
|
||||
// .excludePathPatterns("/appletgiftbag/getGiftBagBySid/**")
|
||||
// .excludePathPatterns("/appletgiftbag/appletGiftBagList")
|
||||
// .excludePathPatterns("/lpkgiftcard/cardShareDetail/**")
|
||||
// .excludePathPatterns("/lpkgiftcard/cardShareGoodsDetail/**")
|
||||
// .excludePathPatterns("/empcardgift/generateTopEmpCard/**")
|
||||
// .excludePathPatterns("/empsreservoorder/createOrder")
|
||||
// .excludePathPatterns("/appletgiftbag/recommendRecord/**")
|
||||
// //2024-01-17
|
||||
// .excludePathPatterns("/lpkgiftcard/getAllGoodsType/**")
|
||||
// .excludePathPatterns("/appletnotice/getNotice")
|
||||
// .excludePathPatterns("/empsreservoorder/getPreOrder")
|
||||
// .excludePathPatterns("/lpkgoods/getAllGoodsType/**")
|
||||
// .excludePathPatterns("/transferrecords/submission")
|
||||
// .excludePathPatterns("/vegetablecellar/receiveTransferGoods")
|
||||
// .excludePathPatterns("/customerstore/isSaturAndSun")
|
||||
// .excludePathPatterns("/lpkgiftcard/getGoodsByType/**")
|
||||
// .excludePathPatterns("/lpkgoods/getGoodsTypeAndBrand")
|
||||
// .excludePathPatterns("/lpkgoods/getGoodsByType")
|
||||
// .excludePathPatterns("/lpksreservoorders/orderListByUserSid")
|
||||
// .excludePathPatterns("/appletgiftbag/newUserQuota")
|
||||
// .excludePathPatterns("/shoppingcart/addShoppingCart")
|
||||
// .excludePathPatterns("/shoppingcart/getGoodsWeight")
|
||||
// .excludePathPatterns("/shoppingcart/shoppingCartList")
|
||||
// .excludePathPatterns("/shoppingcart/delShoppingCart/**")
|
||||
// .excludePathPatterns("/lpkgoods/vegeCellarTypeList")
|
||||
// .excludePathPatterns("/vegetablecellar/addGoods/**")
|
||||
// .excludePathPatterns("/lpkgoods/vegeCellarList")
|
||||
// .excludePathPatterns("/customerstore/getStoreBySid/**")
|
||||
// .excludePathPatterns("/lpkgiftcard/bindAllCard")
|
||||
// .excludePathPatterns("/lpkcustomer/customerInfo/**")
|
||||
// .excludePathPatterns("/vegetablecellar/saveGoods")
|
||||
// .excludePathPatterns("/transferrecords/getTransferByCode/**")
|
||||
// //2024-01-18
|
||||
// .excludePathPatterns("/lpkcustomer/getCustomerInfo/**")
|
||||
// .excludePathPatterns("/lpkcustomer/modifyUserNickName")
|
||||
// .excludePathPatterns("/lpkcustomer/modifyHeadImage")
|
||||
// .excludePathPatterns("/upload/**")
|
||||
// .excludePathPatterns("/lpkcustomer/getPhoneNumber")
|
||||
// .excludePathPatterns("/lpkcustomer/getRealInfo/**")
|
||||
// .excludePathPatterns("/lpkcustomer/saveRealInfo")
|
||||
// .excludePathPatterns("/pms/PmsBrand/getList")
|
||||
// .excludePathPatterns("/LpkCustomerBank/getBankList")
|
||||
// .excludePathPatterns("/lpkcustomer/updateCustomerBank")
|
||||
// .excludePathPatterns("//wxapi/**")
|
||||
// ;
|
||||
// }
|
||||
//}
|
||||
67
external/src/main/java/com/yxt/external/config/SaTokenGloableException.java
vendored
Normal file
67
external/src/main/java/com/yxt/external/config/SaTokenGloableException.java
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
package com.yxt.external.config;
|
||||
|
||||
import com.yxt.common.base.config.handler.GlobalExceptionHandler;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.validation.BindException;
|
||||
import org.springframework.validation.ObjectError;
|
||||
import org.springframework.web.bind.MethodArgumentNotValidException;
|
||||
import org.springframework.web.bind.annotation.ExceptionHandler;
|
||||
import org.springframework.web.bind.annotation.RestControllerAdvice;
|
||||
import org.springframework.web.servlet.NoHandlerFoundException;
|
||||
|
||||
/**
|
||||
* @author dimengzhe
|
||||
* @date 2020/9/12 3:23
|
||||
* @description 全局异常处理
|
||||
*/
|
||||
@RestControllerAdvice
|
||||
public class SaTokenGloableException extends GlobalExceptionHandler {
|
||||
|
||||
private static final Logger L = LoggerFactory.getLogger(GlobalExceptionHandler.class);
|
||||
|
||||
public SaTokenGloableException() {
|
||||
}
|
||||
@ExceptionHandler({Exception.class})
|
||||
public ResultBean handleException(Exception e) {
|
||||
if(null !=e.getMessage()){
|
||||
if(e.getMessage().contains("token 无效:")){
|
||||
L.error(e.getMessage(), e);
|
||||
return ResultBean.fireFail().setCode("5000").setMsg("系统异常::" + e.getMessage());
|
||||
}
|
||||
if(e.getMessage().contains("未能读取到有效 token")){
|
||||
// L.error(e.getMessage(), e);
|
||||
return ResultBean.fireFail().setMsg("系统异常::" + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
L.error(e.getMessage(), e);
|
||||
return ResultBean.fireFail().setMsg("系统异常::" + e.getMessage());
|
||||
}
|
||||
@ExceptionHandler({NoHandlerFoundException.class})
|
||||
public ResultBean handlerNoFoundException(Exception e) {
|
||||
L.error(e.getMessage(), e);
|
||||
return ResultBean.fireFail().setCode("404").setMsg("路径不存在,请检查路径是否正确");
|
||||
}
|
||||
|
||||
// @ExceptionHandler({Exception.class})
|
||||
// public ResultBean handleException(Exception e) {
|
||||
// L.error(e.getMessage(), e);
|
||||
// return ResultBean.fireFail().setMsg("系统异常::" + e.getMessage());
|
||||
// }
|
||||
|
||||
@ExceptionHandler({BindException.class})
|
||||
public ResultBean validatedBindException(BindException e) {
|
||||
L.error(e.getMessage(), e);
|
||||
String message = ((ObjectError)e.getAllErrors().get(0)).getDefaultMessage();
|
||||
return ResultBean.fireFail().setCode("405").setMsg(message);
|
||||
}
|
||||
|
||||
@ExceptionHandler({MethodArgumentNotValidException.class})
|
||||
public ResultBean validExceptionHandler(MethodArgumentNotValidException e) {
|
||||
L.error(e.getMessage(), e);
|
||||
String message = e.getBindingResult().getFieldError().getDefaultMessage();
|
||||
return ResultBean.fireFail().setCode("405").setMsg(message);
|
||||
}
|
||||
}
|
||||
42
external/src/main/java/com/yxt/external/config/Swagger2Configuration.java
vendored
Normal file
42
external/src/main/java/com/yxt/external/config/Swagger2Configuration.java
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
package com.yxt.external.config;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import springfox.documentation.builders.ApiInfoBuilder;
|
||||
import springfox.documentation.builders.PathSelectors;
|
||||
import springfox.documentation.builders.RequestHandlerSelectors;
|
||||
import springfox.documentation.service.ApiInfo;
|
||||
import springfox.documentation.spi.DocumentationType;
|
||||
import springfox.documentation.spring.web.plugins.Docket;
|
||||
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/7/1 15:48
|
||||
*/
|
||||
|
||||
@Configuration
|
||||
@EnableSwagger2
|
||||
public class Swagger2Configuration {
|
||||
@Bean
|
||||
public Docket createRestApi(){
|
||||
return new Docket(DocumentationType.SWAGGER_2)
|
||||
.apiInfo(apiInfo())
|
||||
.select()
|
||||
// .apis(RequestHandlerSelectors.withClassAnnotation(Api.class))
|
||||
.apis(RequestHandlerSelectors.basePackage("com.yxt.wms.apiadmin.aggregation"))
|
||||
.paths(PathSelectors.any())
|
||||
.build();
|
||||
}
|
||||
|
||||
//基本信息的配置,信息会在api文档上显示
|
||||
private ApiInfo apiInfo(){
|
||||
return new ApiInfoBuilder()
|
||||
.title("zg测试的接口文档")
|
||||
.description("xx相关接口的文档")
|
||||
.termsOfServiceUrl("http://localhost:8080/hello")
|
||||
.version("1.0")
|
||||
.build();
|
||||
}
|
||||
|
||||
}
|
||||
4
external/src/main/java/com/yxt/external/config/package-info.java
vendored
Normal file
4
external/src/main/java/com/yxt/external/config/package-info.java
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 宇信通监管项目-光伏(山海新能源)项目后台逻辑和接口-接口声明
|
||||
*/
|
||||
package com.yxt.external.config;
|
||||
24
external/src/main/java/com/yxt/external/externalApplication.java
vendored
Normal file
24
external/src/main/java/com/yxt/external/externalApplication.java
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
package com.yxt.external;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date ${DATE} ${TIME}
|
||||
*/
|
||||
@SpringBootApplication(scanBasePackages = {
|
||||
"com.yxt.common.base.config",
|
||||
"com.yxt.external"
|
||||
})
|
||||
@EnableDiscoveryClient
|
||||
@EnableScheduling
|
||||
@EnableFeignClients
|
||||
public class externalApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(externalApplication.class, args);
|
||||
}
|
||||
}
|
||||
24
external/src/main/java/com/yxt/external/feign/crmcustomer/CrmCustomerFeign.java
vendored
Normal file
24
external/src/main/java/com/yxt/external/feign/crmcustomer/CrmCustomerFeign.java
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
package com.yxt.external.feign.crmcustomer;
|
||||
|
||||
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.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@FeignClient(
|
||||
contextId = "ss-common-purchase-CrmCustomer",
|
||||
name = "ss-common-customer",
|
||||
path = "v1/crmcustomertemp")
|
||||
public interface CrmCustomerFeign {
|
||||
@ApiOperation("根据orgSid查询客户数量")
|
||||
@GetMapping("/getCustomerByOrgSid")
|
||||
public ResultBean getCustomerByOrgSid(@RequestParam("orgSid") String orgSid);
|
||||
@ApiOperation("根据条件分页查询数据的列表")
|
||||
@PostMapping("/listPage1")
|
||||
public ResultBean<PagerVo<CrmCustomerTempVo>> listPage1(@RequestBody PagerQuery<CrmCustomerTempQuery> pq);
|
||||
}
|
||||
76
external/src/main/java/com/yxt/external/feign/crmcustomer/CrmCustomerTempQuery.java
vendored
Normal file
76
external/src/main/java/com/yxt/external/feign/crmcustomer/CrmCustomerTempQuery.java
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
package com.yxt.external.feign.crmcustomer;
|
||||
|
||||
|
||||
import com.yxt.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: anrui-crm(客户管理) <br/>
|
||||
* File: CrmCustomerTempQuery.java <br/>
|
||||
* Class: com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempQuery <br/>
|
||||
* Description: 潜在客户信息 查询条件. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2022-01-12 11:21:16 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@ApiModel(value = "潜在客户信息 查询条件", description = "潜在客户信息 查询条件")
|
||||
@Data
|
||||
public class CrmCustomerTempQuery implements Query {
|
||||
|
||||
@ApiModelProperty(value = "组织全路径")
|
||||
private String orgSidPath;
|
||||
|
||||
@ApiModelProperty("客户类型key(自然人/法人)")
|
||||
private String customerTypeKey;
|
||||
|
||||
@ApiModelProperty("客户级别(意向客户/准客户/成交客户/集团内销/黑名单客户)")
|
||||
private String levelKey;
|
||||
|
||||
@ApiModelProperty("客户名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("联系电话")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("提醒开始日期")
|
||||
private String remindStartDay;
|
||||
|
||||
@ApiModelProperty("提醒结束日期")
|
||||
private String remindEndDay;
|
||||
|
||||
@ApiModelProperty("业务员sid")
|
||||
private String staffSid;
|
||||
|
||||
|
||||
|
||||
@ApiModelProperty("客户sid")
|
||||
private List<String> customerSidList;
|
||||
|
||||
@ApiModelProperty("创建开始日期")
|
||||
private String createStartDate;
|
||||
|
||||
@ApiModelProperty("创建结束日期")
|
||||
private String createEndDate;
|
||||
|
||||
@ApiModelProperty("销售专员")
|
||||
private String staffName;
|
||||
private String useOrgSid;
|
||||
|
||||
private String orgLevelKey;//权限等级
|
||||
@ApiModelProperty("菜单路由")
|
||||
private String menuUrl;
|
||||
@ApiModelProperty("组织全路径sid")
|
||||
private String orgPath;
|
||||
@ApiModelProperty("用户sid")
|
||||
private String userSid;
|
||||
private int index;
|
||||
private String customerName;
|
||||
}
|
||||
192
external/src/main/java/com/yxt/external/feign/crmcustomer/CrmCustomerTempVo.java
vendored
Normal file
192
external/src/main/java/com/yxt/external/feign/crmcustomer/CrmCustomerTempVo.java
vendored
Normal file
@@ -0,0 +1,192 @@
|
||||
package com.yxt.external.feign.crmcustomer;
|
||||
|
||||
|
||||
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: anrui-crm(客户管理) <br/>
|
||||
* File: CrmCustomerTempVo.java <br/>
|
||||
* Class: com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempVo <br/>
|
||||
* Description: 潜在客户信息 视图数据对象. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2022-01-12 11:21:16 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@ApiModel(value = "潜在客户信息 视图数据对象", description = "潜在客户信息 视图数据对象")
|
||||
@Data
|
||||
public class CrmCustomerTempVo implements Vo {
|
||||
|
||||
@ApiModelProperty("潜在客户sid")
|
||||
private String sid;
|
||||
|
||||
@ApiModelProperty("分公司名称")
|
||||
private String createOrgName;
|
||||
|
||||
@ApiModelProperty("业务员名称")
|
||||
private String staffName;
|
||||
|
||||
@ApiModelProperty("部门名称")
|
||||
private String deptName;
|
||||
|
||||
@ApiModelProperty("创建人sid")
|
||||
private String createBySid;
|
||||
|
||||
@ApiModelProperty("登记日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("客户编号(部门编码+客户类型(1位,0个人,1企业)+部门内部流水号(6位))")
|
||||
private String customerNo;
|
||||
|
||||
@ApiModelProperty("客户类型(自然人/法人)")
|
||||
private String customerType;
|
||||
|
||||
@ApiModelProperty("客户类型key")
|
||||
private String customerTypeKey;
|
||||
|
||||
@ApiModelProperty("客户分类(个人:司机/个体老板/其他。企业:企业型客户/一级经销商/二级经销商/终端物流客户)")
|
||||
private String customerClass;
|
||||
|
||||
@ApiModelProperty("客户分类key")
|
||||
private String customerClassKey;
|
||||
|
||||
@ApiModelProperty("客户来源(公司资源/自主开发/交接客户/转介绍客户/集团内销)")
|
||||
private String source;
|
||||
|
||||
@ApiModelProperty("客户来源key")
|
||||
private String sourceKey;
|
||||
|
||||
@ApiModelProperty("客户级别(意向客户/准客户/成交客户/集团内销/黑名单客户)")
|
||||
private String level;
|
||||
|
||||
@ApiModelProperty("客户级别key")
|
||||
private String levelKey;
|
||||
|
||||
@ApiModelProperty("客户名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("证件类型key")
|
||||
private String certificateTypeKey;
|
||||
|
||||
@ApiModelProperty("证件类型(个人为身份证/企业为营业执照)")
|
||||
private String certificateType;
|
||||
|
||||
@ApiModelProperty("证件号码(个人为身份证号/企业为统一社会信用代码)")
|
||||
private String IDNumber;
|
||||
|
||||
@ApiModelProperty("证件有效期")
|
||||
private String endDate;
|
||||
|
||||
@ApiModelProperty("行政区划代码(省)")
|
||||
private String address_province;
|
||||
|
||||
@ApiModelProperty("行政区划代码(市)")
|
||||
private String address_city;
|
||||
|
||||
@ApiModelProperty("行政区划代码(县)")
|
||||
private String address_county;
|
||||
|
||||
@ApiModelProperty("省")
|
||||
private String province;
|
||||
|
||||
@ApiModelProperty("市")
|
||||
private String city;
|
||||
|
||||
@ApiModelProperty("县")
|
||||
private String county;
|
||||
|
||||
@ApiModelProperty("客户地址")
|
||||
private String address;
|
||||
|
||||
@ApiModelProperty("邮编")
|
||||
private String zipCode;
|
||||
|
||||
@ApiModelProperty("电子邮箱")
|
||||
private String e_mail;
|
||||
|
||||
@ApiModelProperty("联系人")
|
||||
private String contacts;
|
||||
|
||||
@ApiModelProperty("联系电话")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("紧急联系电话")
|
||||
private String emergencyContact;
|
||||
|
||||
@ApiModelProperty("紧急联系电话")
|
||||
private String emergencyMobile;
|
||||
|
||||
@ApiModelProperty("微信号码")
|
||||
private String weixin;
|
||||
|
||||
@ApiModelProperty("业务人员sid")
|
||||
private String staffSid;
|
||||
|
||||
@ApiModelProperty("创建组织sid")
|
||||
private String createOrgSid;
|
||||
|
||||
@ApiModelProperty("性别")
|
||||
private String sex;
|
||||
|
||||
@ApiModelProperty("性别key")
|
||||
private String sexKey;
|
||||
|
||||
@ApiModelProperty("客户生日")
|
||||
private String birthday;
|
||||
|
||||
@ApiModelProperty("所在公司名称")
|
||||
private String companyName;
|
||||
|
||||
@ApiModelProperty("跟进状态key")
|
||||
private String follow_state_key;
|
||||
|
||||
@ApiModelProperty("跟进状态")
|
||||
private String follow_state;
|
||||
|
||||
@ApiModelProperty("是否开启提醒key(1开启,0不开启)")
|
||||
private String isOnRemindkey;
|
||||
|
||||
@ApiModelProperty("是否开启提醒(1开启,0不开启)")
|
||||
private String isOnRemind;
|
||||
|
||||
@ApiModelProperty("提醒日期")
|
||||
private String remind_day;
|
||||
|
||||
@ApiModelProperty("提醒备注")
|
||||
private String remind_remark;
|
||||
|
||||
@ApiModelProperty("客户头像")
|
||||
private String customerPhoto;
|
||||
|
||||
@ApiModelProperty("见面方式key")
|
||||
private String visitWayKey;
|
||||
|
||||
@ApiModelProperty("见面方式(到店/电话/拜访)")
|
||||
private String visitWay;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks;
|
||||
|
||||
@ApiModelProperty("意向车型数量")
|
||||
private String yxcounts;
|
||||
|
||||
@ApiModelProperty("跟进记录数量")
|
||||
private String gjcounts;
|
||||
|
||||
|
||||
|
||||
private String useOrgSid;
|
||||
private String customerOrgSid;
|
||||
private String customerOrgName;
|
||||
|
||||
}
|
||||
4
external/src/main/java/com/yxt/external/feign/package-info.java
vendored
Normal file
4
external/src/main/java/com/yxt/external/feign/package-info.java
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* 宇信通监管项目-光伏(山海新能源)项目后台逻辑和接口-接口声明
|
||||
*/
|
||||
package com.yxt.external.feign;
|
||||
23
external/src/main/java/com/yxt/external/feign/purchase/PurchaseBillFeign.java
vendored
Normal file
23
external/src/main/java/com/yxt/external/feign/purchase/PurchaseBillFeign.java
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.yxt.external.feign.purchase;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.purchase.PurchaseBillDto;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@FeignClient(
|
||||
contextId = "ss-common-purchase-PurchaseBill",
|
||||
name = "ss-common-purchase",
|
||||
path = "/apiadmin/purchasebill")
|
||||
public interface PurchaseBillFeign {
|
||||
@ApiOperation("新增采购单")
|
||||
@PostMapping("/savePurchase")
|
||||
public ResultBean<String> savePurchase(@RequestBody PurchaseBillDto dto);
|
||||
|
||||
@ApiOperation("根据条件分页查询数据的列表")
|
||||
@PostMapping("/listPage")
|
||||
public ResultBean<PagerVo<PurchaseBillVo>> listPage(@RequestBody PagerQuery<PurchaseBillQuery> pq);
|
||||
}
|
||||
71
external/src/main/java/com/yxt/external/feign/purchase/PurchaseBillQuery.java
vendored
Normal file
71
external/src/main/java/com/yxt/external/feign/purchase/PurchaseBillQuery.java
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.feign.purchase;
|
||||
|
||||
import com.yxt.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "采购单 查询条件", description = "采购单 查询条件")
|
||||
public class PurchaseBillQuery implements Query {
|
||||
|
||||
@ApiModelProperty("创建开始日期")
|
||||
private String createStartTime;
|
||||
@ApiModelProperty("创建结束日期")
|
||||
private String createEndTime;
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierSid;
|
||||
@ApiModelProperty("仓库名称")
|
||||
private String wareHouseSid;
|
||||
@ApiModelProperty("收货状态key")
|
||||
private String receiveStateKey;
|
||||
@ApiModelProperty("物流单号")
|
||||
private String logisticsNum;
|
||||
@ApiModelProperty("单据编号")
|
||||
private String billNo;
|
||||
@ApiModelProperty("采购员")
|
||||
private String purchaserName;
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks;
|
||||
@ApiModelProperty("发货状态key")
|
||||
private String deliveryStateKey;
|
||||
@ApiModelProperty("商品sid")
|
||||
private String goodsSid;
|
||||
|
||||
private String orgLevelKey;//权限等级
|
||||
@ApiModelProperty("菜单路由")
|
||||
private String menuUrl;
|
||||
@ApiModelProperty("组织全路径sid")
|
||||
private String orgPath;
|
||||
@ApiModelProperty("用户sid")
|
||||
private String userSid;
|
||||
private int index;
|
||||
|
||||
@ApiModelProperty("审核状态key")
|
||||
private String examineStateKey;
|
||||
}
|
||||
91
external/src/main/java/com/yxt/external/feign/purchase/PurchaseBillVo.java
vendored
Normal file
91
external/src/main/java/com/yxt/external/feign/purchase/PurchaseBillVo.java
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
/*********************************************************
|
||||
*********************************************************
|
||||
******************** *******************
|
||||
************* ************
|
||||
******* _oo0oo_ *******
|
||||
*** o8888888o ***
|
||||
* 88" . "88 *
|
||||
* (| -_- |) *
|
||||
* 0\ = /0 *
|
||||
* ___/`---'\___ *
|
||||
* .' \\| |// '. *
|
||||
* / \\||| : |||// \ *
|
||||
* / _||||| -:- |||||- \ *
|
||||
* | | \\\ - /// | | *
|
||||
* | \_| ''\---/'' |_/ | *
|
||||
* \ .-\__ '-' ___/-. / *
|
||||
* ___'. .' /--.--\ `. .'___ *
|
||||
* ."" '< `.___\_<|>_/___.' >' "". *
|
||||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | *
|
||||
* \ \ `_. \_ __\ /__ _/ .-` / / *
|
||||
* =====`-.____`.___ \_____/___.-`___.-'===== *
|
||||
* `=---=' *
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
|
||||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
|
||||
*********************************************************/
|
||||
package com.yxt.external.feign.purchase;
|
||||
|
||||
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.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "采购单 视图数据对象", description = "采购单 视图数据对象")
|
||||
public class PurchaseBillVo implements Vo {
|
||||
|
||||
private String sid; // sid
|
||||
|
||||
@ApiModelProperty("审核状态")
|
||||
private String state;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@ApiModelProperty("业务日期")
|
||||
private Date createTime;
|
||||
@ApiModelProperty("单据编号")
|
||||
private String billNo;
|
||||
@ApiModelProperty("供应商名称")
|
||||
private String supplierName;
|
||||
@ApiModelProperty("采购员姓名")
|
||||
private String purchaserName;
|
||||
@ApiModelProperty("仓库名称")
|
||||
private String wareHouseName;
|
||||
@ApiModelProperty("收货状态value")
|
||||
private String receiveStateValue;
|
||||
@ApiModelProperty("商品总额")
|
||||
private String amountTotal;
|
||||
@ApiModelProperty("采购运费")
|
||||
private BigDecimal freight;
|
||||
@ApiModelProperty("其它费用")
|
||||
private BigDecimal otherAmount;
|
||||
@ApiModelProperty("预付金额")
|
||||
private BigDecimal prepayment;
|
||||
@ApiModelProperty("总税额")
|
||||
private BigDecimal taxAmount;
|
||||
@ApiModelProperty("物流单号")
|
||||
private String logisticsNum;
|
||||
@ApiModelProperty("生产进度")
|
||||
private String productProgress;
|
||||
@ApiModelProperty("未含税总价(未含税价*采购数量)")
|
||||
private BigDecimal unTaxTotalAmount;
|
||||
@ApiModelProperty("总采购数量")
|
||||
private String countTotal;
|
||||
@ApiModelProperty("已入库数量")
|
||||
private BigDecimal enterWareCount;
|
||||
@ApiModelProperty("已入库金额")
|
||||
private BigDecimal enterWareAmount;
|
||||
@ApiModelProperty("已发货数量")
|
||||
private BigDecimal deliveryCount;
|
||||
@ApiModelProperty("发货状态value")
|
||||
private String deliveryStateValue;
|
||||
@ApiModelProperty("备注")
|
||||
private String remarks;
|
||||
@ApiModelProperty("制单人姓名")
|
||||
private String createByName;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||
@ApiModelProperty("最后修改时间")
|
||||
private Date modifyTime;
|
||||
}
|
||||
27
external/src/main/java/com/yxt/external/feign/sales/smssalesbill/SmsSalesBillFeign.java
vendored
Normal file
27
external/src/main/java/com/yxt/external/feign/sales/smssalesbill/SmsSalesBillFeign.java
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.yxt.external.feign.sales.smssalesbill;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.smssalesbill.SmsSalesBillDto;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @description:
|
||||
* @author: fzz
|
||||
* @date: 2024/7/4
|
||||
**/
|
||||
@FeignClient(
|
||||
contextId = "ss-common-sales-SmsSalesBill",
|
||||
name = "ss-common-sales",
|
||||
path = "/v1/smssalesbill")
|
||||
public interface SmsSalesBillFeign {
|
||||
|
||||
@ApiOperation("新增销售单(对外)")
|
||||
@PostMapping("/saveSales")
|
||||
public ResultBean saveSales(@RequestBody SmsSalesBillDto dto);
|
||||
}
|
||||
43
external/src/main/java/com/yxt/external/feign/supplier/supplierinfo/SupplierInfoFeign.java
vendored
Normal file
43
external/src/main/java/com/yxt/external/feign/supplier/supplierinfo/SupplierInfoFeign.java
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
package com.yxt.external.feign.supplier.supplierinfo;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoChoice;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoDetailsVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoQuery;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoVo;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: anrui_portal(门户建设) <br/>
|
||||
* File: SysRoleFeign.java <br/>
|
||||
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeign <br/>
|
||||
* Description: 角色. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2021-08-03 00:24:29 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@FeignClient(
|
||||
contextId = "ss-common-supplier-SupplierInfo",
|
||||
name = "ss-common-supplier",
|
||||
path = "/apiadmin/supplierinfo")
|
||||
public interface SupplierInfoFeign {
|
||||
@ApiOperation("供应商数量")
|
||||
@GetMapping("/getSupplierCountByOrgSid")
|
||||
public ResultBean getSupplierCountByOrgSid(@RequestParam("orgSid") String orgSid);
|
||||
@ApiOperation("根据SID获取一条记录")
|
||||
@GetMapping("/fetchDetailsBySid/{sid}")
|
||||
public ResultBean<SupplierInfoDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid);
|
||||
@ApiOperation("根据条件分页查询数据的列表")
|
||||
@PostMapping("/listPage1")
|
||||
public ResultBean<PagerVo<SupplierInfoVo>> listPage1(@RequestBody PagerQuery<SupplierInfoQuery> pq);
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.yxt.external.feign.supplier.supplierinfo;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoChoice;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoDetailsVo;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoQuery;
|
||||
import com.yxt.external.biz.func.supplierinfo.SupplierInfoVo;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Project: anrui_portal(门户建设) <br/>
|
||||
* File: SysRoleFeignFallback.java <br/>
|
||||
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeignFallback <br/>
|
||||
* Description: 角色. <br/>
|
||||
* Copyright: Copyright (c) 2011 <br/>
|
||||
* Company: https://gitee.com/liuzp315 <br/>
|
||||
* Makedate: 2021-08-03 00:24:29 <br/>
|
||||
*
|
||||
* @author liupopo
|
||||
* @version 1.0
|
||||
* @since 1.0
|
||||
*/
|
||||
@Component
|
||||
public class SupplierInfoFeignFallback implements SupplierInfoFeign {
|
||||
|
||||
|
||||
@Override
|
||||
public ResultBean<List<SupplierInfoChoice>> getSupplierCountByOrgSid(String useOrgSid) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean<SupplierInfoDetailsVo> fetchDetailsBySid(String sid) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultBean<PagerVo<SupplierInfoVo>> listPage1(PagerQuery<SupplierInfoQuery> pq) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.yxt.external.feign.warehouse.purchaseinventorybill;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.purchaseinventorybill.PurchaseInventoryBillDto3;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@Api(tags = "预期到货通知单")
|
||||
@FeignClient(
|
||||
contextId = "ss-common-warehouse-PurchaseInventoryBill",
|
||||
name = "ss-common-warehouse",
|
||||
path = "/apiadmin/purchaseinventorybill")
|
||||
public interface PurchaseInventoryBillFeign {
|
||||
|
||||
@ApiOperation("确认(对外)")
|
||||
@PostMapping("/confirmByBill")
|
||||
ResultBean<String> confirmByBill(@RequestBody PurchaseInventoryBillDto3 dto);
|
||||
|
||||
}
|
||||
33
external/src/main/java/com/yxt/external/feign/warehouse/warehouseinfo/WarehouseInfoFeign.java
vendored
Normal file
33
external/src/main/java/com/yxt/external/feign/warehouse/warehouseinfo/WarehouseInfoFeign.java
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
package com.yxt.external.feign.warehouse.warehouseinfo;
|
||||
|
||||
import com.yxt.common.core.query.PagerQuery;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.common.core.vo.PagerVo;
|
||||
import com.yxt.external.biz.func.warehouseinfo.*;
|
||||
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;
|
||||
|
||||
@Api(tags = "仓库信息")
|
||||
@FeignClient(
|
||||
contextId = "ss-common-warehouse-WarehouseInfo",
|
||||
name = "ss-common-warehouse",
|
||||
path = "/apiadmin/warehouseinfo")
|
||||
public interface WarehouseInfoFeign {
|
||||
|
||||
@PostMapping("/list")
|
||||
public ResultBean<List<ProjectDetailsVo>> list(@RequestBody WarehouseInfoMapQuery query);
|
||||
@GetMapping("/getWarehouseBySid/{sid}")
|
||||
public ResultBean<ProjectDetailsVo> getWarehouseBySid(@PathVariable("sid") String sid);
|
||||
@ApiOperation("初始化")
|
||||
@GetMapping("/initialization/{sid}")
|
||||
public ResultBean<WarehouseInfoVo> initialization(@PathVariable("sid") String sid);
|
||||
@ApiOperation("统计各省仓库")
|
||||
@GetMapping("/getWarehouseCountByOrgSid")
|
||||
public ResultBean<List<WarehouseInfoVoSheng>> getWarehouseCountByOrgSid(@RequestParam("orgSid") String orgSid);
|
||||
@PostMapping("/listPageN")
|
||||
public ResultBean<PagerVo<ProjectDetailsVo>> listPageN(@RequestBody PagerQuery<WarehouseInfoMapQuery> query);
|
||||
}
|
||||
93
external/src/main/java/com/yxt/external/utils/DoubleUtils.java
vendored
Normal file
93
external/src/main/java/com/yxt/external/utils/DoubleUtils.java
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
package com.yxt.external.utils;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/1/24 8:53
|
||||
*/
|
||||
public class DoubleUtils {
|
||||
|
||||
/**
|
||||
* 对double数据进行取精度.
|
||||
* @param value double数据.
|
||||
* @param scale 精度位数(保留的小数位数).
|
||||
* @param roundingMode 精度取值方式.
|
||||
* @return 精度计算后的数据.
|
||||
*/
|
||||
public static double round(double value, int scale,
|
||||
int roundingMode) {
|
||||
BigDecimal bd = BigDecimal.valueOf(value);
|
||||
bd = bd.setScale(scale, roundingMode);
|
||||
double d = bd.doubleValue();
|
||||
bd = null;
|
||||
return d;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* double 相加
|
||||
* @param d1
|
||||
* @param d2
|
||||
* @return
|
||||
*/
|
||||
public static double sum(double d1,double d2){
|
||||
BigDecimal bd1 = BigDecimal.valueOf(d1);
|
||||
BigDecimal bd2 = BigDecimal.valueOf(d2);
|
||||
return bd1.add(bd2).doubleValue();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* double 相减
|
||||
* @param d1
|
||||
* @param d2
|
||||
* @return
|
||||
*/
|
||||
public static double sub(double d1,double d2){
|
||||
BigDecimal bd1 = BigDecimal.valueOf(d1);
|
||||
BigDecimal bd2 = BigDecimal.valueOf(d2);
|
||||
return bd1.subtract(bd2).doubleValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* double 乘法
|
||||
* @param d1
|
||||
* @param d2
|
||||
* @return
|
||||
*/
|
||||
public static double mul(double d1, double d2){
|
||||
BigDecimal bd1 = BigDecimal.valueOf(d1);
|
||||
BigDecimal bd2 = BigDecimal.valueOf(d2);
|
||||
return bd1.multiply(bd2).doubleValue();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* double 除法
|
||||
* @param d1
|
||||
* @param d2
|
||||
* @param scale 四舍五入 小数点位数
|
||||
* @return
|
||||
*/
|
||||
public static double div(double d1,double d2,int scale){
|
||||
BigDecimal bd1 = BigDecimal.valueOf(d1);
|
||||
BigDecimal bd2 = BigDecimal.valueOf(d2);
|
||||
return bd1.divide
|
||||
(bd2,scale,BigDecimal.ROUND_HALF_UP).doubleValue();
|
||||
}
|
||||
/**
|
||||
* 去除多余.0
|
||||
* @param num
|
||||
* @return
|
||||
*/
|
||||
public static String removeZeros(String num) {
|
||||
if (num.indexOf(".") > 0) {
|
||||
// 去掉多余的0
|
||||
num = num.replaceAll("0+?$", "");
|
||||
// 如果最后一位是. 则去掉
|
||||
num = num.replaceAll("[.]$", "");
|
||||
}
|
||||
return num;
|
||||
}
|
||||
}
|
||||
171
external/src/main/java/com/yxt/external/utils/ExcelUtil.java
vendored
Normal file
171
external/src/main/java/com/yxt/external/utils/ExcelUtil.java
vendored
Normal file
@@ -0,0 +1,171 @@
|
||||
package com.yxt.external.utils;
|
||||
|
||||
|
||||
//import org.apache.log4j.Logger;
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
||||
import org.apache.poi.ss.usermodel.Cell;
|
||||
import org.apache.poi.ss.usermodel.Row;
|
||||
import org.apache.poi.ss.usermodel.Sheet;
|
||||
import org.apache.poi.ss.usermodel.Workbook;
|
||||
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static org.apache.poi.ss.usermodel.CellType.NUMERIC;
|
||||
import static org.apache.poi.ss.usermodel.CellType.STRING;
|
||||
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2024/4/23 13:53
|
||||
*/
|
||||
public class ExcelUtil {
|
||||
// private static Logger logger = Logger.getLogger(ExcelUtil.class);
|
||||
private final static String xls = "xls";
|
||||
private final static String xlsx = "xlsx";
|
||||
|
||||
/**
|
||||
* 读入excel文件,解析后返回
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
*/
|
||||
public static List<String[]> readExcel(MultipartFile file) throws IOException {
|
||||
//检查文件
|
||||
checkFile(file);
|
||||
//获得Workbook工作薄对象
|
||||
Workbook workbook = getWorkBook(file);
|
||||
//创建返回对象,把每行中的值作为一个数组,所有行作为一个集合返回
|
||||
List<String[]> list = new ArrayList<String[]>();
|
||||
if (workbook != null) {
|
||||
for (int sheetNum = 0; sheetNum < workbook.getNumberOfSheets(); sheetNum++) {
|
||||
//获得当前sheet工作表
|
||||
Sheet sheet = workbook.getSheetAt(sheetNum);
|
||||
if (sheet == null) {
|
||||
continue;
|
||||
}
|
||||
//获得当前sheet的开始行
|
||||
int firstRowNum = sheet.getFirstRowNum();
|
||||
//获得当前sheet的结束行
|
||||
int lastRowNum = sheet.getLastRowNum();
|
||||
int arrLength = sheet.getRow(firstRowNum).getPhysicalNumberOfCells();
|
||||
int rowNumb=firstRowNum + 1;
|
||||
//循环除了第一行的所有行
|
||||
for (int rowNum = rowNumb; rowNum <= lastRowNum; rowNum++) {
|
||||
//获得当前行
|
||||
Row row = sheet.getRow(rowNum);
|
||||
if (row == null) {
|
||||
continue;
|
||||
}
|
||||
//获得当前行的开始列
|
||||
int firstCellNum = row.getFirstCellNum();
|
||||
//获得当前行的列数
|
||||
int lastCellNum = row.getPhysicalNumberOfCells();
|
||||
String[] cells = new String[arrLength];
|
||||
//循环当前行
|
||||
for(int i =0 ;i<arrLength;i++){ Cell cell = row.getCell(i);cells[i] = getCellValue(cell); }
|
||||
list.add(cells);
|
||||
}
|
||||
}
|
||||
workbook.close();
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查文件
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
*/
|
||||
public static void checkFile(MultipartFile file) throws IOException {
|
||||
ResultBean rb=new ResultBean().fail();
|
||||
//判断文件是否存在
|
||||
if (null == file) {
|
||||
throw new FileNotFoundException("文件不存在!");
|
||||
}
|
||||
//获得文件名
|
||||
String fileName = file.getOriginalFilename();
|
||||
//判断文件是否是excel文件
|
||||
if (!fileName.endsWith(xls) && !fileName.endsWith(xlsx)) {
|
||||
// logger.error(fileName + "不是excel文件");
|
||||
throw new IOException(fileName + "不是excel文件");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回工作簿
|
||||
*
|
||||
* @param file
|
||||
* @return
|
||||
*/
|
||||
public static Workbook getWorkBook(MultipartFile file) {
|
||||
//获得文件名
|
||||
String fileName = file.getOriginalFilename();
|
||||
//创建Workbook工作薄对象,表示整个excel
|
||||
Workbook workbook = null;
|
||||
try {
|
||||
//获取excel文件的io流
|
||||
InputStream is = file.getInputStream();
|
||||
//根据文件后缀名不同(xls和xlsx)获得不同的Workbook实现类对象
|
||||
if (fileName.endsWith(xls)) {
|
||||
//2003
|
||||
workbook = new HSSFWorkbook(is);
|
||||
} else if (fileName.endsWith(xlsx)) {
|
||||
//2007
|
||||
workbook = new XSSFWorkbook(is);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
// logger.info(e.getMessage());
|
||||
}
|
||||
return workbook;
|
||||
}
|
||||
|
||||
/**
|
||||
* 处理单元格样式 获取数据
|
||||
*
|
||||
* @param cell
|
||||
* @return
|
||||
*/
|
||||
public static String getCellValue(Cell cell) {
|
||||
String cellValue = "";
|
||||
if (cell == null) {
|
||||
return cellValue;
|
||||
}
|
||||
//把数字当成String来读,避免出现1读成1.0的情况
|
||||
if (cell.getCellType() == NUMERIC) {
|
||||
cell.setCellType(STRING);
|
||||
}
|
||||
//判断数据的类型
|
||||
switch (cell.getCellType()) {
|
||||
case NUMERIC: //数字
|
||||
cellValue = String.valueOf(cell.getNumericCellValue());
|
||||
break;
|
||||
case STRING: //字符串
|
||||
cellValue = String.valueOf(cell.getStringCellValue());
|
||||
break;
|
||||
case BOOLEAN: //Boolean
|
||||
cellValue = String.valueOf(cell.getBooleanCellValue());
|
||||
break;
|
||||
case FORMULA: //公式
|
||||
cellValue = String.valueOf(cell.getCellFormula());
|
||||
break;
|
||||
case BLANK: //空值
|
||||
cellValue = "";
|
||||
break;
|
||||
case ERROR: //故障
|
||||
cellValue = "非法字符";
|
||||
break;
|
||||
default:
|
||||
cellValue = "未知类型";
|
||||
break;
|
||||
}
|
||||
return cellValue;
|
||||
}
|
||||
}
|
||||
14
external/src/main/java/com/yxt/external/utils/FileQueryUrl.java
vendored
Normal file
14
external/src/main/java/com/yxt/external/utils/FileQueryUrl.java
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.yxt.external.utils;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Fan
|
||||
* @description
|
||||
* @date 2024/7/19 15:06
|
||||
*/
|
||||
@Data
|
||||
public class FileQueryUrl {
|
||||
|
||||
private String url;
|
||||
}
|
||||
14
external/src/main/java/com/yxt/external/utils/OrgPathQuery.java
vendored
Normal file
14
external/src/main/java/com/yxt/external/utils/OrgPathQuery.java
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.yxt.external.utils;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Fan
|
||||
* @description
|
||||
* @date 2024/5/17 14:15
|
||||
*/
|
||||
@Data
|
||||
public class OrgPathQuery {
|
||||
private String orgPath;
|
||||
private String userOrgSid;
|
||||
}
|
||||
15
external/src/main/java/com/yxt/external/utils/Rule.java
vendored
Normal file
15
external/src/main/java/com/yxt/external/utils/Rule.java
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.yxt.external.utils;
|
||||
|
||||
/**
|
||||
* @description:
|
||||
* @author: dimengzhe
|
||||
* @date: 2024/3/20
|
||||
**/
|
||||
public class Rule {
|
||||
|
||||
public static String getBillNo(String bill, int i) {
|
||||
String num = String.format("%04d", i + 1); // 不足4位补0
|
||||
String billNo = bill + num;
|
||||
return billNo;
|
||||
}
|
||||
}
|
||||
90
external/src/main/java/com/yxt/external/utils/StyleUtils.java
vendored
Normal file
90
external/src/main/java/com/yxt/external/utils/StyleUtils.java
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
package com.yxt.external.utils;
|
||||
|
||||
|
||||
import com.alibaba.excel.write.metadata.style.WriteCellStyle;
|
||||
import com.alibaba.excel.write.metadata.style.WriteFont;
|
||||
import org.apache.poi.ss.usermodel.BorderStyle;
|
||||
import org.apache.poi.ss.usermodel.HorizontalAlignment;
|
||||
import org.apache.poi.ss.usermodel.VerticalAlignment;
|
||||
|
||||
/**
|
||||
* @author wangpengfei
|
||||
* @date 2023/12/16 22:14
|
||||
*/
|
||||
public class StyleUtils { /**
|
||||
* 标题样式
|
||||
* @return
|
||||
*/
|
||||
public static WriteCellStyle getHeadStyle(){
|
||||
// 头的策略
|
||||
WriteCellStyle headWriteCellStyle = new WriteCellStyle();
|
||||
// 背景颜色
|
||||
// headWriteCellStyle.setFillForegroundColor(IndexedColors.LIGHT_TURQUOISE1.getIndex());
|
||||
// headWriteCellStyle.setFillPatternType(FillPatternType.SOLID_FOREGROUND);
|
||||
|
||||
// 字体
|
||||
WriteFont headWriteFont = new WriteFont();
|
||||
headWriteFont.setFontName("宋体");//设置字体名字
|
||||
headWriteFont.setFontHeightInPoints((short)14);//设置字体大小
|
||||
headWriteFont.setBold(true);//字体加粗
|
||||
headWriteCellStyle.setWriteFont(headWriteFont); //在样式用应用设置的字体;
|
||||
|
||||
// 样式
|
||||
headWriteCellStyle.setBorderBottom(BorderStyle.THIN);//设置底边框;
|
||||
headWriteCellStyle.setBottomBorderColor((short) 0);//设置底边框颜色;
|
||||
headWriteCellStyle.setBorderLeft(BorderStyle.THIN); //设置左边框;
|
||||
headWriteCellStyle.setLeftBorderColor((short) 0);//设置左边框颜色;
|
||||
headWriteCellStyle.setBorderRight(BorderStyle.THIN);//设置右边框;
|
||||
headWriteCellStyle.setRightBorderColor((short) 0);//设置右边框颜色;
|
||||
headWriteCellStyle.setBorderTop(BorderStyle.THIN);//设置顶边框;
|
||||
headWriteCellStyle.setTopBorderColor((short) 0); //设置顶边框颜色;
|
||||
|
||||
headWriteCellStyle.setWrapped(true); //设置自动换行;
|
||||
|
||||
headWriteCellStyle.setHorizontalAlignment(HorizontalAlignment.CENTER);//设置水平对齐的样式为居中对齐;
|
||||
headWriteCellStyle.setVerticalAlignment(VerticalAlignment.CENTER); //设置垂直对齐的样式为居中对齐;
|
||||
headWriteCellStyle.setShrinkToFit(true);//设置文本收缩至合适
|
||||
|
||||
return headWriteCellStyle;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 内容样式
|
||||
* @return
|
||||
*/
|
||||
public static WriteCellStyle getContentStyle(){
|
||||
// 内容的策略
|
||||
WriteCellStyle contentWriteCellStyle = new WriteCellStyle();
|
||||
|
||||
// 背景绿色
|
||||
// 这里需要指定 FillPatternType 为FillPatternType.SOLID_FOREGROUND 不然无法显示背景颜色.头默认了 FillPatternType所以可以不指定
|
||||
// contentWriteCellStyle.setFillForegroundColor(IndexedColors.PALE_BLUE.getIndex());
|
||||
// contentWriteCellStyle.setFillPatternType(FillPatternType.SOLID_FOREGROUND);
|
||||
|
||||
// 设置字体
|
||||
WriteFont contentWriteFont = new WriteFont();
|
||||
contentWriteFont.setFontHeightInPoints((short) 12);//设置字体大小
|
||||
contentWriteFont.setFontName("宋体"); //设置字体名字
|
||||
contentWriteCellStyle.setWriteFont(contentWriteFont);//在样式用应用设置的字体;
|
||||
|
||||
//设置样式;
|
||||
contentWriteCellStyle.setBorderBottom(BorderStyle.THIN);//设置底边框;
|
||||
contentWriteCellStyle.setBottomBorderColor((short) 0);//设置底边框颜色;
|
||||
contentWriteCellStyle.setBorderLeft(BorderStyle.THIN); //设置左边框;
|
||||
contentWriteCellStyle.setLeftBorderColor((short) 0);//设置左边框颜色;
|
||||
contentWriteCellStyle.setBorderRight(BorderStyle.THIN);//设置右边框;
|
||||
contentWriteCellStyle.setRightBorderColor((short) 0);//设置右边框颜色;
|
||||
contentWriteCellStyle.setBorderTop(BorderStyle.THIN);//设置顶边框;
|
||||
contentWriteCellStyle.setTopBorderColor((short) 0); ///设置顶边框颜色;
|
||||
|
||||
contentWriteCellStyle.setHorizontalAlignment(HorizontalAlignment.CENTER);// 水平居中
|
||||
contentWriteCellStyle.setVerticalAlignment(VerticalAlignment.CENTER);// 垂直居中
|
||||
contentWriteCellStyle.setWrapped(true); //设置自动换行;
|
||||
|
||||
// contentWriteCellStyle.setShrinkToFit(true);//设置文本收缩至合适
|
||||
|
||||
return contentWriteCellStyle;
|
||||
}
|
||||
|
||||
}
|
||||
29
external/src/main/resources/application-dev.yml
vendored
Normal file
29
external/src/main/resources/application-dev.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://39.104.100.138:3306/yxt_wms?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||
username: root
|
||||
password: yxt_mysql_138
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# namespace: supervise
|
||||
server-addr: 127.0.0.1:8848
|
||||
redis:
|
||||
database: 4 # Redis数据库索引(默认为0)
|
||||
host: 127.0.0.1
|
||||
jedis:
|
||||
pool:
|
||||
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
||||
max-idle: 8 #连接池中的最大空闲连接
|
||||
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
min-idle: 0 # 连接池中的最小空闲连接
|
||||
password:
|
||||
port: 6379
|
||||
timeout: 0 # 连接超时时间(毫秒)
|
||||
|
||||
image:
|
||||
upload:
|
||||
path: D:\sharestore\upload\
|
||||
url:
|
||||
prefix: D:/project/yxtt/share-store/share-store/wms-biz/target/static/uploda/
|
||||
29
external/src/main/resources/application-pro.yml
vendored
Normal file
29
external/src/main/resources/application-pro.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://8.130.39.13:3306/yxt_wms?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
|
||||
username: root
|
||||
password: Yxt@67508182
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# namespace: supervise
|
||||
server-addr: 127.0.0.1:8848
|
||||
redis:
|
||||
database: 4 # 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:
|
||||
upload:
|
||||
path: D:/webapps/share-store/ui/wms-ui/upload/
|
||||
url:
|
||||
prefix: https://wms.yxtsoft.com/upload/
|
||||
29
external/src/main/resources/application-test.yml
vendored
Normal file
29
external/src/main/resources/application-test.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://39.104.100.138:3306/yxt_wms?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||
username: root
|
||||
password: yxt_mysql_138
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 39.104.100.138:8848
|
||||
redis:
|
||||
database: 4 # 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:
|
||||
upload:
|
||||
path: /home/lzh/docker_data/nginx/html/share-store-ui/upload/
|
||||
url:
|
||||
prefix: http://anrui.yyundong.com/upload/
|
||||
|
||||
63
external/src/main/resources/application.yml
vendored
Normal file
63
external/src/main/resources/application.yml
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
spring:
|
||||
application:
|
||||
name: external
|
||||
profiles:
|
||||
active: dev
|
||||
# active: pro
|
||||
messages:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
servlet:
|
||||
#上传文件
|
||||
multipart:
|
||||
max-file-size: 50MB
|
||||
max-request-size: 100MB
|
||||
devtools:
|
||||
restart:
|
||||
# 热部署开关
|
||||
enabled: true
|
||||
mvc:
|
||||
async:
|
||||
request-timeout: 20000
|
||||
|
||||
|
||||
|
||||
server:
|
||||
port: 6023
|
||||
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.stdout.StdOutImpl
|
||||
|
||||
#hystrix的超时时间
|
||||
hystrix:
|
||||
command:
|
||||
default:
|
||||
execution:
|
||||
timeout:
|
||||
enabled: true
|
||||
isolation:
|
||||
thread:
|
||||
timeoutInMilliseconds: 60000
|
||||
#ribbon的超时时间
|
||||
ribbon:
|
||||
ReadTimeout: 60000
|
||||
ConnectTimeout: 60000
|
||||
|
||||
|
||||
|
||||
|
||||
29
external/target/classes/application-dev.yml
vendored
Normal file
29
external/target/classes/application-dev.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://39.104.100.138:3306/yxt_wms?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||
username: root
|
||||
password: yxt_mysql_138
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# namespace: supervise
|
||||
server-addr: 127.0.0.1:8848
|
||||
redis:
|
||||
database: 4 # Redis数据库索引(默认为0)
|
||||
host: 127.0.0.1
|
||||
jedis:
|
||||
pool:
|
||||
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
||||
max-idle: 8 #连接池中的最大空闲连接
|
||||
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
min-idle: 0 # 连接池中的最小空闲连接
|
||||
password:
|
||||
port: 6379
|
||||
timeout: 0 # 连接超时时间(毫秒)
|
||||
|
||||
image:
|
||||
upload:
|
||||
path: D:\sharestore\upload\
|
||||
url:
|
||||
prefix: D:/project/yxtt/share-store/share-store/wms-biz/target/static/uploda/
|
||||
29
external/target/classes/application-pro.yml
vendored
Normal file
29
external/target/classes/application-pro.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://8.130.39.13:3306/yxt_wms?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
|
||||
username: root
|
||||
password: Yxt@67508182
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# namespace: supervise
|
||||
server-addr: 127.0.0.1:8848
|
||||
redis:
|
||||
database: 4 # 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:
|
||||
upload:
|
||||
path: D:/webapps/share-store/ui/wms-ui/upload/
|
||||
url:
|
||||
prefix: https://wms.yxtsoft.com/upload/
|
||||
29
external/target/classes/application-test.yml
vendored
Normal file
29
external/target/classes/application-test.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://39.104.100.138:3306/yxt_wms?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||
username: root
|
||||
password: yxt_mysql_138
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 39.104.100.138:8848
|
||||
redis:
|
||||
database: 4 # 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:
|
||||
upload:
|
||||
path: /home/lzh/docker_data/nginx/html/share-store-ui/upload/
|
||||
url:
|
||||
prefix: http://anrui.yyundong.com/upload/
|
||||
|
||||
63
external/target/classes/application.yml
vendored
Normal file
63
external/target/classes/application.yml
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
spring:
|
||||
application:
|
||||
name: external
|
||||
profiles:
|
||||
active: dev
|
||||
# active: pro
|
||||
messages:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
servlet:
|
||||
#上传文件
|
||||
multipart:
|
||||
max-file-size: 50MB
|
||||
max-request-size: 100MB
|
||||
devtools:
|
||||
restart:
|
||||
# 热部署开关
|
||||
enabled: true
|
||||
mvc:
|
||||
async:
|
||||
request-timeout: 20000
|
||||
|
||||
|
||||
|
||||
server:
|
||||
port: 6023
|
||||
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.stdout.StdOutImpl
|
||||
|
||||
#hystrix的超时时间
|
||||
hystrix:
|
||||
command:
|
||||
default:
|
||||
execution:
|
||||
timeout:
|
||||
enabled: true
|
||||
isolation:
|
||||
thread:
|
||||
timeoutInMilliseconds: 60000
|
||||
#ribbon的超时时间
|
||||
ribbon:
|
||||
ReadTimeout: 60000
|
||||
ConnectTimeout: 60000
|
||||
|
||||
|
||||
|
||||
|
||||
BIN
external/target/classes/com/yxt/external/apiadmin/AdminHomeRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/AdminHomeRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/CrmCustomerTempRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/CrmCustomerTempRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/PurchaseBillRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/PurchaseBillRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/PurchaseInventoryBillRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/PurchaseInventoryBillRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/SmsSalesBillRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/SmsSalesBillRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/SupplierInfoRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/SupplierInfoRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/WarehouseInfoRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiadmin/aggregation/WarehouseInfoRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/apiwx/WxHomeRest.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/apiwx/WxHomeRest.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/purchase/PurchaseBillDto.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/purchase/PurchaseBillDto.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/purchaseappendix/PurchaseAppendixUrl.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/purchaseappendix/PurchaseAppendixUrl.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/purchasebillamount/PurchaseBillAmountDto.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/purchasebillamount/PurchaseBillAmountDto.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/purchasebilldetail/PurchaseBillDetailDto.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/purchasebilldetail/PurchaseBillDetailDto.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/purchasebillextend/PurchaseBillExtendDto.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/purchasebillextend/PurchaseBillExtendDto.class
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/smssalesbill/AccountVo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/smssalesbill/AccountVo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/smssalesbill/SmsSalesBillDto.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/smssalesbill/SmsSalesBillDto.class
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoChoice.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoChoice.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoDetailsVo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoDetailsVo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoDto.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoDto.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoMapper.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoMapper.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoQuery.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoQuery.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoService.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoService.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoVo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/supplierinfo/SupplierInfoVo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/GoodsDetailsVo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/GoodsDetailsVo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/ProjectDetailsVo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/ProjectDetailsVo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoMapQuery.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoMapQuery.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVo.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVo.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVoSheng.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/biz/func/warehouseinfo/WarehouseInfoVoSheng.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/config/SaTokenGloableException.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/config/SaTokenGloableException.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/config/Swagger2Configuration.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/config/Swagger2Configuration.class
vendored
Normal file
Binary file not shown.
BIN
external/target/classes/com/yxt/external/externalApplication.class
vendored
Normal file
BIN
external/target/classes/com/yxt/external/externalApplication.class
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user