|
|
@@ -39,7 +39,6 @@ public class SyncProductStockTask {
|
|
|
while(rs2.next()) {
|
|
|
String V_HOUR = rs2.getGeneralString("v_hour");
|
|
|
String V_MI = rs2.getGeneralString("v_mi");
|
|
|
- baseDao.execute("update CUSTOMTABLE set ct_varchar50_2=to_char(sysdate,'yyyy-mm-dd HH24:mi:ss') where ct_id=1032876 ");
|
|
|
if (("08".equals(V_HOUR) || "20".equals(V_HOUR) || "02".equals(V_HOUR) || "14".equals(V_HOUR) )
|
|
|
// && ("00".equals(V_MI) )
|
|
|
) {
|
|
|
@@ -56,9 +55,7 @@ public class SyncProductStockTask {
|
|
|
"and ct_statuscode='AUDITED' order by ct_id desc) where rownum=1)" +
|
|
|
" order by cd_detno) A) where rn<=1000";
|
|
|
SqlRowList rs = baseDao.queryForRowSet(Sql);
|
|
|
- baseDao.execute("update CUSTOMTABLE set ct_varchar50_3=to_char(sysdate,'yyyy-mm-dd HH24:mi:ss') where ct_id=1032876 ");
|
|
|
while (rs.next()) {
|
|
|
- baseDao.execute("update CUSTOMTABLE set ct_varchar50_4=to_char(sysdate,'yyyy-mm-dd HH24:mi:ss') where ct_id=1032876 ");
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("factory_code", configuration.getX5vendercode());
|
|
|
map.put("component_code", rs.getGeneralString("cd_varchar50_3"));
|
|
|
@@ -74,7 +71,6 @@ public class SyncProductStockTask {
|
|
|
}
|
|
|
data.put("data", list);
|
|
|
if (list.size() > 0) {
|
|
|
- baseDao.execute("update CUSTOMTABLE set ct_varchar50_5=to_char(sysdate,'yyyy-mm-dd HH24:mi:ss') where ct_id=1032876 ");
|
|
|
x5JsonHttpClient.post(data, configuration, baseDao, "ProductStock");
|
|
|
}
|
|
|
}
|