|
|
@@ -8,6 +8,7 @@ import com.github.pagehelper.PageInfo;
|
|
|
import com.hotent.base.manager.impl.BaseManagerImpl;
|
|
|
import com.hotent.base.query.PageList;
|
|
|
import com.hotent.base.util.AuthenticationUtil;
|
|
|
+import com.hotent.base.util.StringUtil;
|
|
|
import com.hotent.pricing.dao.FapTaskNodeDao;
|
|
|
import com.hotent.pricing.model.enums.SchedulingStatusEnum;
|
|
|
import com.hotent.pricing.manager.FapTaskNodeManager;
|
|
|
@@ -46,6 +47,12 @@ public class FapTaskNodeManagerImpl extends BaseManagerImpl<FapTaskNodeDao, FapT
|
|
|
|
|
|
// 使用 PageHelper 进行分页
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
+ if (StringUtil.isNotEmpty(startTime)) {
|
|
|
+ startTime=startTime+" 00:00:00";
|
|
|
+ }
|
|
|
+ if (StringUtil.isNotEmpty(endTime)) {
|
|
|
+ endTime=endTime+" 23:59:59";
|
|
|
+ }
|
|
|
List<FapTaskNode> list = this.baseMapper.queryTaskList(taskName, taskStatus, regionPath, startTime, endTime, parentId, currentUserOrgId, currentUserId, regionLevel);
|
|
|
PageInfo<FapTaskNode> pageInfo = new PageInfo<>(list);
|
|
|
|