Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
warehouse
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
苗卫卫
warehouse
Commits
7c42d91d
提交
7c42d91d
authored
1 年前
作者:
chaining
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/dev' into dev
父级
b6c56fd0
803aac25
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
66 行增加
和
3 行删除
+66
-3
src/main/java/com/boco/nbd/wios/export/Contants.java
+2
-2
src/main/java/com/boco/nbd/wios/export/impl/WarehouseExport.java
+4
-0
src/main/java/com/boco/nbd/wios/manage/entity/bo/Warehouse.java
+30
-0
src/main/java/com/boco/nbd/wios/manage/entity/dto/WarehouseDTO.java
+6
-0
src/main/java/com/boco/nbd/wios/manage/entity/dto/WarehouseDTO2.java
+10
-0
src/main/resources/mybatis/mapper/extdb/common/WarehouseMapperEx.xml
+14
-1
没有找到文件。
src/main/java/com/boco/nbd/wios/export/Contants.java
查看文件 @
7c42d91d
...
...
@@ -63,9 +63,9 @@ public class Contants {
public
static
final
String
export_warrantyOrder_field
=
"no,orderId,userName,userPhone,wallboxNo,startTimeStr,endTimeStr"
;
public
static
final
String
export_wareHouse_title
=
"
仓库ID,仓库名称,仓库等级ID,仓库归属,区域,安装服务商
"
;
public
static
final
String
export_wareHouse_title
=
"
序号,仓库名称,仓库等级,所属区域,仓库归属,所属服务商,启用状态,描述
"
;
public
static
final
String
export_wareHouse_field
=
"
id,name,warehouseLevenId,warehouseAttribution,area,serviceProvider
"
;
public
static
final
String
export_wareHouse_field
=
"
no,name,warehouseLevenName,areaName,warehouseAttributionName,serviceProviderName,isEnabledName,msg
"
;
public
static
final
String
export_single_title
=
"调拨单号,创建时间,创建人,说明,调拨类型,调入仓库,调出仓库"
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/boco/nbd/wios/export/impl/WarehouseExport.java
查看文件 @
7c42d91d
...
...
@@ -35,6 +35,10 @@ public class WarehouseExport implements Export<WarehouseDTO2> {
WarehouseQuery2
condition
=
mapper
.
readValue
(
json
,
WarehouseQuery2
.
class
);
condition
.
setIsWarehousePage
(
2
);
List
<
WarehouseDTO2
>
list
=
warehouseService
.
qryWarehouseDetailList
(
condition
);
int
no
=
1
;
for
(
WarehouseDTO2
vo
:
list
)
{
vo
.
setNo
(
no
++);
}
return
list
;
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/boco/nbd/wios/manage/entity/bo/Warehouse.java
查看文件 @
7c42d91d
...
...
@@ -44,6 +44,12 @@ public class Warehouse extends CoreEntity {
private
String
receivePhone
;
private
String
receiveAddress
;
@ApiModelProperty
(
value
=
"仓库等级名称"
)
private
String
warehouseLevenName
;
@ApiModelProperty
(
value
=
"是否启用的名称"
)
private
String
isEnabledName
;
@ApiModelProperty
(
value
=
"仓库归属名称"
)
private
String
warehouseAttributionName
;
public
String
getId
()
{
return
id
;
...
...
@@ -189,6 +195,30 @@ public class Warehouse extends CoreEntity {
this
.
receiveAddress
=
receiveAddress
;
}
public
String
getWarehouseLevenName
()
{
return
warehouseLevenName
;
}
public
void
setWarehouseLevenName
(
String
warehouseLevenName
)
{
this
.
warehouseLevenName
=
warehouseLevenName
;
}
public
String
getIsEnabledName
()
{
return
isEnabledName
;
}
public
void
setIsEnabledName
(
String
isEnabledName
)
{
this
.
isEnabledName
=
isEnabledName
;
}
public
String
getWarehouseAttributionName
()
{
return
warehouseAttributionName
;
}
public
void
setWarehouseAttributionName
(
String
warehouseAttributionName
)
{
this
.
warehouseAttributionName
=
warehouseAttributionName
;
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/boco/nbd/wios/manage/entity/dto/WarehouseDTO.java
查看文件 @
7c42d91d
...
...
@@ -27,6 +27,8 @@ public class WarehouseDTO implements Serializable {
@ApiModelProperty
(
value
=
"仓库等级ID"
)
private
String
warehouseLevenId
;
@ApiModelProperty
(
value
=
"仓库等级名称"
)
private
String
warehouseLevenName
;
@ApiModelProperty
(
value
=
"仓库名称"
)
private
String
name
;
...
...
@@ -39,6 +41,8 @@ public class WarehouseDTO implements Serializable {
@ApiModelProperty
(
value
=
"仓库归属"
)
private
String
warehouseAttribution
;
@ApiModelProperty
(
value
=
"仓库归属名称"
)
private
String
warehouseAttributionName
;
@ApiModelProperty
(
value
=
"描述"
)
private
String
msg
;
...
...
@@ -60,6 +64,8 @@ public class WarehouseDTO implements Serializable {
@ApiModelProperty
(
value
=
"是否启用 0:否 1:是"
)
private
Integer
isEnabled
;
@ApiModelProperty
(
value
=
"是否启用的名称"
)
private
String
isEnabledName
;
@ApiModelProperty
(
"是否可删除,0:否 1:是"
)
private
Integer
isDel
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/boco/nbd/wios/manage/entity/dto/WarehouseDTO2.java
查看文件 @
7c42d91d
...
...
@@ -12,6 +12,8 @@ public class WarehouseDTO2 extends WarehouseDTO {
@ApiModelProperty
(
"区域层级"
)
private
String
areaPathCode
;
@ApiModelProperty
(
"序号"
)
private
Integer
no
;
public
String
getAreaName
()
{
return
areaName
;
...
...
@@ -36,4 +38,12 @@ public class WarehouseDTO2 extends WarehouseDTO {
public
void
setAreaPathCode
(
String
areaPathCode
)
{
this
.
areaPathCode
=
areaPathCode
;
}
public
Integer
getNo
()
{
return
no
;
}
public
void
setNo
(
Integer
no
)
{
this
.
no
=
no
;
}
}
This diff is collapsed.
Click to expand it.
src/main/resources/mybatis/mapper/extdb/common/WarehouseMapperEx.xml
查看文件 @
7c42d91d
...
...
@@ -87,7 +87,20 @@
tw.receive_address,
twl.parent_id parentId,
twl.path_code pathCode,
twl.path_name pathName
twl.path_name pathName,
case
when tw.warehouse_attribution = 1 then 'CAMS仓库'
when tw.warehouse_attribution = 2 then '安装服务商仓库'
end warehouseAttributionName,
case
when tw.warehouse_leven_id = 0 then '总仓'
when tw.warehouse_leven_id = 1 then '仓库'
when tw.warehouse_leven_id = 2 then '网点'
end warehouseLevenName,
case
when tw.is_enabled = 0 then '已禁用'
when tw.is_enabled = 1 then '已启用'
end isEnabledName
from
t_warehouse tw
LEFT JOIN t_warehouse_leven twl on tw.warehouse_leven_id = twl.id
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论