作者 朱兆平

给九州发送数据,双CLIENT,同时发送货运数据 和 通关数据

@@ -117,7 +117,7 @@ public class DaoImpl implements Dao { @@ -117,7 +117,7 @@ public class DaoImpl implements Dao {
117 117
118 public int getMaxFID(String sqlmax) { 118 public int getMaxFID(String sqlmax) {
119 // String sqlmax = "select max(fid) from MESSAGE_BAK WHERE (FID>%s and FID<%s+%s) AND (TYPE='CLR' OR TYPE='ES1' OR TYPE='IS1' OR STYP = 'BSTA' OR STYP = 'FZE_RCF' OR STYP = 'FSU_FOH' OR STYP = 'FSU_DEP' OR STYP = 'COST' OR STYP = 'ABME' OR STYP = 'FZE_DEP' OR STYP = 'FSU_RCF') ORDER BY FID\n"; 119 // String sqlmax = "select max(fid) from MESSAGE_BAK WHERE (FID>%s and FID<%s+%s) AND (TYPE='CLR' OR TYPE='ES1' OR TYPE='IS1' OR STYP = 'BSTA' OR STYP = 'FZE_RCF' OR STYP = 'FSU_FOH' OR STYP = 'FSU_DEP' OR STYP = 'COST' OR STYP = 'ABME' OR STYP = 'FZE_DEP' OR STYP = 'FSU_RCF') ORDER BY FID\n";
120 - sqlmax = ConfigUtils.SQlMax; 120 +// sqlmax = ConfigUtils.SQlMax;
121 return this.jdbcTemplate.queryForInt(sqlmax); 121 return this.jdbcTemplate.queryForInt(sqlmax);
122 } 122 }
123 123