Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jyzb_platformV2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
赵剑炜
jyzb_platformV2
Commits
90e78870
Commit
90e78870
authored
Mar 14, 2024
by
李小惠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
89e5e9af
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
13 行增加
和
3 行删除
+13
-3
log_error.log
app-log/log_error.log
+4
-0
log_total.log
app-log/log_total.log
+0
-0
TemperatureRedisCache.java
jyzb-biz/src/main/java/com/junmp/jyzb/cache/TemperatureRedisCache.java
+2
-1
OrderController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/OrderController.java
+1
-1
LogSummaryServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/LogSummaryServiceImpl.java
+1
-1
OrderMainServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/OrderMainServiceImpl.java
+5
-0
没有找到文件。
app-log/log_error.log
View file @
90e78870
...
...
@@ -961,3 +961,7 @@ Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL synta
2024-03-14 03:25:09.563 ERROR 15708 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-14 03:29:19.190 ERROR 15708 --- [http-nio-10030-exec-1] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
2024-03-14 04:53:03.490 ERROR 15708 --- [http-nio-10030-exec-3] c.j.j.b.c.handle.GlobalExceptionHandler : 业务异常,错误信息为:单据不存在
2024-03-14 05:18:09.192 ERROR 18736 --- [main] easy-es : Easy-Es supported elasticsearch and restHighLevelClient jar version is:7.14.0 ,Please resolve the dependency conflict!
2024-03-14 08:34:14.539 ERROR 18736 --- [http-nio-10030-exec-8] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
2024-03-14 08:38:12.978 ERROR 18736 --- [http-nio-10030-exec-7] c.j.j.b.c.handle.GlobalExceptionHandler : >授权异常>>获取token失败,请检查header和param中是否传递了用户token
app-log/log_total.log
View file @
90e78870
This source diff could not be displayed because it is too large. You can
view the blob
instead.
jyzb-biz/src/main/java/com/junmp/jyzb/cache/TemperatureRedisCache.java
View file @
90e78870
...
...
@@ -33,8 +33,9 @@ public class TemperatureRedisCache extends AbstractRedisCache<Object> {
data
.
setWarehouseName
(
warehouseName
);
// String key = warehouseId;
// Long size = getRedisTemplate().opsForZSet().size(key);
getRedisTemplate
().
expire
(
"WarehouseDev:"
+
warehouseId
,
259200
,
TimeUnit
.
SECONDS
);
getRedisTemplate
().
opsForZSet
().
add
(
"WarehouseDev:"
+
warehouseId
,
data
,
timestamp
);
getRedisTemplate
().
opsForValue
().
getOperations
().
expire
(
"WarehouseDev:"
+
warehouseId
,
259200
,
TimeUnit
.
SECONDS
);
// Setting expire directly on the key
put
(
warehouseId
,
data
);
}
public
List
<
Object
>
getDataByTimestampRange
(
String
warehouseId
,
long
startTimestamp
,
long
endTimestamp
)
{
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/OrderController.java
View file @
90e78870
...
...
@@ -90,7 +90,7 @@ public class OrderController {
}
//记账完成之后往消息队列推送消息表示该单子已经完成结算
@PostMapping
(
path
=
"/
Accounting
"
,
name
=
"记账#logType=30"
)
@PostMapping
(
path
=
"/"
,
name
=
"记账#logType=30"
)
@ApiOperation
(
"记账"
)
public
ApiRes
<
Boolean
>
Accounting
(
@RequestBody
@Validated
(
ValidationApi
.
delete
.
class
)
UpdateOrderReq
req
){
return
ApiRes
.
success
(
orderMainService
.
Accounting
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/LogSummaryServiceImpl.java
View file @
90e78870
...
...
@@ -769,7 +769,7 @@ public class LogSummaryServiceImpl extends ServiceImpl<LogSummaryMapper, LogSumm
Map
<
String
,
LogSummaryReq
>
logMap
=
new
HashMap
<>();
for
(
InventoryReq
inv:
list
)
{
logMap
=
setLogSummaryToMap
(
logMap
,
loginUser
,
inv
.
getLocationId
(),
inv
.
getBussinessType
()
,
inv
.
getTypeName
(),
logMap
=
setLogSummaryToMap
(
logMap
,
loginUser
,
inv
.
getLocationId
(),
bussinessType
,
inv
.
getTypeName
(),
inv
.
getLocationName
(),
orderId
,
orderCode
,
inv
.
getOrgId
(),
inv
.
getLocationState
(),
deviceType
);
}
logMap
=
setLogDetailToMap
(
list
,
logMap
,
bussinessType
);
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/OrderMainServiceImpl.java
View file @
90e78870
...
...
@@ -1039,6 +1039,7 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
if
(
orderMain
.
getOrderType
().
equals
(
"in"
)){
//入库
Random
random
=
new
Random
();
for
(
int
i
=
0
;
i
<
subNum
;
i
++)
{
String
epc
=
"000000"
+
DateTimeUtil
.
getCurrentDateTime
().
getTime
()+(
random
.
nextInt
(
999999
-
100000
+
1
)
+
100000
);
Inventory
inventory
=
new
Inventory
();
InventoryReq
inventoryReq
=
new
InventoryReq
();
...
...
@@ -1064,6 +1065,10 @@ public class OrderMainServiceImpl extends ServiceImpl<OrderMainMapper, OrderMain
inventory
.
setLocationName
(
detailJsonReq
.
getLocationName
());
inventory
.
setBussinessType
(
req
.
getBussinessType
());
inventory
.
setLocationState
(
"in"
);
inventory
.
setSupplierId
(
orderMain
.
getBussinessType
().
equals
(
"purchase"
)?
orderMain
.
getSupplierId
():
null
);
inventory
.
setSupplierName
(
orderMain
.
getBussinessType
().
equals
(
"purchase"
)?
orderMain
.
getSupplierName
():
null
);
addInvList
.
add
(
inventory
);
BeanPlusUtil
.
copyProperties
(
inventory
,
inventoryReq
);
addReqInvList
.
add
(
inventoryReq
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论