Просмотр исходного кода

新项目旧数据处理项目完成日期接口

anderx 1 год назад
Родитель
Сommit
0b53184383

+ 9 - 6
src/main/java/com/goafanti/order/service/impl/OrderProjectServiceImpl.java

@@ -2076,21 +2076,24 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 					//高新 10已下证 科技 18立项已拨款 专利/软著 19已完成/下证 会员 27全部完成
 					Map map2 = (Map) map.get("10");
 					Integer x=10;
-					if (map2==null){
+					String date = (String) map2.get("date");
+					if (date==null){
 						map2 = (Map) map.get("18");
+						date = (String) map2.get("date");
 						x=18;
 					}
-					if (map2==null) {
+					if (date==null) {
 						map2 = (Map) map.get("19");
+						date = (String) map2.get("date");
 						x=19;
 					}
-					if (map2==null){
+					if (date==null){
 						map2 = (Map) map.get("27");
+						date = (String) map2.get("date");
 						x=27;
 					}
-					if(map2!=null){
-						String date = (String) map2.get("date");
-						System.out.println(x+"="+date);
+					if(date!=null){
+						System.out.println(e.getId()+":"+x+"="+date);
 					}
 				} catch (JsonProcessingException ex) {
                     throw new RuntimeException(ex);