Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jyzb_platformV2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
赵剑炜
jyzb_platformV2
Commits
b07771f3
Commit
b07771f3
authored
Mar 08, 2024
by
赵剑炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改盘库接口
parent
1fcf17b2
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
91 行增加
和
55 行删除
+91
-55
EquipmentListDto.java
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/dto/EquipmentListDto.java
+12
-1
InventoryMapDto.java
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/dto/InventoryMapDto.java
+1
-0
BussinessInventoryChildrenDetail.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/BussinessInventoryChildrenDetail.java
+13
-6
InventoryMapper.java
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/InventoryMapper.java
+1
-1
BussinessInventoryServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/BussinessInventoryServiceImpl.java
+63
-46
InventoryMapper.xml
jyzb-biz/src/main/resources/mapper/InventoryMapper.xml
+1
-1
没有找到文件。
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/dto/EquipmentListDto.java
View file @
b07771f3
...
@@ -3,6 +3,9 @@ package com.junmp.jyzb.api.bean.dto;
...
@@ -3,6 +3,9 @@ package com.junmp.jyzb.api.bean.dto;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.List
;
@Data
@Data
public
class
EquipmentListDto
{
public
class
EquipmentListDto
{
private
String
typeId
;
private
String
typeId
;
...
@@ -15,5 +18,13 @@ public class EquipmentListDto {
...
@@ -15,5 +18,13 @@ public class EquipmentListDto {
private
String
num
;
private
String
num
;
private
String
state
;
private
String
state
;
private
String
accountNumber
;
private
String
accountNumber
;
private
List
<
PriceInfo
>
priceInfo
;
@Data
public
static
class
PriceInfo
{
private
BigDecimal
price
;
private
String
num
;
private
Integer
accountNumber
;
private
BigDecimal
stockPrice
;
}
}
}
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/dto/InventoryMapDto.java
View file @
b07771f3
...
@@ -11,6 +11,7 @@ public class InventoryMapDto {
...
@@ -11,6 +11,7 @@ public class InventoryMapDto {
private
String
id
;
private
String
id
;
private
String
warehouseId
;
private
String
warehouseId
;
private
String
warehouseName
;
private
String
warehouseName
;
private
String
childrenId
;
private
Long
orgId
;
private
Long
orgId
;
private
String
orgName
;
private
String
orgName
;
private
String
typeId
;
private
String
typeId
;
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/entity/BussinessInventoryChildrenDetail.java
View file @
b07771f3
...
@@ -8,9 +8,11 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
...
@@ -8,9 +8,11 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
org.apache.poi.hpsf.Decimal
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.annotation.Id
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -25,7 +27,7 @@ public class BussinessInventoryChildrenDetail implements Serializable {
...
@@ -25,7 +27,7 @@ public class BussinessInventoryChildrenDetail implements Serializable {
*/
*/
@TableId
(
value
=
"id"
)
@TableId
(
value
=
"id"
)
@Id
@Id
private
Stri
ng
id
;
private
Lo
ng
id
;
/**
/**
* 工作流id
* 工作流id
...
@@ -39,6 +41,16 @@ public class BussinessInventoryChildrenDetail implements Serializable {
...
@@ -39,6 +41,16 @@ public class BussinessInventoryChildrenDetail implements Serializable {
@TableField
(
value
=
"is_use"
)
@TableField
(
value
=
"is_use"
)
private
Integer
isUse
;
private
Integer
isUse
;
/**
/**
* 是否已使用
*/
@TableField
(
value
=
"price"
)
private
BigDecimal
price
;
/**
*
*/
@TableField
(
value
=
"total_price"
)
private
BigDecimal
totalPrice
;
/**
* 工作流id
* 工作流id
*/
*/
@TableField
(
value
=
"production_date"
)
@TableField
(
value
=
"production_date"
)
...
@@ -60,11 +72,6 @@ public class BussinessInventoryChildrenDetail implements Serializable {
...
@@ -60,11 +72,6 @@ public class BussinessInventoryChildrenDetail implements Serializable {
@TableField
(
value
=
"num"
)
@TableField
(
value
=
"num"
)
private
Integer
num
;
private
Integer
num
;
/**
* 月
*/
@TableField
(
value
=
"price"
)
private
Integer
price
;
/**
/**
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/InventoryMapper.java
View file @
b07771f3
...
@@ -24,7 +24,7 @@ public interface InventoryMapper extends BaseMapper<Inventory> {
...
@@ -24,7 +24,7 @@ public interface InventoryMapper extends BaseMapper<Inventory> {
//根据单警柜统计装备信息
//根据单警柜统计装备信息
List
<
WarehouseInvDto
>
GetViewWarehouseInv
(
@Param
(
"
warehouse
Id"
)
Long
orgId
,
@Param
(
"typeIdsList"
)
List
<
String
>
typeIdsList
,
@Param
(
"sizeIds"
)
List
<
String
>
sizeIds
);
List
<
WarehouseInvDto
>
GetViewWarehouseInv
(
@Param
(
"
org
Id"
)
Long
orgId
,
@Param
(
"typeIdsList"
)
List
<
String
>
typeIdsList
,
@Param
(
"sizeIds"
)
List
<
String
>
sizeIds
);
List
<
ViewEquipmentDto
>
GetViewEquipment
(
@Param
(
"epcList"
)
List
<
String
>
epcList
);
List
<
ViewEquipmentDto
>
GetViewEquipment
(
@Param
(
"epcList"
)
List
<
String
>
epcList
);
List
<
EpcListDto
>
GetViewCountByepcs
(
@Param
(
"epcList"
)
List
<
String
>
epcList
);
List
<
EpcListDto
>
GetViewCountByepcs
(
@Param
(
"epcList"
)
List
<
String
>
epcList
);
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/BussinessInventoryServiceImpl.java
View file @
b07771f3
差异被折叠。
点击展开。
jyzb-biz/src/main/resources/mapper/InventoryMapper.xml
View file @
b07771f3
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
</select>
</select>
<delete
id=
"deleteByEpcs"
parameterType=
"java.util.List"
>
<delete
id=
"deleteByEpcs"
parameterType=
"java.util.List"
>
DELETE FROM inventory
DELETE FROM
base_
inventory
WHERE epc IN
WHERE epc IN
<foreach
item=
"item"
index=
"index"
collection=
"list"
<foreach
item=
"item"
index=
"index"
collection=
"list"
open=
"("
separator=
","
close=
")"
>
open=
"("
separator=
","
close=
")"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论