Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
e328acba
提交
e328acba
authored
5月 18, 2021
作者:
邓砥奕
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新
上级
e88e1b69
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
48 行增加
和
9 行删除
+48
-9
AllotBillSelectController.java
...ev/device/allot/controller/AllotBillSelectController.java
+6
-0
AllotBill.java
...va/com/tykj/dev/device/allot/subject/domin/AllotBill.java
+11
-1
RepairBillSelectController.java
.../device/repair/controller/RepairBillSelectController.java
+14
-2
bill.html
dev-union/src/main/resources/bill.html
+17
-6
docxModel.docx
dev-union/src/main/resources/docxModel.docx
+0
-0
没有找到文件。
dev-allot/src/main/java/com/tykj/dev/device/allot/controller/AllotBillSelectController.java
浏览文件 @
e328acba
...
...
@@ -67,7 +67,9 @@ public class AllotBillSelectController {
@ApiOperation
(
value
=
"查询配发单详情页"
,
notes
=
"可以通过这个接口查询配发单"
)
@GetMapping
(
value
=
"/archives/allot/detail/{id}"
)
public
ResponseEntity
selectAllotBillDetail
(
@PathVariable
(
"id"
)
int
id
)
{
//获取所有装备id map
Map
<
Integer
,
DeviceLibrary
>
deviceLibraryMap
=
deviceLibraryService
.
getAllDeviceMap
();
//返回的数组
List
<
Object
>
list
=
new
ArrayList
<>();
//set账单用户名称并添加
AllotBill
allotBillEntity
=
allotBillService
.
getOne
(
id
);
...
...
@@ -79,10 +81,12 @@ public class AllotBillSelectController {
if
(
allotBillEntity
.
getReceiveUserbId
()
!=
null
)
{
allotBillEntity
.
setReceiveUserB
(
userService
.
getOne
(
allotBillEntity
.
getReceiveUserbId
()).
getName
());
}
//转换文件
allotBillEntity
.
setSendFileList
(
FilesUtil
.
stringFileToList
(
allotBillEntity
.
getSendFiles
()));
allotBillEntity
.
setReceiveFileList
(
FilesUtil
.
stringFileToList
(
allotBillEntity
.
getReceiveFiles
()));
allotBillEntity
.
setReplyFileList
(
FilesUtil
.
stringFileToList
(
allotBillEntity
.
getReplyFiles
()));
allotBillEntity
.
setApplyFileList
(
FilesUtil
.
stringFileToList
(
allotBillEntity
.
getApplyFiles
()));
//转换单据
if
(
allotBillEntity
.
getScriptJson
()!=
null
){
allotBillEntity
.
setScripts
(
JacksonUtil
.
readValue
(
allotBillEntity
.
getScriptJson
(),
new
TypeReference
<
List
<
ScriptSaveVo
>>()
{}));
}
...
...
@@ -101,7 +105,9 @@ public class AllotBillSelectController {
@ApiOperation
(
value
=
"查询退回单详情页"
,
notes
=
"可以通过这个接口查询退回单"
)
@GetMapping
(
value
=
"/archives/back/detail/{id}"
)
public
ResponseEntity
selectBackBillDetail
(
@PathVariable
(
"id"
)
int
id
)
{
//获取所有装备id map
Map
<
Integer
,
DeviceLibrary
>
deviceLibraryMap
=
deviceLibraryService
.
getAllDeviceMap
();
//返回的数组
List
<
Object
>
list
=
new
ArrayList
<>();
//set账单用户名称并添加
AllotBackBill
allotBillEntity
=
allotBackBillService
.
getOne
(
id
);
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/subject/domin/AllotBill.java
浏览文件 @
e328acba
...
...
@@ -241,37 +241,47 @@ public class AllotBill {
@ApiModelProperty
(
value
=
"区块链记录id"
)
private
String
recordId
;
@ApiModelProperty
(
value
=
"装备集合"
)
@Transient
private
List
<
DeviceLibrary
>
deviceLibraries
;
@ApiModelProperty
(
value
=
"批复文号文件"
)
@Column
(
name
=
"reply_files"
,
columnDefinition
=
"TEXT"
)
private
String
replyFiles
;
@ApiModelProperty
(
value
=
"申请文号文件"
)
@Column
(
name
=
"apply_files"
,
columnDefinition
=
"TEXT"
)
private
String
applyFiles
;
@ApiModelProperty
(
value
=
"发件方回执单"
)
@Column
(
name
=
"send_files"
,
columnDefinition
=
"TEXT"
)
private
String
sendFiles
;
@ApiModelProperty
(
value
=
"收件方签收单"
)
@Column
(
name
=
"receive_files"
,
columnDefinition
=
"TEXT"
)
private
String
receiveFiles
;
@ApiModelProperty
(
value
=
"单据集合json"
)
@Column
(
name
=
"script_json"
,
columnDefinition
=
"TEXT"
)
private
String
scriptJson
;
@ApiModelProperty
(
value
=
"单据集合"
)
@Transient
private
List
<
ScriptSaveVo
>
scripts
=
new
ArrayList
<>();
@ApiModelProperty
(
value
=
"批复文号文件集合"
)
@Transient
private
List
<
FileRet
>
replyFileList
=
new
ArrayList
<>();
@ApiModelProperty
(
value
=
"申请文号文件集合"
)
@Transient
private
List
<
FileRet
>
applyFileList
=
new
ArrayList
<>();
@ApiModelProperty
(
value
=
"发件方回执单集合"
)
@Transient
private
List
<
FileRet
>
sendFileList
=
new
ArrayList
<>();
@ApiModelProperty
(
value
=
"收件方签收单集合"
)
@Transient
private
List
<
FileRet
>
receiveFileList
=
new
ArrayList
<>();
}
dev-repair/src/main/java/com/tykj/dev/device/repair/controller/RepairBillSelectController.java
浏览文件 @
e328acba
...
...
@@ -133,8 +133,20 @@ public class RepairBillSelectController {
@ApiOperation
(
value
=
"查询领取单"
,
notes
=
"可以通过这个接口查询领取单"
)
@PostMapping
(
value
=
"/archives/repairBack/summary"
)
public
ResponseEntity
selectRepairBackBill
(
@RequestBody
RepairBillSelectVo
repairBillSelectVo
)
{
// Page<RepairBackBill> page = repairBackBillService.getPage(repairBillSelectVo, repairBillSelectVo.getPageable());
return
ResultUtil
.
success
(
repairBackBillService
.
getPage
(
repairBillSelectVo
,
repairBillSelectVo
.
getPageable
()));
Page
<
RepairBackBill
>
repairBackBills
=
repairBackBillService
.
getPage
(
repairBillSelectVo
,
repairBillSelectVo
.
getPageable
());
repairBackBills
.
getContent
().
forEach
(
repairBackBill
->
{
if
(
repairBackBill
.
getStartUseraId
()
!=
null
)
{
repairBackBill
.
setStartUserA
(
userPublicService
.
getOne
(
repairBackBill
.
getStartUseraId
()).
getName
());
}
repairBackBill
.
setStartUserB
(
repairBackBill
.
getAgent
());
if
(
repairBackBill
.
getReceiveUseraId
()
!=
null
)
{
repairBackBill
.
setReceiveUserA
(
userPublicService
.
getOne
(
repairBackBill
.
getReceiveUseraId
()).
getName
());
}
if
(
repairBackBill
.
getReceiveUserbId
()
!=
null
)
{
repairBackBill
.
setReceiveUserB
(
userPublicService
.
getOne
(
repairBackBill
.
getReceiveUserbId
()).
getName
());
}
});
return
ResultUtil
.
success
(
repairBackBills
);
}
@ApiOperation
(
value
=
"查询维修单详情"
,
notes
=
"可以通过这个接口查询维修单详情"
)
...
...
dev-union/src/main/resources/bill.html
浏览文件 @
e328acba
...
...
@@ -359,7 +359,7 @@
</div>
<div
style=
"display:inline-block;text-align:center; width: 33%; font-size: 10px;"
class=
"number"
>
<span>
(${ul
}!
)
</span>
<span>
(${ul
!}
)
</span>
</div>
<div
style=
"display:inline-block;text-align:right; width: 33%; font-size: 10px;"
class=
"number"
>
...
...
@@ -449,8 +449,16 @@
<span
class=
"value"
>
${nameB1!}
</span>
</span>
</div>
<div
style=
"position: relative;left: 250px;top: 38px;"
>
<i
style=
"bottom: 30px;right: 90px;"
>
<div
style=
"left: 250px;top: 38px;"
>
<!--<div style="position: relative;left: 250px;top: 38px;">-->
<
#
if
srcB=
='"1"'
>
<i
style=
"position: absolute;bottom: 10px;right: -150px;"
>
<
#
else
>
<i
style=
"position: absolute;bottom: 10px;right: -85px;"
>
</
#
if>
<!--<i style="bottom: 30px;right: 90px;"> -->
<span
style=
"color: #000"
>
<span
style=
"margin-bottom: 5px;"
>
(公章)
</span>
<span><span
style=
"color: #fff;"
>
1234
</span>
年
<span
...
...
@@ -458,7 +466,8 @@
style=
"color: #fff;"
>
0232
</span>
日
</span>
<!--<div class="rightImg">-->
<!--<div id="pos1">-->
<img
style=
"position: absolute;bottom: 0px;right: 150px;width:80px;height:80px"
src=
${srcB}
/>
<img
id=
"imgB"
style=
"position: fixed;bottom: 38px;right: 164px;width:80px;height:80px"
src=
${srcB}
/>
<!--</div>-->
<!--</div>-->
</span>
...
...
@@ -477,5 +486,8 @@
</div>
</div>
</body>
</html>
</html>
\ No newline at end of file
dev-union/src/main/resources/docxModel.docx
浏览文件 @
e328acba
No preview for this file type
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论