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
3c2690a4
提交
3c2690a4
authored
1 年前
作者:
zhangqiliang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增发货的时候,分别根据是墙盒还是辅材,分别获取物料编码,物料名称,厂商等信息,存入
父级
aa131c9f
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
5 行删除
+21
-5
src/main/java/com/boco/nbd/wios/flow/controller/FlowOrderController.java
+2
-2
src/main/java/com/boco/nbd/wios/manage/controller/WallboxApplyController.java
+1
-1
src/main/java/com/boco/nbd/wios/manage/entity/bo/WarehouseDetail.java
+10
-0
src/main/resources/mybatis/mapper/def/common/WallboxApplyMapper.xml
+1
-1
src/main/resources/mybatis/mapper/extdb/common/WarehouseMapperEx.xml
+7
-1
没有找到文件。
src/main/java/com/boco/nbd/wios/flow/controller/FlowOrderController.java
查看文件 @
3c2690a4
...
...
@@ -195,8 +195,8 @@ public class FlowOrderController {
List
<
OrderPO
>
has
=
list
.
stream
().
filter
(
i
->
i
.
getInstallWallboxModel
().
equals
(
"CAMS"
)).
collect
(
Collectors
.
toList
());
return
ResponseMessage2
.
Success2
(
has
);
}
else
{
List
<
OrderPO
>
has
=
list
.
stream
().
filter
(
i
->
!
i
.
getInstallWallboxModel
().
equals
(
"CAMS"
)).
collect
(
Collectors
.
toList
());
return
ResponseMessage2
.
Success2
(
has
);
//
List<OrderPO> has = list.stream().filter(i -> !i.getInstallWallboxModel().equals("CAMS")).collect(Collectors.toList());
return
ResponseMessage2
.
Success2
(
list
);
}
}
}
This diff is collapsed.
Click to expand it.
src/main/java/com/boco/nbd/wios/manage/controller/WallboxApplyController.java
查看文件 @
3c2690a4
...
...
@@ -72,7 +72,7 @@ public class WallboxApplyController {
throw
new
ServiceException
(
"订单不存在"
);
}
Integer
status
=
order
.
getStatus
();
// 检查订单状态是否在
0
-43之间
// 检查订单状态是否在
19
-43之间
boolean
allowed
=
status
>=
OrderStatus
.
SURVEY_FINISH
.
getType
()
&&
status
<=
OrderStatus
.
INSTALLING
.
getType
();
if
(!
allowed
)
{
throw
new
ServiceException
(
"订单已在安装中,无法申请"
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/boco/nbd/wios/manage/entity/bo/WarehouseDetail.java
查看文件 @
3c2690a4
...
...
@@ -13,6 +13,7 @@ public class WarehouseDetail extends CoreEntity {
private
String
name
;
private
String
receivePeople
;
private
String
receivePhone
;
private
String
materialsName
;
public
String
getId
()
{
return
id
;
}
...
...
@@ -44,4 +45,12 @@ public class WarehouseDetail extends CoreEntity {
public
void
setReceivePhone
(
String
receivePhone
)
{
this
.
receivePhone
=
receivePhone
;
}
public
String
getMaterialsName
()
{
return
materialsName
;
}
public
void
setMaterialsName
(
String
materialsName
)
{
this
.
materialsName
=
materialsName
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/resources/mybatis/mapper/def/common/WallboxApplyMapper.xml
查看文件 @
3c2690a4
...
...
@@ -134,7 +134,6 @@
t_wallbox_apply.created_time,
t_wallbox_apply.modify_account,
t_wallbox_apply.modify_time,
t_wallbox_apply.area_name,
t_order.shipno as tracking_number,
t_order.status as install_status,
td.logistic_order deliveryLogisticOrder,td.logistic_company logisticCompany,td.sender sender,td.sender_phone senderPhone,td.receiver receiver,
...
...
@@ -158,6 +157,7 @@
</if>
</where>
group by t_wallbox_apply.order_id
order by t_wallbox_apply.created_time
</select>
<select
id=
"selectWallboxApplyById"
parameterType=
"Long"
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/mybatis/mapper/extdb/common/WarehouseMapperEx.xml
查看文件 @
3c2690a4
...
...
@@ -184,7 +184,12 @@
select id,name from t_warehouse where id = #{superiorWarehouseId}
</select>
<select
id=
"warehouseDetailById"
parameterType=
"string"
resultType=
"com.boco.nbd.wios.manage.entity.bo.WarehouseDetail"
>
select id,name,receive_people,receive_phone from t_warehouse where id = #{id}
select tw.id,tw.name,tw.receive_people,tw.receive_phone,ts.materials_name
from t_warehouse tw
left join t_warehouse_materials tm on tm.warehouse_id = tw.id
left join t_materials ts on ts.id = tm.materials_id
where tw.id = #{id}
GROUP BY tw.id
</select>
</mapper>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论