ソースを参照

项目详情修改

anderx 10 ヶ月 前
コミット
2499973805
共有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);
 		}