Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
EIP-API
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
李炎
EIP-API
Commits
5dedd539
提交
5dedd539
authored
6月 24, 2021
作者:
Wangjiajie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改物流状态
上级
ed388552
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
17 行增加
和
14 行删除
+17
-14
IostReceivingNoteController.java
...iost/basedata/controller/IostReceivingNoteController.java
+3
-0
IostDeliveryRecordPageMapper.xml
...iost/basedata/mapper/xml/IostDeliveryRecordPageMapper.xml
+7
-7
IostReceivingNoteController.class
...ost/basedata/controller/IostReceivingNoteController.class
+0
-0
IostDeliveryRecordPageMapper.xml
...iost/basedata/mapper/xml/IostDeliveryRecordPageMapper.xml
+7
-7
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/IostReceivingNoteController.java
浏览文件 @
5dedd539
...
@@ -542,12 +542,14 @@ public class IostReceivingNoteController {
...
@@ -542,12 +542,14 @@ public class IostReceivingNoteController {
double
totleWeightTotal
=
0
;
//重量总
double
totleWeightTotal
=
0
;
//重量总
int
totlePackagesTotal
=
0
;
//箱数总
int
totlePackagesTotal
=
0
;
//箱数总
double
totlePrice
=
0
;
//价格总
double
totlePrice
=
0
;
//价格总
double
totleMoney
=
0
;
//
for
(
IostReceivingNoteList
iostReceivingNoteList:
iostIostReceivingNoteList
)
for
(
IostReceivingNoteList
iostReceivingNoteList:
iostIostReceivingNoteList
)
{
{
totlevolume
=
totlevolume
+
iostReceivingNoteList
.
getVolume
();
totlevolume
=
totlevolume
+
iostReceivingNoteList
.
getVolume
();
totlePackagesTotal
=
totlePackagesTotal
+
iostReceivingNoteList
.
getPackages
();
totlePackagesTotal
=
totlePackagesTotal
+
iostReceivingNoteList
.
getPackages
();
totleWeightTotal
=
totleWeightTotal
+
iostReceivingNoteList
.
getWeight
();
totleWeightTotal
=
totleWeightTotal
+
iostReceivingNoteList
.
getWeight
();
totlePrice
=
totlePrice
+
iostReceivingNoteList
.
getPrice
();
totlePrice
=
totlePrice
+
iostReceivingNoteList
.
getPrice
();
totleMoney
=
totleMoney
+
iostReceivingNoteList
.
getMoney
();
}
}
IostReceivingNoteList
curIostReceivingNotlist
=
new
IostReceivingNoteList
();
IostReceivingNoteList
curIostReceivingNotlist
=
new
IostReceivingNoteList
();
curIostReceivingNotlist
.
setNameChs
(
"总和"
);
curIostReceivingNotlist
.
setNameChs
(
"总和"
);
...
@@ -555,6 +557,7 @@ public class IostReceivingNoteController {
...
@@ -555,6 +557,7 @@ public class IostReceivingNoteController {
curIostReceivingNotlist
.
setWeight
(
totleWeightTotal
);
curIostReceivingNotlist
.
setWeight
(
totleWeightTotal
);
curIostReceivingNotlist
.
setPackages
(
totlePackagesTotal
);
curIostReceivingNotlist
.
setPackages
(
totlePackagesTotal
);
curIostReceivingNotlist
.
setPrice
(
totlePrice
);
curIostReceivingNotlist
.
setPrice
(
totlePrice
);
curIostReceivingNotlist
.
setMoney
(
totleMoney
);
iostIostReceivingNoteList
.
add
(
curIostReceivingNotlist
);
iostIostReceivingNoteList
.
add
(
curIostReceivingNotlist
);
}
}
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/IostDeliveryRecordPageMapper.xml
浏览文件 @
5dedd539
...
@@ -3,18 +3,19 @@
...
@@ -3,18 +3,19 @@
<mapper
namespace=
"org.jeecg.modules.iost.basedata.mapper.IostDeliveryRecordPageMapper"
>
<mapper
namespace=
"org.jeecg.modules.iost.basedata.mapper.IostDeliveryRecordPageMapper"
>
<select
id=
"selectlist"
resultType=
"org.jeecg.modules.iost.basedata.vo.IostDeliveryRecordPage"
>
<select
id=
"selectlist"
resultType=
"org.jeecg.modules.iost.basedata.vo.IostDeliveryRecordPage"
>
SELECT *
SELECT D.*,L.date,L.location FROM iost_deliverstatus AS D LEFT JOIN (
FROM iost_deliverstatus AS D,iost_deliverstatus_list AS L
SELECT * FROM iost_deliverstatus_list WHERE id IN(
SELECT MAX(id) id FROM iost_deliverstatus_list GROUP BY deliverstatus_id
)) AS L
ON D.id = L.deliverstatus_id
<where>
<where>
<if
test=
"iostDeliveryRecordPage.bulkNo !=null"
>
<if
test=
"iostDeliveryRecordPage.bulkNo !=null"
>
and bulk_no =
iostDeliveryRecordPage.bulkNo
and bulk_no =
#{iostDeliveryRecordPage.bulkNo}
</if>
</if>
<if
test=
"iostDeliveryRecordPage.containerNo !=null"
>
<if
test=
"iostDeliveryRecordPage.containerNo !=null"
>
and container_no =
iostDeliveryRecordPage.bulkNo
and container_no =
#{iostDeliveryRecordPage.containerNo}
</if>
</if>
and D.id = L.deliverstatus_id
</where>
</where>
limit #{pageNo},#{pageSize}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/target/classes/org/jeecg/modules/iost/basedata/controller/IostReceivingNoteController.class
浏览文件 @
5dedd539
No preview for this file type
jeecg-boot-module-system/target/classes/org/jeecg/modules/iost/basedata/mapper/xml/IostDeliveryRecordPageMapper.xml
浏览文件 @
5dedd539
...
@@ -3,18 +3,19 @@
...
@@ -3,18 +3,19 @@
<mapper
namespace=
"org.jeecg.modules.iost.basedata.mapper.IostDeliveryRecordPageMapper"
>
<mapper
namespace=
"org.jeecg.modules.iost.basedata.mapper.IostDeliveryRecordPageMapper"
>
<select
id=
"selectlist"
resultType=
"org.jeecg.modules.iost.basedata.vo.IostDeliveryRecordPage"
>
<select
id=
"selectlist"
resultType=
"org.jeecg.modules.iost.basedata.vo.IostDeliveryRecordPage"
>
SELECT *
SELECT D.*,L.date,L.location FROM iost_deliverstatus AS D LEFT JOIN (
FROM iost_deliverstatus AS D,iost_deliverstatus_list AS L
SELECT * FROM iost_deliverstatus_list WHERE id IN(
SELECT MAX(id) id FROM iost_deliverstatus_list GROUP BY deliverstatus_id
)) AS L
ON D.id = L.deliverstatus_id
<where>
<where>
<if
test=
"iostDeliveryRecordPage.bulkNo !=null"
>
<if
test=
"iostDeliveryRecordPage.bulkNo !=null"
>
and bulk_no =
iostDeliveryRecordPage.bulkNo
and bulk_no =
#{iostDeliveryRecordPage.bulkNo}
</if>
</if>
<if
test=
"iostDeliveryRecordPage.containerNo !=null"
>
<if
test=
"iostDeliveryRecordPage.containerNo !=null"
>
and container_no =
iostDeliveryRecordPage.bulkNo
and container_no =
#{iostDeliveryRecordPage.containerNo}
</if>
</if>
and D.id = L.deliverstatus_id
</where>
</where>
limit #{pageNo},#{pageSize}
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论