Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
EIP-Integration
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
李炎
EIP-Integration
Commits
eaff6a93
提交
eaff6a93
authored
8月 25, 2021
作者:
李炎
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
e5fef840
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
14 行增加
和
11 行删除
+14
-11
MaterialinventoryTimed.java
...cg/modules/iost/API/TimedTask/MaterialinventoryTimed.java
+1
-1
PhysicalIDTimed.java
...org/jeecg/modules/iost/API/TimedTask/PhysicalIDTimed.java
+1
-1
ProductInventoryTimed.java
...ecg/modules/iost/API/TimedTask/ProductInventoryTimed.java
+1
-1
ProductionOrderTimed.java
...eecg/modules/iost/API/TimedTask/ProductionOrderTimed.java
+1
-1
ProductionSchedulingTimed.java
...modules/iost/API/TimedTask/ProductionSchedulingTimed.java
+1
-1
PurchaseorderTimed.java
.../jeecg/modules/iost/API/TimedTask/PurchaseorderTimed.java
+1
-1
ReserveStockTimed.java
...g/jeecg/modules/iost/API/TimedTask/ReserveStockTimed.java
+1
-1
SalesOrderTimed.java
...org/jeecg/modules/iost/API/TimedTask/SalesOrderTimed.java
+1
-1
SupplylistTimed.java
...org/jeecg/modules/iost/API/TimedTask/SupplylistTimed.java
+1
-1
KingdeeJournalController.java
...I/controller/kingdeejournal/KingdeeJournalController.java
+4
-1
PurchaseorderServiceImpl.java
...dules/iost/API/service/impl/PurchaseorderServiceImpl.java
+1
-1
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/MaterialinventoryTimed.java
浏览文件 @
eaff6a93
...
@@ -48,7 +48,7 @@ public class MaterialinventoryTimed implements Job {
...
@@ -48,7 +48,7 @@ public class MaterialinventoryTimed implements Job {
/**设置定时器功能
/**设置定时器功能
* */
* */
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
iMaterialinventoryService
.
synchronization
(
null
);
iMaterialinventoryService
.
synchronization
(
null
);
}
}
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/PhysicalIDTimed.java
浏览文件 @
eaff6a93
...
@@ -24,7 +24,7 @@ public class PhysicalIDTimed implements Job {
...
@@ -24,7 +24,7 @@ public class PhysicalIDTimed implements Job {
/**测试定时*/
/**测试定时*/
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
physicalIDService
.
synchronization
(
null
);
physicalIDService
.
synchronization
(
null
);
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/ProductInventoryTimed.java
浏览文件 @
eaff6a93
...
@@ -28,7 +28,7 @@ public class ProductInventoryTimed implements Job {
...
@@ -28,7 +28,7 @@ public class ProductInventoryTimed implements Job {
/**测试定时*/
/**测试定时*/
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
productInventoryService
.
synchronization
(
null
);
productInventoryService
.
synchronization
(
null
);
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/ProductionOrderTimed.java
浏览文件 @
eaff6a93
...
@@ -16,7 +16,7 @@ public class ProductionOrderTimed {
...
@@ -16,7 +16,7 @@ public class ProductionOrderTimed {
@Autowired
@Autowired
IProductionOrderService
productionOrderService
;
IProductionOrderService
productionOrderService
;
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
job
()
throws
ParseException
{
public
void
job
()
throws
ParseException
{
productionOrderService
.
synchronization
(
null
);
productionOrderService
.
synchronization
(
null
);
}
}
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/ProductionSchedulingTimed.java
浏览文件 @
eaff6a93
...
@@ -16,7 +16,7 @@ public class ProductionSchedulingTimed {
...
@@ -16,7 +16,7 @@ public class ProductionSchedulingTimed {
@Autowired
@Autowired
IProductionSchedulingService
productionSchedulingService
;
IProductionSchedulingService
productionSchedulingService
;
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
job
()
throws
ParseException
{
public
void
job
()
throws
ParseException
{
productionSchedulingService
.
synchronization
(
null
);
productionSchedulingService
.
synchronization
(
null
);
}
}
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/PurchaseorderTimed.java
浏览文件 @
eaff6a93
...
@@ -24,7 +24,7 @@ public class PurchaseorderTimed implements Job {
...
@@ -24,7 +24,7 @@ public class PurchaseorderTimed implements Job {
/**测试定时*/
/**测试定时*/
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
JSONObject
synchronization
=
iPurchaseorderService
.
synchronizationList
(
null
);
JSONObject
synchronization
=
iPurchaseorderService
.
synchronizationList
(
null
);
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/ReserveStockTimed.java
浏览文件 @
eaff6a93
...
@@ -30,7 +30,7 @@ public class ReserveStockTimed implements Job {
...
@@ -30,7 +30,7 @@ public class ReserveStockTimed implements Job {
* 测试定时
* 测试定时
*/
*/
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000 * 60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
reserveStockService
.
synchronization
(
null
);
reserveStockService
.
synchronization
(
null
);
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/SalesOrderTimed.java
浏览文件 @
eaff6a93
...
@@ -24,7 +24,7 @@ public class SalesOrderTimed {
...
@@ -24,7 +24,7 @@ public class SalesOrderTimed {
@Autowired
@Autowired
ISalesOrderService
salesOrderService
;
ISalesOrderService
salesOrderService
;
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
job
()
throws
ParseException
{
public
void
job
()
throws
ParseException
{
salesOrderService
.
synchronization
(
null
);
salesOrderService
.
synchronization
(
null
);
}
}
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/TimedTask/SupplylistTimed.java
浏览文件 @
eaff6a93
...
@@ -25,7 +25,7 @@ public class SupplylistTimed implements Job {
...
@@ -25,7 +25,7 @@ public class SupplylistTimed implements Job {
@Autowired
@Autowired
ISupplyListIService
supplyListIService
;
ISupplyListIService
supplyListIService
;
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
// @Scheduled(cron = "0 0 1 * * ?")//cron表达式每天凌晨一点
//
@Scheduled(fixedDelay = 1000*60)
@Scheduled
(
fixedDelay
=
1000
*
60
)
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
public
void
Materialinventory
()
throws
IOException
,
ParseException
{
supplyListIService
.
synchronization
(
null
);
supplyListIService
.
synchronization
(
null
);
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/controller/kingdeejournal/KingdeeJournalController.java
浏览文件 @
eaff6a93
...
@@ -90,7 +90,7 @@ public class KingdeeJournalController {
...
@@ -90,7 +90,7 @@ public class KingdeeJournalController {
Object
filterString
=
null
;
Object
filterString
=
null
;
if
(
businessNo
!=
null
)
{
if
(
businessNo
!=
null
)
{
if
(
businessNo
!=
1
){
if
(
businessNo
!=
1
){
...
@@ -100,6 +100,9 @@ public class KingdeeJournalController {
...
@@ -100,6 +100,9 @@ public class KingdeeJournalController {
case
1
:
case
1
:
String
synchronization1
=
kingdeeJournalService
.
synchronizationAdd
(
businessNo
,
king
);
String
synchronization1
=
kingdeeJournalService
.
synchronizationAdd
(
businessNo
,
king
);
jsonObject
=
JSONObject
.
fromObject
(
synchronization1
);
jsonObject
=
JSONObject
.
fromObject
(
synchronization1
);
JSONObject
result
=
JSONObject
.
fromObject
(
jsonObject
.
get
(
"Result"
));
Object
o
=
JSONObject
.
fromObject
(
result
.
get
(
"ResponseStatus"
)).
get
(
"IsSuccess"
);
success
=
(
Boolean
)
o
;
ok
=
Result
.
OK
(
jsonObject
);
ok
=
Result
.
OK
(
jsonObject
);
break
;
break
;
case
2
:
case
2
:
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/API/service/impl/PurchaseorderServiceImpl.java
浏览文件 @
eaff6a93
...
@@ -166,7 +166,7 @@ public class PurchaseorderServiceImpl extends ServiceImpl<PurchaseorderMapper, P
...
@@ -166,7 +166,7 @@ public class PurchaseorderServiceImpl extends ServiceImpl<PurchaseorderMapper, P
map
.
get
(
"amount"
)
==
null
||
Integer
.
parseInt
(
map
.
get
(
"amount"
).
toString
())
<=
0
)
{
map
.
get
(
"amount"
)
==
null
||
Integer
.
parseInt
(
map
.
get
(
"amount"
).
toString
())
<=
0
)
{
}
else
{
}
else
{
JSONObject
model
=
JSONObject
.
fromObject
(
map
);
//转换数据格式
JSONObject
model
=
JSONObject
.
fromObject
(
map
);
//转换数据格式
Map
<
String
,
Object
>
SAL_SaleOrder
=
FieldConversion
.
nameAPI
(
model
);
//拼接需要的数据
Map
<
String
,
Object
>
SAL_SaleOrder
=
FieldConversion
.
nameAPI
(
model
);
//拼接需要的数据
字段转换
String
rswebapi
=
salesOrderWebapi
.
add
(
SAL_SaleOrder
);
//同步到金蝶
String
rswebapi
=
salesOrderWebapi
.
add
(
SAL_SaleOrder
);
//同步到金蝶
System
.
out
.
println
(
rswebapi
);
System
.
out
.
println
(
rswebapi
);
JSONObject
Result
=
JSONObject
.
fromObject
(
rswebapi
);
//
JSONObject
Result
=
JSONObject
.
fromObject
(
rswebapi
);
//
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论