From 979d9cff22806f213b420452ab4a68fcbaf021b6 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 31 五月 2021 17:43:49 +0800 Subject: [PATCH] 1. 修复多项可能引起空指针崩溃的bug; 2. 新建子任务时默认执行人员从全体人员改为当前用户; 3. 新建子任务时默认执行时间强制固定为总任务对应的时段内,确保子任务执行时间不会超出总任务范围。 --- app/src/main/java/cn/flightfeather/thirdapp/activity/NewMonthTaskActivity.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/cn/flightfeather/thirdapp/activity/NewMonthTaskActivity.java b/app/src/main/java/cn/flightfeather/thirdapp/activity/NewMonthTaskActivity.java index 9db82d1..b7795b5 100644 --- a/app/src/main/java/cn/flightfeather/thirdapp/activity/NewMonthTaskActivity.java +++ b/app/src/main/java/cn/flightfeather/thirdapp/activity/NewMonthTaskActivity.java @@ -34,14 +34,14 @@ import cn.carbswang.android.numberpickerview.library.NumberPickerView; import cn.flightfeather.thirdapp.CommonApplication; import cn.flightfeather.thirdapp.R; -import cn.flightfeather.thirdapp.bean.City; -import cn.flightfeather.thirdapp.bean.District; -import cn.flightfeather.thirdapp.bean.Domaincatalog; -import cn.flightfeather.thirdapp.bean.Domainitem; -import cn.flightfeather.thirdapp.bean.Province; -import cn.flightfeather.thirdapp.bean.Task; -import cn.flightfeather.thirdapp.bean.Town; -import cn.flightfeather.thirdapp.bean.Userinfo; +import cn.flightfeather.thirdapp.bean.entity.City; +import cn.flightfeather.thirdapp.bean.entity.District; +import cn.flightfeather.thirdapp.bean.entity.Domaincatalog; +import cn.flightfeather.thirdapp.bean.entity.Domainitem; +import cn.flightfeather.thirdapp.bean.entity.Province; +import cn.flightfeather.thirdapp.bean.entity.Task; +import cn.flightfeather.thirdapp.bean.entity.Town; +import cn.flightfeather.thirdapp.bean.entity.Userinfo; import cn.flightfeather.thirdapp.httpservice.TaskService; import cn.flightfeather.thirdapp.httpservice.UserInfoService; import cn.flightfeather.thirdapp.module.task.NewMonthTaskMapActivity; -- Gitblit v1.9.3