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
259195cb
Commit
259195cb
authored
Dec 08, 2023
by
赵剑炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加盘点类
parent
ae6012e7
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
312 行增加
和
0 行删除
+312
-0
BussinessInventory.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/BussinessInventory.java
+157
-0
InventoryDetail.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/InventoryDetail.java
+100
-0
BussinessInventoryMapper.java
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/BussinessInventoryMapper.java
+20
-0
BussinessInventoryService.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/BussinessInventoryService.java
+16
-0
BussinessInventoryServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/BussinessInventoryServiceImpl.java
+19
-0
没有找到文件。
jyzb-biz/src/main/java/com/junmp/jyzb/entity/BussinessInventory.java
0 → 100644
View file @
259195cb
package
com
.
junmp
.
jyzb
.
entity
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
*
* @TableName base_bus_form
*/
@TableName
(
value
=
"bussiness_inventory"
)
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties
(
ignoreUnknown
=
true
)
public
class
BussinessInventory
implements
Serializable
{
/**
* id
*/
@TableId
(
value
=
"id"
)
@Id
private
String
id
;
/**
* 工作流id
*/
@TableField
(
value
=
"process_id"
)
private
Integer
processId
;
/**
* 单据业务类型
*/
@TableField
(
value
=
"bussiness_type"
)
private
String
bussinessType
;
/**
* 单据编号
*/
@TableField
(
value
=
"order"
)
private
String
order
;
/**
* 年度
*/
@TableField
(
value
=
"year"
)
private
Integer
year
;
/**
* 月
*/
@TableField
(
value
=
"month"
)
private
Integer
month
;
/**
* 申请时间
*/
@TableField
(
value
=
"apply_time"
)
private
Date
applyTime
;
/**
* 仓库名称
*/
@TableField
(
value
=
"warehouse_name"
)
private
String
warehouseName
;
/**
* 组织机构ID
*/
@TableField
(
value
=
"org_id"
)
private
Long
orgId
;
/**
* 组织机构名称
*/
@TableField
(
value
=
"org_name"
)
private
String
orgName
;
/**
* 经办人
*/
@TableField
(
value
=
"operator"
)
private
String
operator
;
/**
* 盘点状态
*/
@TableField
(
value
=
"inventory_state"
)
private
String
inventoryState
;
/**
*
*/
@TableField
(
value
=
"inventory_type"
)
private
Integer
inventoryType
;
/**
* 类别
*/
@TableField
(
value
=
"rules"
)
private
String
rules
;
/**
* 经办人id
*/
@TableField
(
value
=
"result"
)
private
String
result
;
/**
* 原有epc备份
*/
@TableField
(
value
=
"epc_back"
)
private
String
epcBack
;
/**
* 需要更新的epc汇总
*/
@TableField
(
value
=
"epc_update"
)
private
String
epc_update
;
/**
* 归还人
*/
@TableField
(
value
=
"examine_state"
)
private
String
examineState
;
/**
* 归还日期
*/
@TableField
(
value
=
"manual_state"
)
private
Date
manualState
;
/**
* 创建时间
*/
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 更新时间
*/
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
jyzb-biz/src/main/java/com/junmp/jyzb/entity/InventoryDetail.java
0 → 100644
View file @
259195cb
package
com
.
junmp
.
jyzb
.
entity
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
org.springframework.data.annotation.Id
;
import
java.io.Serializable
;
import
java.util.Date
;
@TableName
(
value
=
"bussiness_inventory_detail"
)
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties
(
ignoreUnknown
=
true
)
public
class
InventoryDetail
implements
Serializable
{
/**
* id
*/
@TableId
(
value
=
"id"
)
@Id
private
Long
id
;
/**
* 盘点表主键
*/
@TableField
(
value
=
"inventory_id"
)
private
Long
inventoryId
;
/**
* 装备类型id
*/
@TableField
(
value
=
"type_id"
)
private
String
typeId
;
/**
* 装备类型名称
*/
@TableField
(
value
=
"type_name"
)
private
String
typeName
;
/**
* 装备号型id
*/
@TableField
(
value
=
"size_id"
)
private
String
sizeId
;
/**
* 装备号型名称
*/
@TableField
(
value
=
"size_name"
)
private
String
sizeName
;
/**
* 在库数(包含报废区)
*/
@TableField
(
value
=
"stock_number"
)
private
Integer
stockNumber
;
/**
* 修正后的在库数量
*/
@TableField
(
value
=
"fix_number"
)
private
Integer
fixNumber
;
/**
* 差距数量
*/
@TableField
(
value
=
"num"
)
private
Integer
num
;
/**
* 状态.0正常,1盈余,2亏损
*/
@TableField
(
value
=
"state"
)
private
Integer
state
;
/**
* 创建时间
*/
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
/**
* 更新时间
*/
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
private
static
final
long
serialVersionUID
=
1L
;
}
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/BussinessInventoryMapper.java
0 → 100644
View file @
259195cb
package
com
.
junmp
.
jyzb
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.junmp.jyzb.entity.BusForm
;
import
com.junmp.jyzb.entity.BussinessInventory
;
import
com.junmp.jyzb.entity.CabinetBox
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
import
java.util.Map
;
@Mapper
public
interface
BussinessInventoryMapper
extends
BaseMapper
<
BussinessInventory
>
{
}
jyzb-biz/src/main/java/com/junmp/jyzb/service/BussinessInventoryService.java
0 → 100644
View file @
259195cb
package
com
.
junmp
.
jyzb
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.junmp.jyzb.api.bean.dto.BusFormDto
;
import
com.junmp.jyzb.api.bean.query.QueryBusFormReq
;
import
com.junmp.jyzb.api.bean.req.UpdateBusFormReq
;
import
com.junmp.jyzb.entity.BusForm
;
import
com.junmp.jyzb.entity.BussinessInventory
;
import
com.junmp.v2.db.api.page.PageResult
;
public
interface
BussinessInventoryService
extends
IService
<
BussinessInventory
>
{
}
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/BussinessInventoryServiceImpl.java
0 → 100644
View file @
259195cb
package
com
.
junmp
.
jyzb
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.junmp.jyzb.entity.BussinessInventory
;
import
com.junmp.jyzb.entity.CabinetBoxPolice
;
import
com.junmp.jyzb.mapper.BussinessInventoryMapper
;
import
com.junmp.jyzb.mapper.CabinetBoxPoliceMapper
;
import
com.junmp.jyzb.service.BussinessInventoryService
;
import
com.junmp.jyzb.service.CabinetBoxPoliceService
;
import
org.springframework.stereotype.Service
;
@Service
public
class
BussinessInventoryServiceImpl
extends
ServiceImpl
<
BussinessInventoryMapper
,
BussinessInventory
>
implements
BussinessInventoryService
{
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论