소스 검색

Merge branch 'prod' into test

anderx 9 달 전
부모
커밋
c1ca223c32
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/main/java/com/goafanti/order/service/impl/OrderProjectServiceImpl.java

+ 3 - 1
src/main/java/com/goafanti/order/service/impl/OrderProjectServiceImpl.java

@@ -532,7 +532,9 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 		Map<String,Object> map=new HashMap<>();
 		for (TaskTime e : taskTimes) {
 			Map<String,Object> param=new HashMap<>();
-			param.put("date",DateUtils.formatDate(e.getDateTime(),AFTConstants.YYYYMMDD));
+			if (e.getDateTime()!=null){
+				param.put("date",DateUtils.formatDate(e.getDateTime(),AFTConstants.YYYYMMDD));
+			}
 			param.put("title",NewProjectStatus.getValueByCode(e.getProjectStatus()));
 			map.put(e.getProjectStatus().toString(),param);
 		}