|
@@ -4,11 +4,16 @@ import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
import cn.hutool.db.sql.Order;
|
|
|
import com.alibaba.druid.support.spring.stat.annotation.Stat;
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.gree.mall.manager.bean.admin.AdminUserCom;
|
|
|
+import com.gree.mall.manager.bean.listvo.workorder.OrderBaseVO;
|
|
|
import com.gree.mall.manager.bean.policy.WorkerManagerBean;
|
|
|
import com.gree.mall.manager.bean.policy.WorkerManagerDetail;
|
|
|
import com.gree.mall.manager.bean.policy.WorkerUserCount;
|
|
|
+import com.gree.mall.manager.bean.workorder.WorkerNumberCheckVO;
|
|
|
+import com.gree.mall.manager.commonmapper.CommonMapper;
|
|
|
import com.gree.mall.manager.enums.*;
|
|
|
import com.gree.mall.manager.enums.workorder.OrderBaseStatusEnum;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
@@ -16,6 +21,8 @@ import com.gree.mall.manager.logic.common.CommonLogic;
|
|
|
import com.gree.mall.manager.plus.entity.*;
|
|
|
import com.gree.mall.manager.plus.service.*;
|
|
|
import com.gree.mall.manager.utils.StringUtil;
|
|
|
+import com.gree.mall.manager.zfire.bean.WorkerParamBean;
|
|
|
+import com.gree.mall.manager.zfire.util.FieldUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -60,6 +67,9 @@ public class WorkerManagerLogic {
|
|
|
@Autowired
|
|
|
SysDictCompanyService sysDictCompanyService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ CommonMapper commonMapper;
|
|
|
+
|
|
|
|
|
|
|
|
|
public void stop(String id) {
|
|
@@ -993,4 +1003,15 @@ public class WorkerManagerLogic {
|
|
|
return Date.from(endOfDay.atZone(ZoneId.systemDefault()).toInstant());
|
|
|
}
|
|
|
|
|
|
+ public IPage<WorkerNumberCheckVO> workerManagerCheck(WorkerParamBean zfireParamBean) {
|
|
|
+
|
|
|
+ FieldUtils.supplyParam(zfireParamBean, WorkerNumberCheckVO.class, commonLogic.getAdminUser());
|
|
|
+ zfireParamBean.setAdminWebsitIds(zfireParamBean.getAdminWebsitIds());
|
|
|
+
|
|
|
+ IPage<WorkerNumberCheckVO> page = commonMapper.workerManagerCheck(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()),
|
|
|
+ zfireParamBean);
|
|
|
+
|
|
|
+ return page;
|
|
|
+
|
|
|
+ }
|
|
|
}
|