|
|
|
@ -3,9 +3,12 @@ package com.spring.modules.base.service.Impl; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
|
|
import com.spring.common.utils.PageUtils; |
|
|
|
import com.spring.modules.base.entity.LaborClass; |
|
|
|
import com.spring.modules.base.mapper.LaborClassMapper; |
|
|
|
import com.spring.modules.base.service.LaborClassService; |
|
|
|
import com.spring.modules.base.entity.WorkerLevelQueryDTO; |
|
|
|
import com.spring.modules.part.entity.WorkCenter; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
/** |
|
|
|
@ -31,5 +34,11 @@ public class LaborClassServiceImpl extends ServiceImpl<LaborClassMapper, LaborCl |
|
|
|
.set(LaborClass::getCurrentLevelCost,laborClass.getCurrentLevelCost()) |
|
|
|
.update(); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageUtils queryWorkerLevelList(WorkerLevelQueryDTO data) { |
|
|
|
IPage<LaborClass> list = this.baseMapper.queryWorkerLevelAll(new Page<LaborClass>(data.getPage(), data.getLimit()), data); |
|
|
|
return new PageUtils(list); |
|
|
|
} |
|
|
|
} |
|
|
|
|