diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclegression/AppScmVehicleGressionPageVo.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclegression/AppScmVehicleGressionPageVo.java
index 8d1ff90541..ad183533d8 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclegression/AppScmVehicleGressionPageVo.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclegression/AppScmVehicleGressionPageVo.java
@@ -26,11 +26,14 @@
package com.yxt.anrui.scm.api.scmvehiclegression;
+import com.yxt.anrui.scm.api.scmvehiclegressionveh.ScmVehicleGressionVehVo;
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: scm(scm)
* File: ScmVehicleGressionVo.java
@@ -66,6 +69,8 @@ public class AppScmVehicleGressionPageVo implements Vo {
private String applyPrice;
@ApiModelProperty("临时出门证下载")
private String downloadUrl;
+ @ApiModelProperty("车架号")
+ private List scmVehicleGressionVehs;
@ApiModelProperty("是否显示删除 流程未提交时 显示")
private boolean showDetectBtn;
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleCarInventoryListPageQuery.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleCarInventoryListPageQuery.java
index 8741184ad3..bba9e55658 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleCarInventoryListPageQuery.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleCarInventoryListPageQuery.java
@@ -28,8 +28,8 @@ public class AppScmVehicleCarInventoryListPageQuery implements Query {
@ApiModelProperty("存放地点sid")
private String warehouseSid;
- @ApiModelProperty("盘库状态 通过1 不通过 2")
- private String state;
+// @ApiModelProperty("盘库状态 通过1 不通过 2")
+// private String state;
@ApiModelProperty("使用组织分公司sid")
private String useOrgSid;
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryDto.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryDto.java
index fd493ca9a5..2f22460033 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryDto.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryDto.java
@@ -90,7 +90,7 @@ public class AppScmVehicleStayInventoryDto implements Dto {
@ApiModelProperty("见证材料")
private List images;
- @ApiModelProperty(value = "状态 是否通过")
+ @ApiModelProperty(value = "状态(盘盈、盘损、盘亏、正常) ")
@JsonProperty("InventoryState")
private String InventoryState;
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/AppScmVehicleStayInventoryListPageQuery.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryListPageQuery.java
similarity index 91%
rename from anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/AppScmVehicleStayInventoryListPageQuery.java
rename to anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryListPageQuery.java
index 894a181f10..9cb109b167 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/AppScmVehicleStayInventoryListPageQuery.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryListPageQuery.java
@@ -1,4 +1,4 @@
-package com.yxt.anrui.scm.api.scmvehiclestayinventory;
+package com.yxt.anrui.scm.api.scmvehicleinventory;
import com.yxt.common.core.query.Query;
import io.swagger.annotations.ApiModelProperty;
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/AppScmVehicleStayInventoryListPageVo.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryListPageVo.java
similarity index 81%
rename from anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/AppScmVehicleStayInventoryListPageVo.java
rename to anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryListPageVo.java
index 63a81122d0..c412232f0b 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/AppScmVehicleStayInventoryListPageVo.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/AppScmVehicleStayInventoryListPageVo.java
@@ -1,4 +1,4 @@
-package com.yxt.anrui.scm.api.scmvehiclestayinventory;
+package com.yxt.anrui.scm.api.scmvehicleinventory;
import com.yxt.common.core.vo.Vo;
import io.swagger.annotations.ApiModelProperty;
@@ -27,8 +27,5 @@ public class AppScmVehicleStayInventoryListPageVo implements Vo {
@ApiModelProperty("上次盘库日期")
private String inventoryDate;
- @ApiModelProperty("合格证状态")
- private String certificateState;
-
}
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventory.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventory.java
index f8a6c9e535..35d5339d0b 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventory.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventory.java
@@ -51,29 +51,27 @@ public class ScmVehicleInventory extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty("车架号")
- private String mainSid; // 车架号
+ private String vinNo; // 车架号
+ @ApiModelProperty("月度盘库sid")
+ private String mainSid; // 月度盘库sid
@ApiModelProperty("存放地点sid")
private String locationSid; // 存放地点sid
@ApiModelProperty("存放地点")
private String location; // 存放地点
- @ApiModelProperty("合格证(有/无)")
- private String certificate; // 合格证(有/无)
- @ApiModelProperty("合格证(有 1 /无 0)")
- private String certificateKey;
@ApiModelProperty("盘库日期")
private String InventoryDate; // 盘库日期
@ApiModelProperty("盘库人员")
private String InventoryName; // 盘库人员
@ApiModelProperty("盘库人员sid")
private String InventorySid; // 盘库人员sid
- @ApiModelProperty("盘库状态 通过/未通过")
+ @ApiModelProperty("盘库状态")
private String InventoryState; // 盘库状态 通过/未通过
- @ApiModelProperty("盘库状态 通过 1 /未通过 2")
+ @ApiModelProperty("盘库状态 ")
private String InventoryStateKey;
@ApiModelProperty("创建组织")
private String createOrgSid; // 创建组织
@ApiModelProperty("使用组织")
- private String useOrgName; // 使用组织
+ private String useOrgSid; // 使用组织
@ApiModelProperty("备注")
private String remarks; // 使用组织
@ApiModelProperty("定位")
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeign.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeign.java
index d534cda3d0..ee9c33a61b 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeign.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeign.java
@@ -84,6 +84,11 @@ public interface ScmVehicleInventoryFeign {
@ResponseBody
public ResultBean> getCarInventoryList(@RequestBody PagerQuery pagerQuery);
+ @ApiOperation("手机端-获取待盘库列表")
+ @PostMapping("/getInventoryList")
+ @ResponseBody
+ public ResultBean> getInventoryList(@RequestBody PagerQuery pagerQuery);
+
@ApiOperation("手机端-初始化盘库操作")
@GetMapping("/getInventory/{recordSid}")
@ResponseBody
@@ -109,4 +114,9 @@ public interface ScmVehicleInventoryFeign {
@ResponseBody
public ResultBean getInventoryInfo(@PathVariable("recordSid") String recordSid);
+ @ApiOperation("手机端-查询本分公司下代办数量")
+ @GetMapping("/getToDoNum/{userSid}")
+ @ResponseBody
+ public ResultBean getToDoNum(@PathVariable("userSid") String userSid);
+
}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeignFallback.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeignFallback.java
index 4b5923757a..8da5a7d7c2 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeignFallback.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehicleinventory/ScmVehicleInventoryFeignFallback.java
@@ -79,6 +79,11 @@ public class ScmVehicleInventoryFeignFallback implements ScmVehicleInventoryFeig
return rb.setMsg("接口anrui_scm/scmvehicleinventory/getCarInventoryList无法访问");
}
+ @Override
+ public ResultBean> getInventoryList(PagerQuery pagerQuery) {
+ return null;
+ }
+
@Override
public ResultBean getInventory(String recordSid) {
ResultBean rb = ResultBean.fireFail();
@@ -106,4 +111,9 @@ public class ScmVehicleInventoryFeignFallback implements ScmVehicleInventoryFeig
return rb.setMsg("接口anrui_scm/scmvehicleinventory/getInventoryInfo无法访问");
}
+ @Override
+ public ResultBean getToDoNum(String userSid) {
+ return null;
+ }
+
}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeign.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeign.java
index bf6b18d4ff..b8a253a5fe 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeign.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeign.java
@@ -77,19 +77,8 @@ public interface ScmVehicleStayInventoryFeign {
public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid);
- @ApiOperation("手机端-判断是否生成盘库记录")
- @GetMapping("/getInventoryRecords/{userSid}")
- @ResponseBody
- public ResultBean getInventoryRecords(@PathVariable("userSid") String userSid);
- @ApiOperation("手机端-获取盘库列表")
- @PostMapping("/getInventoryList")
- @ResponseBody
- public ResultBean> getInventoryList(@RequestBody PagerQuery pagerQuery);
- @ApiOperation("手机端-查询本分公司下代办数量")
- @GetMapping("/getToDoNum/{userSid}")
- @ResponseBody
- public ResultBean getToDoNum(@PathVariable("userSid") String userSid);
+
}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeignFallback.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeignFallback.java
index 631d9db26f..453a0c8a81 100644
--- a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeignFallback.java
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehiclestayinventory/ScmVehicleStayInventoryFeignFallback.java
@@ -68,20 +68,5 @@ public class ScmVehicleStayInventoryFeignFallback implements ScmVehicleStayInven
return rb.setMsg("接口anrui_scm/scmvehiclestayinventory/fetchDetailsBySid无法访问");
}
- @Override
- public ResultBean getInventoryRecords(String userSid) {
- return null;
- }
-
- @Override
- public ResultBean> getInventoryList(PagerQuery pagerQuery) {
- return null;
- }
-
- @Override
- public ResultBean getToDoNum(String userSid) {
- return null;
- }
-
}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonth.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonth.java
new file mode 100644
index 0000000000..37ee4042f2
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonth.java
@@ -0,0 +1,64 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+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: aaa(aaa)
+ * File: ScmVehInventorymonth.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonth
+ * Description: 月度盘库.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "月度盘库", description = "月度盘库")
+@TableName("scm_veh_inventorymonth")
+public class ScmVehInventorymonth extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ @ApiModelProperty("编号(yyyyMMdd)")
+ private String billNo; // 编号(yyyyMMdd)
+ @ApiModelProperty("创建组织")
+ private String createOrgSid; // 创建组织
+ @ApiModelProperty("创建组织名称")
+ private String createOrgName; // 创建组织名称
+ @ApiModelProperty("使用组织")
+ private String useOrgSid; // 使用组织
+ @ApiModelProperty("使用组织名称")
+ private String useOrgName; // 使用组织名称
+
+}
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthDetailsVo.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthDetailsVo.java
new file mode 100644
index 0000000000..2d2175d471
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthDetailsVo.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventorymonthVo.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonthVo
+ * Description: 月度盘库 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "月度盘库 视图数据详情", description = "月度盘库 视图数据详情")
+public class ScmVehInventorymonthDetailsVo implements Vo {
+
+ private String sid; // sid
+
+ @ApiModelProperty("编号(yyyyMMdd)")
+ private String billNo; // 编号(yyyyMMdd)
+ @ApiModelProperty("创建组织")
+ private String createOrgSid; // 创建组织
+ @ApiModelProperty("创建组织名称")
+ private String createOrgName; // 创建组织名称
+ @ApiModelProperty("使用组织")
+ private String useOrgSid; // 使用组织
+ @ApiModelProperty("使用组织名称")
+ private String useOrgName; // 使用组织名称
+
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthDto.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthDto.java
new file mode 100644
index 0000000000..e74b6fbf60
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthDto.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+
+import com.yxt.common.core.dto.Dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventorymonthDto.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonthDto
+ * Description: 月度盘库 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "月度盘库 数据传输对象", description = "月度盘库 数据传输对象")
+public class ScmVehInventorymonthDto implements Dto {
+
+ private String sid; // sid
+
+ @ApiModelProperty("编号(yyyyMMdd)")
+ private String billNo; // 编号(yyyyMMdd)
+ @ApiModelProperty("创建组织")
+ private String createOrgSid; // 创建组织
+ @ApiModelProperty("创建组织名称")
+ private String createOrgName; // 创建组织名称
+ @ApiModelProperty("使用组织")
+ private String useOrgSid; // 使用组织
+ @ApiModelProperty("使用组织名称")
+ private String useOrgName; // 使用组织名称
+
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthFeign.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthFeign.java
new file mode 100644
index 0000000000..1682b1e848
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthFeign.java
@@ -0,0 +1,85 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import com.yxt.common.core.query.PagerQuery;
+import com.yxt.common.core.result.ResultBean;
+import com.yxt.common.core.vo.PagerVo;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventorymonthFeign.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonthFeign
+ * Description: 月度盘库.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "月度盘库")
+@FeignClient(
+ contextId = "aaa-ScmVehInventorymonth",
+ name = "aaa",
+ path = "v1/scmvehinventorymonth",
+ fallback = ScmVehInventorymonthFeignFallback.class)
+public interface ScmVehInventorymonthFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ @ResponseBody
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("新增或修改")
+ @PostMapping("/save")
+ @ResponseBody
+ public ResultBean save(@RequestBody ScmVehInventorymonthDto dto);
+
+ @ApiOperation("根据sid删除记录")
+ @DeleteMapping("/delBySids")
+ @ResponseBody
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchDetailsBySid/{sid}")
+ @ResponseBody
+ public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid);
+
+ @ApiOperation("手机端-生成盘库记录")
+ @GetMapping("/getInventoryRecords/{userSid}")
+ @ResponseBody
+ public ResultBean getInventoryRecords(@PathVariable("userSid") String userSid);
+
+
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthFeignFallback.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthFeignFallback.java
new file mode 100644
index 0000000000..86b6cfa149
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthFeignFallback.java
@@ -0,0 +1,77 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+import com.yxt.common.core.query.PagerQuery;
+import com.yxt.common.core.result.ResultBean;
+import com.yxt.common.core.vo.PagerVo;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventorymonthFeignFallback.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonthFeignFallback
+ * Description: 月度盘库.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class ScmVehInventorymonthFeignFallback implements ScmVehInventorymonthFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口aaa/scmvehinventorymonth/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean save(ScmVehInventorymonthDto dto){
+ return ResultBean.fireFail().setMsg("接口aaa/scmvehinventorymonth/save无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口aaa/scmvehinventorymonth/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetchDetailsBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口aaa/scmvehinventorymonth/fetchDetailsBySid无法访问");
+ }
+
+ @Override
+ public ResultBean getInventoryRecords(String userSid) {
+ return null;
+ }
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthQuery.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthQuery.java
new file mode 100644
index 0000000000..bbb8f2367f
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthQuery.java
@@ -0,0 +1,63 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventorymonthQuery.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonthQuery
+ * Description: 月度盘库 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "月度盘库 查询条件", description = "月度盘库 查询条件")
+public class ScmVehInventorymonthQuery implements Query {
+
+ @ApiModelProperty("编号(yyyyMMdd)")
+ private String billNo; // 编号(yyyyMMdd)
+ @ApiModelProperty("创建组织")
+ private String createOrgSid; // 创建组织
+ @ApiModelProperty("创建组织名称")
+ private String createOrgName; // 创建组织名称
+ @ApiModelProperty("使用组织")
+ private String useOrgSid; // 使用组织
+ @ApiModelProperty("使用组织名称")
+ private String useOrgName; // 使用组织名称
+
+}
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthVo.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthVo.java
new file mode 100644
index 0000000000..b14625be91
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventorymonth/ScmVehInventorymonthVo.java
@@ -0,0 +1,65 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventorymonth;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventorymonthVo.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventorymonth.ScmVehInventorymonthVo
+ * Description: 月度盘库 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "月度盘库 视图数据对象", description = "月度盘库 视图数据对象")
+public class ScmVehInventorymonthVo implements Vo {
+
+ private String sid; // sid
+
+ @ApiModelProperty("编号(yyyyMMdd)")
+ private String billNo; // 编号(yyyyMMdd)
+ @ApiModelProperty("创建组织")
+ private String createOrgSid; // 创建组织
+ @ApiModelProperty("创建组织名称")
+ private String createOrgName; // 创建组织名称
+ @ApiModelProperty("使用组织")
+ private String useOrgSid; // 使用组织
+ @ApiModelProperty("使用组织名称")
+ private String useOrgName; // 使用组织名称
+
+}
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreport.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreport.java
new file mode 100644
index 0000000000..9f188470c5
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreport.java
@@ -0,0 +1,62 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+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: aaa(aaa)
+ * File: ScmVehInventoryreport.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreport
+ * Description: 盘库报告.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "盘库报告", description = "盘库报告")
+@TableName("scm_veh_inventoryreport")
+public class ScmVehInventoryreport extends BaseEntity {
+ private static final long serialVersionUID = 1L;
+
+ @ApiModelProperty("月度盘库sid")
+ private String mainSid; // 月度盘库sid
+ @ApiModelProperty("接收人sid")
+ private String receiverSids; // 接收人sid
+ @ApiModelProperty("接收人姓名")
+ private String receiverNames; // 接收人姓名
+ @ApiModelProperty("盘库报告内容")
+ private String reportContent; // 盘库报告内容
+
+}
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportDetailsVo.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportDetailsVo.java
new file mode 100644
index 0000000000..318acc2945
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportDetailsVo.java
@@ -0,0 +1,63 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventoryreportVo.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreportVo
+ * Description: 盘库报告 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "盘库报告 视图数据详情", description = "盘库报告 视图数据详情")
+public class ScmVehInventoryreportDetailsVo implements Vo {
+
+ private String sid; // sid
+
+ @ApiModelProperty("月度盘库sid")
+ private String mainSid; // 月度盘库sid
+ @ApiModelProperty("接收人sid")
+ private String receiverSids; // 接收人sid
+ @ApiModelProperty("接收人姓名")
+ private String receiverNames; // 接收人姓名
+ @ApiModelProperty("盘库报告内容")
+ private String reportContent; // 盘库报告内容
+
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportDto.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportDto.java
new file mode 100644
index 0000000000..82c1289ca4
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportDto.java
@@ -0,0 +1,63 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+
+import com.yxt.common.core.dto.Dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventoryreportDto.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreportDto
+ * Description: 盘库报告 数据传输对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "盘库报告 数据传输对象", description = "盘库报告 数据传输对象")
+public class ScmVehInventoryreportDto implements Dto {
+
+ private String sid; // sid
+
+ @ApiModelProperty("月度盘库sid")
+ private String mainSid; // 月度盘库sid
+ @ApiModelProperty("接收人sid")
+ private String receiverSids; // 接收人sid
+ @ApiModelProperty("接收人姓名")
+ private String receiverNames; // 接收人姓名
+ @ApiModelProperty("盘库报告内容")
+ private String reportContent; // 盘库报告内容
+
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportFeign.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportFeign.java
new file mode 100644
index 0000000000..9a6a1b855c
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportFeign.java
@@ -0,0 +1,78 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import com.yxt.common.core.query.PagerQuery;
+import com.yxt.common.core.result.ResultBean;
+import com.yxt.common.core.vo.PagerVo;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventoryreportFeign.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreportFeign
+ * Description: 盘库报告.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Api(tags = "盘库报告")
+@FeignClient(
+ contextId = "aaa-ScmVehInventoryreport",
+ name = "aaa",
+ path = "v1/scmvehinventoryreport",
+ fallback = ScmVehInventoryreportFeignFallback.class)
+public interface ScmVehInventoryreportFeign {
+
+ @ApiOperation("根据条件分页查询数据的列表")
+ @PostMapping("/listPage")
+ @ResponseBody
+ public ResultBean> listPage(@RequestBody PagerQuery pq);
+
+ @ApiOperation("新增或修改")
+ @PostMapping("/save")
+ @ResponseBody
+ public ResultBean save(@RequestBody ScmVehInventoryreportDto dto);
+
+ @ApiOperation("根据sid删除记录")
+ @DeleteMapping("/delBySids")
+ @ResponseBody
+ public ResultBean delBySids(@RequestBody String[] sids);
+
+ @ApiOperation("根据SID获取一条记录")
+ @GetMapping("/fetchDetailsBySid/{sid}")
+ @ResponseBody
+ public ResultBean fetchDetailsBySid(@PathVariable("sid") String sid);
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportFeignFallback.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportFeignFallback.java
new file mode 100644
index 0000000000..42892b19ec
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportFeignFallback.java
@@ -0,0 +1,72 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+import com.yxt.common.core.query.PagerQuery;
+import com.yxt.common.core.result.ResultBean;
+import com.yxt.common.core.vo.PagerVo;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventoryreportFeignFallback.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreportFeignFallback
+ * Description: 盘库报告.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Component
+public class ScmVehInventoryreportFeignFallback implements ScmVehInventoryreportFeign {
+
+ @Override
+ public ResultBean> listPage(PagerQuery pq){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口aaa/scmvehinventoryreport/listPage无法访问");
+ }
+
+ @Override
+ public ResultBean save(ScmVehInventoryreportDto dto){
+ return ResultBean.fireFail().setMsg("接口aaa/scmvehinventoryreport/save无法访问");
+ }
+
+ @Override
+ public ResultBean delBySids( String[] sids){
+ return ResultBean.fireFail().setMsg("接口aaa/scmvehinventoryreport/delBySids无法访问");
+ }
+
+ @Override
+ public ResultBean fetchDetailsBySid(String sid){
+ ResultBean rb = ResultBean.fireFail();
+ return rb.setMsg("接口aaa/scmvehinventoryreport/fetchDetailsBySid无法访问");
+ }
+}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportQuery.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportQuery.java
new file mode 100644
index 0000000000..8ae3ee3aeb
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportQuery.java
@@ -0,0 +1,61 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+
+import com.yxt.common.core.query.Query;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventoryreportQuery.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreportQuery
+ * Description: 盘库报告 查询条件.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "盘库报告 查询条件", description = "盘库报告 查询条件")
+public class ScmVehInventoryreportQuery implements Query {
+
+ @ApiModelProperty("月度盘库sid")
+ private String mainSid; // 月度盘库sid
+ @ApiModelProperty("接收人sid")
+ private String receiverSids; // 接收人sid
+ @ApiModelProperty("接收人姓名")
+ private String receiverNames; // 接收人姓名
+ @ApiModelProperty("盘库报告内容")
+ private String reportContent; // 盘库报告内容
+
+}
diff --git a/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportVo.java b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportVo.java
new file mode 100644
index 0000000000..4ca0b89ea1
--- /dev/null
+++ b/anrui-scm/anrui-scm-api/src/main/java/com/yxt/anrui/scm/api/scmvehinventoryreport/ScmVehInventoryreportVo.java
@@ -0,0 +1,63 @@
+/*********************************************************
+ *********************************************************
+ ******************** *******************
+ ************* ************
+ ******* _oo0oo_ *******
+ *** o8888888o ***
+ * 88" . "88 *
+ * (| -_- |) *
+ * 0\ = /0 *
+ * ___/`---'\___ *
+ * .' \\| |// '. *
+ * / \\||| : |||// \ *
+ * / _||||| -:- |||||- \ *
+ * | | \\\ - /// | | *
+ * | \_| ''\---/'' |_/ | *
+ * \ .-\__ '-' ___/-. / *
+ * ___'. .' /--.--\ `. .'___ *
+ * ."" '< `.___\_<|>_/___.' >' "". *
+ * | | : `- \`.;`\ _ /`;.`/ - ` : | | *
+ * \ \ `_. \_ __\ /__ _/ .-` / / *
+ * =====`-.____`.___ \_____/___.-`___.-'===== *
+ * `=---=' *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *
+ *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
+ *********************************************************/
+package com.yxt.anrui.scm.api.scmvehinventoryreport;
+
+
+import com.yxt.common.core.vo.Vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * Project: aaa(aaa)
+ * File: ScmVehInventoryreportVo.java
+ * Class: com.yxt.anrui.scm.api.api.scmvehinventoryreport.ScmVehInventoryreportVo
+ * Description: 盘库报告 视图数据对象.
+ * Copyright: Copyright (c) 2011
+ * Company: https://gitee.com/liuzp315
+ * Makedate: 2022-09-16 15:52:05
+ *
+ * @author liupopo
+ * @version 1.0
+ * @since 1.0
+ */
+@Data
+@ApiModel(value = "盘库报告 视图数据对象", description = "盘库报告 视图数据对象")
+public class ScmVehInventoryreportVo implements Vo {
+
+ private String sid; // sid
+
+ @ApiModelProperty("月度盘库sid")
+ private String mainSid; // 月度盘库sid
+ @ApiModelProperty("接收人sid")
+ private String receiverSids; // 接收人sid
+ @ApiModelProperty("接收人姓名")
+ private String receiverNames; // 接收人姓名
+ @ApiModelProperty("盘库报告内容")
+ private String reportContent; // 盘库报告内容
+
+}
diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionService.java b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionService.java
index 995ee9b8fc..b1545eb36f 100644
--- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionService.java
+++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclegression/ScmVehicleGressionService.java
@@ -318,11 +318,12 @@ public class ScmVehicleGressionService extends MybatisBaseService records = iPage.getRecords();
for (AppScmVehicleGressionPageVo record : records) {
- List vins = scmVehicleGressionVehService.fetchVoByMainSid(record.getSid());
- int size = vins.size();
- record.setVinNum(String.valueOf(size));
- String vin = StringUtils.join(vins, ",");
- record.setVin(vin);
+ List scmVehicleGressionVehVos = scmVehicleGressionVehService.selectInfoVoByMainSid(record.getSid());
+// int size = vins.size();
+// record.setVinNum(String.valueOf(size));
+// String vin = StringUtils.join(vins, ",");
+// record.setVin(vin);
+ record.setScmVehicleGressionVehs(scmVehicleGressionVehVos);
if ("已办结".equals(record.getState())) {
record.setShowDownloadBtn(true);
diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.java b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.java
index 24e826ff4c..1690beacb7 100644
--- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.java
+++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.java
@@ -31,6 +31,9 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.yxt.anrui.scm.api.scmvehicleinventory.*;
+import com.yxt.anrui.scm.api.scmvehicleinventory.AppScmVehicleStayInventoryListPageQuery;
+import com.yxt.anrui.scm.api.scmvehicleinventory.AppScmVehicleStayInventoryListPageVo;
+import com.yxt.anrui.scm.api.scmvehiclestayinventory.ScmVehicleStayInventoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@@ -62,8 +65,8 @@ public interface ScmVehicleInventoryMapper extends BaseMapper selectListAllVo(@Param(Constants.WRAPPER) Wrapper qw);
- @Select("select * from scm_vehicle_inventory")
- List selectListVo();
+ @Select("select * from scm_vehicle_inventory where isDelete = 0 and createOrgSid = #{orgSid}")
+ List selectListVo(String orgSid);
/**
* 手机端-获取盘库记录列表
@@ -75,6 +78,17 @@ public interface ScmVehicleInventoryMapper extends BaseMapper getCarInventoryList(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw, @Param("name") String name);
+ /**
+ * 手机端-获取待盘库列表
+ *
+ * @param page
+ * @param qw
+ * @param names
+ * @return
+ */
+ IPage getInventoryList(IPage page, @Param(Constants.WRAPPER) QueryWrapper qw, @Param("names") String names);
+
+
/**
* 手机端-初始化盘库操作
*
@@ -103,4 +117,12 @@ public interface ScmVehicleInventoryMapper extends BaseMapper getByVinLastInFo(@Param("vin") String vin, @Param("id") String id);
+
+ @Select("SELECT count(*) FROM scm_vehicle_stay_inventory WHERE createOrgSid = #{useOrgSid} and isDelete = 0 ")
+ int getToDoNum(@Param("useOrgSid") String useOrgSid);
+
+ @Select("select max(id) from scm_vehicle_stay_inventory svsi where svsi.mainSid = #{vin}")
+ String getVin(@Param("vin") String vin);
+
+ List selInventory(@Param("vin") String vin, @Param("id") String id, @Param("useOrgSid") String useOrgSid);
}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.xml b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.xml
index 3d675d6a65..0fd02575c2 100644
--- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.xml
+++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehicleinventory/ScmVehicleInventoryMapper.xml
@@ -19,7 +19,7 @@
sid,
mainSid AS vin,
certificateKey AS certificateState,
- InventoryStateKey AS `state`,
+ InventoryState AS `state`,
inventorySid,
inventoryName,
remarks,
@@ -37,6 +37,26 @@
ORDER BY id DESC
+
+
-
-
- SELECT
- id,
- sid,
- mainSid AS vin,
- location AS warehouse
- FROM
- scm_vehicle_stay_inventory svsi
-
- ${ew.sqlSegment}
-
- and concat(svsi.mainSid,svsi.InventoryName) LIKE concat('%', #{names}, '%')
-
-
- ORDER BY id DESC
-
-
- select InventoryDate as lastDate,
- InventoryName as lastName
- from scm_vehicle_stay_inventory svsi
- where svsi.mainSid = #{vin}
- and svsi.id < #{id}
- and svsi.createOrgSid = #{useOrgSid}
- ORDER BY id DESC
-
-
-
- select max(id)
- from scm_vehicle_stay_inventory svsi
- where svsi.mainSid = #{vin}
-
-
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryRest.java b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryRest.java
index b0521707d8..f93abd0aad 100644
--- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryRest.java
+++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryRest.java
@@ -96,24 +96,8 @@ public class ScmVehicleStayInventoryRest implements ScmVehicleStayInventoryFeign
return rb.success().setData(vo);
}
- @Override
- public ResultBean getInventoryRecords(String userSid) {
- return scmVehicleStayInventoryService.getInventoryRecords(userSid);
- }
- @Override
- public ResultBean> getInventoryList(PagerQuery pagerQuery) {
- if (StringUtils.isBlank(pagerQuery.getParams().getUserSid())) {
- new ResultBean<>().success().setMsg("用户sid不能为空");
- }
- PagerVo page = new PagerVo<>();
- IPage iPage = scmVehicleStayInventoryService.getInventoryList(pagerQuery);
- PagerVo pagerVo = PagerUtil.pageToVo(iPage, page);
- return new ResultBean>().success().setData(pagerVo);
- }
- @Override
- public ResultBean getToDoNum(String userSid) {
- return scmVehicleStayInventoryService.getToDoNum(userSid);
- }
+
+
}
diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryService.java b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryService.java
index 32471e630e..691874d0c1 100644
--- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryService.java
+++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestayinventory/ScmVehicleStayInventoryService.java
@@ -134,112 +134,7 @@ public class ScmVehicleStayInventoryService extends MybatisBaseService list = baseVehicleFeign.selectInventoryRecords(userSid).getData();
- ResultBean pathSidByUserSid = sysStaffOrgFeign.getPathSidByUserSid(userSid);
- String orgSid = pathSidByUserSid.getData();
- List scmVehicleStayInventoryVos = baseMapper.selectListVo(orgSid);
- if (scmVehicleStayInventoryVos.size() > 0) {
- return rb.setMsg("生成盘库记录失败,请查看是否有未盘库的记录");
- }
- list.removeAll(Collections.singleton(null));
- if (!list.isEmpty()) {
- for (AppScmInventoryRecordsVo appScmInventoryRecordsVo : list) {
- ScmVehicleStayInventory scmVehicleStayInventory = new ScmVehicleStayInventory();
- scmVehicleStayInventory.setMainSid(appScmInventoryRecordsVo.getVin());
- scmVehicleStayInventory.setLocationSid(appScmInventoryRecordsVo.getWarehouseSid());
- scmVehicleStayInventory.setLocation(appScmInventoryRecordsVo.getWarehouse());
- scmVehicleStayInventory.setInventoryName("");
- scmVehicleStayInventory.setInventoryDate("");
- scmVehicleStayInventory.setCreateOrgSid(orgSid);
- save(scmVehicleStayInventory);
- }
- } else {
- return rb.setMsg("暂无需要盘库记录");
- }
- return rb.success();
- }
-
- /**
- * 手机端-获取盘库列表
- *
- * @param pagerQuery
- * @return
- */
- public IPage getInventoryList(PagerQuery pagerQuery) {
- SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
- IPage page = PagerUtil.queryToPage(pagerQuery);
- String useOrgSid = sysStaffOrgFeign.getPathSidByUserSid(pagerQuery.getParams().getUserSid()).getData();
- pagerQuery.getParams().setUseOrgSid(useOrgSid);
- QueryWrapper qw = appQueryWrapper(pagerQuery.getParams());
- AppScmVehicleStayInventoryListPageQuery params = pagerQuery.getParams();
- IPage iPage = baseMapper.getInventoryList(page, qw, params.getNames());
- List records = iPage.getRecords();
- for (AppScmVehicleStayInventoryListPageVo record : records) {
- // 查询上一次的盘库人,盘库时间
- List scmVehicleStayInventoryVos = selInventory(record.getVin(), record.getId(), useOrgSid);
-
- if (scmVehicleStayInventoryVos.size() > 0) {
-
- ScmVehicleStayInventoryVo scmVehicleStayInventoryVo = scmVehicleStayInventoryVos.get(0);
- if (scmVehicleStayInventoryVo.getLastDate() == null) {
- record.setInventoryDate("无");
- } else {
- record.setInventoryDate(simpleDateFormat.format(scmVehicleStayInventoryVo.getLastDate()));
- }
- if (StringUtils.isBlank(scmVehicleStayInventoryVo.getLastName())) {
- record.setInventoryName("无");
- } else {
- record.setInventoryName(scmVehicleStayInventoryVo.getLastName());
- }
- }
- }
- return iPage;
- }
-
- public List selInventory(String vin, String id, String useOrgSid) {
- return baseMapper.selInventory(vin, id, useOrgSid);
- }
-
- /**
- * 手机端-获取验车管理列表 查询条件
- *
- * @param query
- * @return
- */
- private QueryWrapper appQueryWrapper
- (AppScmVehicleStayInventoryListPageQuery query) {
- QueryWrapper qw = new QueryWrapper<>();
- qw.eq("svsi.isDelete", 0);
- if (StringUtils.isNotBlank(query.getUseOrgSid())) {
- qw.eq("svsi.createOrgSid", query.getUseOrgSid());
- }
- if (StringUtils.isNotBlank(query.getWarehouseSid())) {
- qw.eq("svsi.locationSid", query.getWarehouseSid());
- }
- return qw;
- }
-
-
public void delBySid(String sid, String inventoryName) {
baseMapper.delBySid(sid, inventoryName);
}
-
- public String getVin(String vin) {
- return baseMapper.getVin(vin);
- }
-
- public ResultBean getToDoNum(String userSid) {
- ResultBean rb = ResultBean.fireFail();
- String useOrgSid = sysStaffOrgFeign.getPathSidByUserSid(userSid).getData();
- int count = baseMapper.getToDoNum(useOrgSid);
- return rb.success().setData(String.valueOf(count));
- }
}
\ No newline at end of file
diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestaypatrolinspection/ScmVehicleStayPatrolinspectionRest.java b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestaypatrolinspection/ScmVehicleStayPatrolinspectionRest.java
index 57a72a987a..b4ab3e6e71 100644
--- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestaypatrolinspection/ScmVehicleStayPatrolinspectionRest.java
+++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclestaypatrolinspection/ScmVehicleStayPatrolinspectionRest.java
@@ -26,7 +26,6 @@
package com.yxt.anrui.scm.biz.scmvehiclestaypatrolinspection;
import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.yxt.anrui.scm.api.scmvehiclestayinventory.AppScmVehicleStayInventoryListPageVo;
import com.yxt.anrui.scm.api.scmvehiclestaypatrolinspection.*;
import com.yxt.common.base.utils.PagerUtil;
import com.yxt.common.base.utils.StringUtils;
@@ -38,8 +37,6 @@ import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
-import java.util.List;
-
/**
* Project: anrui_scm(anrui_scm)
diff --git a/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionDetailsVo.java b/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionDetailsVo.java
index aee49d4eb6..c4ebf249db 100644
--- a/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionDetailsVo.java
+++ b/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionDetailsVo.java
@@ -116,4 +116,12 @@ public class AppGressionDetailsVo implements Vo {
@ApiModelProperty("车架号")
private List scmVehicleGressionVehs;
+ @ApiModelProperty("调出方负责人名称")
+ @JsonProperty("personName")
+ private String staffName;
+
+ @ApiModelProperty("调出方负责人用户sid")
+ @JsonProperty("personSid")
+ private String personUserSid;
+
}
diff --git a/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionInfoVo.java b/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionInfoVo.java
index 2201e582a4..5eec0227b5 100644
--- a/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionInfoVo.java
+++ b/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionInfoVo.java
@@ -104,5 +104,13 @@ public class AppGressionInfoVo implements Vo {
@ApiModelProperty("现场照片")
private List image;
+ @ApiModelProperty("调出方负责人名称")
+ @JsonProperty("personName")
+ private String staffName;
+
+ @ApiModelProperty("调出方负责人用户sid")
+ @JsonProperty("personSid")
+ private String personUserSid;
+
}
diff --git a/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionPageVo.java b/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionPageVo.java
index a610fc64c9..29f8f57d48 100644
--- a/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionPageVo.java
+++ b/anrui-terminal/anrui-terminal-api/src/main/java/com/yxt/anrui/terminal/api/supplychain/scmvehiclegression/AppGressionPageVo.java
@@ -5,6 +5,8 @@ import com.yxt.common.core.vo.Vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import java.util.List;
+
@Data
public class AppGressionPageVo implements Vo {
@@ -27,6 +29,9 @@ public class AppGressionPageVo implements Vo {
@ApiModelProperty("临时出门证下载")
private String downloadUrl;
+ @ApiModelProperty("车架号")
+ private List scmVehicleGressionVehs;
+
@ApiModelProperty("是否显示删除 流程未提交时 显示")
private String showDetectBtn;
@ApiModelProperty("是否显示办理 流程未提交时 显示")
diff --git a/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/baseInfo/AppScmBaseInfoService.java b/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/baseInfo/AppScmBaseInfoService.java
index 0491623c13..a309b48137 100644
--- a/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/baseInfo/AppScmBaseInfoService.java
+++ b/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/baseInfo/AppScmBaseInfoService.java
@@ -31,12 +31,12 @@ public class AppScmBaseInfoService {
String inspectedCarNum = scmVehicleExamineFeign.getToDoNum(userSid).getData();
String storageCarNum = scmVehicleEnterlibraryFeign.getToDoNum(userSid).getData();
String moveCarNum = scmVehicleGressionFeign.getToDoNum(userSid).getData();
- String inventoryCarNum = scmVehicleStayInventoryFeign.getToDoNum(userSid).getData();
+// String inventoryCarNum = scmVehicleStayInventoryFeign.getToDoNum(userSid).getData();
String inspectinoCarNum = scmVehicleStayPatrolinspectionFeign.getToDoNum(userSid).getData();
appScmBaseInfoVo.setInspectedCarNum(inspectedCarNum);
appScmBaseInfoVo.setStorageCarNum(storageCarNum);
appScmBaseInfoVo.setMoveCarNum(moveCarNum);
- appScmBaseInfoVo.setInventoryCarNum(inventoryCarNum);
+// appScmBaseInfoVo.setInventoryCarNum(inventoryCarNum);
appScmBaseInfoVo.setInspectinoCarNum(inspectinoCarNum);
return rb.success().setData(appScmBaseInfoVo);
}
diff --git a/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/inventory/AppScmVehicleInventoryService.java b/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/inventory/AppScmVehicleInventoryService.java
index 7b425d39e7..345c0f3675 100644
--- a/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/inventory/AppScmVehicleInventoryService.java
+++ b/anrui-terminal/anrui-terminal-biz/src/main/java/com/yxt/anrui/terminal/biz/supplychain/inventory/AppScmVehicleInventoryService.java
@@ -27,8 +27,8 @@ package com.yxt.anrui.terminal.biz.supplychain.inventory;
import cn.hutool.core.bean.BeanUtil;
import com.yxt.anrui.scm.api.scmvehicleinventory.*;
-import com.yxt.anrui.scm.api.scmvehiclestayinventory.AppScmVehicleStayInventoryListPageQuery;
-import com.yxt.anrui.scm.api.scmvehiclestayinventory.AppScmVehicleStayInventoryListPageVo;
+import com.yxt.anrui.scm.api.scmvehicleinventory.AppScmVehicleStayInventoryListPageQuery;
+import com.yxt.anrui.scm.api.scmvehicleinventory.AppScmVehicleStayInventoryListPageVo;
import com.yxt.anrui.scm.api.scmvehiclestayinventory.ScmVehicleStayInventoryFeign;
import com.yxt.anrui.terminal.api.supplychain.inventory.*;
import com.yxt.anrui.terminal.config.CoverUtils;
@@ -67,8 +67,9 @@ public class AppScmVehicleInventoryService {
* @return
*/
public ResultBean getInventoryRecords(String userSid) {
- ResultBean resultBean = scmVehicleStayInventoryFeign.getInventoryRecords(userSid);
- return resultBean;
+// ResultBean resultBean = scmVehicleStayInventoryFeign.getInventoryRecords(userSid);
+// return resultBean;
+ return null;
}
/**
@@ -80,7 +81,7 @@ public class AppScmVehicleInventoryService {
public ResultBean> getInventoryList(PagerQuery pagerQuery) {
ResultBean> rb = ResultBean.fireFail();
PagerQuery pq = CoverUtils.getPagerQuery(pagerQuery);
- ResultBean> inspectionList = scmVehicleStayInventoryFeign.getInventoryList(pq);
+ ResultBean> inspectionList = scmVehicleInventoryFeign.getInventoryList(pq);
PagerVo vo = CoverUtils.selectPagerVo(inspectionList.getData());
return rb.success().setData(vo);
}