Index: forgon-core/src/main/java/com/forgon/Constants.java =================================================================== diff -u -r14738 -r14854 --- forgon-core/src/main/java/com/forgon/Constants.java (.../Constants.java) (revision 14738) +++ forgon-core/src/main/java/com/forgon/Constants.java (.../Constants.java) (revision 14854) @@ -18,7 +18,7 @@ public final static String[] SOFTWARE_VERSION_ARRAY = new String[] { "3.3.0","3.3.8", "3.3.9", "3.3.10","3.3.12","3.3.13","3.8.0","3.9.0","3.9.1","3.9.2","4.0.2","4.0.3","4.0.4", "4.0.5","4.0.6","4.0.44","4.0.45","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9","4.2.0","4.2.1","4.2.2", - "4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4"};// 版本列表 + "4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5"};// 版本列表 public final static List SOFTWARE_VERSION_LIST = Arrays .asList(SOFTWARE_VERSION_ARRAY); public final static String SOFTWARE_VERSION = SOFTWARE_VERSION_ARRAY[SOFTWARE_VERSION_ARRAY.length - 1];// 软件最新版本 Index: ssts-web/src/main/webapp/dataUpdater/sqls/4.3.4_4.3.5.sql =================================================================== diff -u --- ssts-web/src/main/webapp/dataUpdater/sqls/4.3.4_4.3.5.sql (revision 0) +++ ssts-web/src/main/webapp/dataUpdater/sqls/4.3.4_4.3.5.sql (revision 14854) @@ -0,0 +1,4 @@ +update TousseDefinition set haveDisposableMaterial=1 where (select count(*) from DiposableGoodsInstance where tousseDefinition_id=TousseDefinition.id) > 0; +update TousseDefinition set haveDisposableMaterial=0 where (select count(*) from DiposableGoodsInstance where tousseDefinition_id=TousseDefinition.id) = 0; +update IDCardInstance set lastTousseInstanceId=(select max(id) from TousseInstance where idCardInstanceID=IDCardInstance.id) where lastTousseInstanceId is null; +update IDCardDefinition set lastTousseInstanceId=(select max(lastTousseInstanceId) from IDCardInstance where idCardDefinitionID=IDCardDefinition.id) where lastTousseInstanceId is null; \ No newline at end of file