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
c0ee413c
提交
c0ee413c
authored
7月 01, 2021
作者:
Wangjiajie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更改上传汇总单功能
上级
02a80fcd
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
32 行增加
和
31 行删除
+32
-31
IostDeliveryRecordPicController.java
.../basedata/controller/IostDeliveryRecordPicController.java
+0
-0
IostSummarySheetController.java
.../iost/basedata/controller/IostSummarySheetController.java
+28
-29
IostSummarySheetList.java
...cg/modules/iost/basedata/entity/IostSummarySheetList.java
+2
-2
IIostSummarySheetListService.java
...s/iost/basedata/service/IIostSummarySheetListService.java
+1
-0
IostSummarySheetListServiceImpl.java
...asedata/service/impl/IostSummarySheetListServiceImpl.java
+1
-0
IostSummarySheetController.class
...iost/basedata/controller/IostSummarySheetController.class
+0
-0
IostSummarySheetList.class
...g/modules/iost/basedata/entity/IostSummarySheetList.class
+0
-0
IostSummarySheetListServiceImpl.class
...sedata/service/impl/IostSummarySheetListServiceImpl.class
+0
-0
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/IostDeliveryRecordPicController.java
浏览文件 @
c0ee413c
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/IostSummarySheetController.java
浏览文件 @
c0ee413c
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
java.io.UnsupportedEncodingException
;
import
java.io.IOException
;
import
java.math.BigDecimal
;
import
java.net.URLDecoder
;
import
java.text.DecimalFormat
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
...
...
@@ -17,40 +13,22 @@ import java.util.stream.Collectors;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
org.jeecg.modules.iost.basedata.entity.*
;
import
org.jeecg.modules.iost.basedata.service.*
;
import
org.jeecgframework.poi.excel.ExcelImportUtil
;
import
org.jeecgframework.poi.excel.def.NormalExcelConstants
;
import
org.jeecgframework.poi.excel.entity.ExportParams
;
import
org.jeecgframework.poi.excel.entity.ImportParams
;
import
org.jeecgframework.poi.excel.view.JeecgEntityExcelView
;
import
org.jeecg.common.system.vo.LoginUser
;
import
org.apache.ibatis.ognl.IntHashMap
;
import
org.apache.shiro.SecurityUtils
;
import
org.apache.shiro.authz.annotation.RequiresPermissions
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.system.query.QueryGenerator
;
import
org.jeecg.common.util.FillRuleUtil
;
import
org.jeecg.common.util.oConvertUtils
;
import
org.jeecg.modules.iost.basedata.entity.IostSummarySheetList
;
import
org.jeecg.modules.iost.basedata.entity.IostCustomer
;
import
org.jeecg.modules.iost.basedata.entity.IostCustomerlist
;
import
org.jeecg.modules.iost.basedata.entity.IostDeliveryNote
;
import
org.jeecg.modules.iost.basedata.entity.IostDeliveryNoteList
;
import
org.jeecg.modules.iost.basedata.entity.IostDeliveryRecord
;
import
org.jeecg.modules.iost.basedata.entity.IostDeliveryRecordList
;
import
org.jeecg.modules.iost.basedata.entity.IostReceivingNote
;
import
org.jeecg.modules.iost.basedata.entity.IostReceivingNoteList
;
import
org.jeecg.modules.iost.basedata.entity.IostSummarySheet
;
import
org.jeecg.modules.iost.basedata.vo.IostDeliveryNotePage
;
import
org.jeecg.modules.iost.basedata.vo.IostReceivingNotePage
;
import
org.jeecg.modules.iost.basedata.vo.IostSummarySheetPage
;
import
org.jeecg.modules.iost.basedata.service.IIostSummarySheetService
;
import
org.jeecg.modules.iost.basedata.service.IIostCustomerService
;
import
org.jeecg.modules.iost.basedata.service.IIostCustomerlistService
;
import
org.jeecg.modules.iost.basedata.service.IIostDeliveryNoteService
;
import
org.jeecg.modules.iost.basedata.service.IIostDeliveryRecordListService
;
import
org.jeecg.modules.iost.basedata.service.IIostDeliveryRecordService
;
import
org.jeecg.modules.iost.basedata.service.IIostReceivingNoteService
;
import
org.jeecg.modules.iost.basedata.service.IIostSummarySheetListService
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -63,17 +41,13 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.hutool.core.date.DateTime
;
import
lombok.extern.slf4j.Slf4j
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.constant.FillRuleConstant
;
/**
/**
* @Description: 汇总单
* @Author: jeecg-boot
* @Date: 2020-12-22
...
...
@@ -101,6 +75,8 @@ public class IostSummarySheetController {
private
IIostCustomerService
iostCustomerService
;
@Autowired
private
IIostCustomerlistService
iostCustomerlistService
;
@Autowired
private
IIostDeliveryRecordPicService
iostDeliveryRecordPicService
;
/**
* 分页列表查询
...
...
@@ -540,6 +516,29 @@ public class IostSummarySheetController {
iostReceivingNoteListList
.
add
(
addSumRow
(
iostReceivingNoteListList
));
return
Result
.
OK
(
iostReceivingNoteListList
);
}
/**
* 编辑
*
* @param iostDeliveryRecordPic
* @return
*/
@AutoLog
(
value
=
"上传汇总单-编辑"
)
@ApiOperation
(
value
=
"上传汇总单-编辑"
,
notes
=
"上传汇总单-编辑"
)
@PutMapping
(
value
=
"/updateSummarySheetList"
)
public
Result
<?>
edit
(
@RequestBody
IostDeliveryRecordPic
iostDeliveryRecordPic
)
{
IostDeliveryRecordPic
curPic
=
iostDeliveryRecordPicService
.
getById
(
iostDeliveryRecordPic
.
getId
());
if
(
curPic
!=
null
){
iostDeliveryRecordPicService
.
updateById
(
iostDeliveryRecordPic
);
}
else
{
iostDeliveryRecordPicService
.
save
(
iostDeliveryRecordPic
);
}
IostSummarySheetList
sheetList
=
iostSummarySheetListService
.
getById
(
iostDeliveryRecordPic
.
getId
());
sheetList
.
setDeliverStatus
(
"2"
);
iostSummarySheetListService
.
updateById
(
sheetList
);
return
Result
.
OK
(
"编辑成功!"
);
}
/***
* 增加统计行
* @param iostSummarySheetLists
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/IostSummarySheetList.java
浏览文件 @
c0ee413c
...
...
@@ -80,7 +80,7 @@ public class IostSummarySheetList implements Serializable {
@ApiModelProperty
(
value
=
"送货状态"
)
private
java
.
lang
.
String
deliverStatus
;
public
void
setDeliverStatus
(
String
deliverStatus
)
{
/*
public void setDeliverStatus(String deliverStatus) {
this.deliverStatus=deliverStatus;
switch (deliverStatus){
case "1":
...
...
@@ -90,7 +90,7 @@ public class IostSummarySheetList implements Serializable {
this.deliverStatus = "已送货";
break;
}
}
}
*/
/**汇总单id*/
@ApiModelProperty
(
value
=
"汇总单id"
)
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/IIostSummarySheetListService.java
浏览文件 @
c0ee413c
...
...
@@ -13,4 +13,5 @@ import java.util.List;
public
interface
IIostSummarySheetListService
extends
IService
<
IostSummarySheetList
>
{
public
List
<
IostSummarySheetList
>
selectByMainId
(
String
mainId
);
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/IostSummarySheetListServiceImpl.java
浏览文件 @
c0ee413c
...
...
@@ -20,6 +20,7 @@ public class IostSummarySheetListServiceImpl extends ServiceImpl<IostSummaryShee
@Autowired
private
IostSummarySheetListMapper
iostSummarySheetListMapper
;
@Override
public
List
<
IostSummarySheetList
>
selectByMainId
(
String
mainId
)
{
return
iostSummarySheetListMapper
.
selectByMainId
(
mainId
);
...
...
jeecg-boot-module-system/target/classes/org/jeecg/modules/iost/basedata/controller/IostSummarySheetController.class
浏览文件 @
c0ee413c
No preview for this file type
jeecg-boot-module-system/target/classes/org/jeecg/modules/iost/basedata/entity/IostSummarySheetList.class
浏览文件 @
c0ee413c
No preview for this file type
jeecg-boot-module-system/target/classes/org/jeecg/modules/iost/basedata/service/impl/IostSummarySheetListServiceImpl.class
浏览文件 @
c0ee413c
No preview for this file type
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论