|
|
@@ -60,7 +60,7 @@ public class WmesService {
|
|
|
@Before(Tx.class)
|
|
|
@TxConfig("oracle")
|
|
|
public static void transData(){
|
|
|
- List<Record> find = Db.find("select * from jinzai_upload_master where upload_time is null limit 200");
|
|
|
+ List<Record> find = Db.find("select * from jinzai_upload_master where upload_time is null limit 2000");
|
|
|
|
|
|
if(find.isEmpty()){
|
|
|
Log.info("当前无数据,不同步");
|
|
|
@@ -105,7 +105,7 @@ public class WmesService {
|
|
|
@Override
|
|
|
public boolean run() throws SQLException {
|
|
|
Db.use("oracle").update(udfSqlString);
|
|
|
- Db.use("oracle").batchSave("WMS_PROD.CUS_ASN_SERIALNO", datas, 300);
|
|
|
+ Db.use("oracle").batchSave("WMS_PROD.CUS_ASN_SERIALNO", datas, 500);
|
|
|
return true; // 事务提交
|
|
|
}
|
|
|
});
|