|
|
|
@ -4,12 +4,14 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
|
|
import com.op.common.core.utils.DateUtils;
|
|
|
|
|
import com.op.common.core.web.domain.AjaxResult;
|
|
|
|
|
import com.op.common.security.utils.SecurityUtils;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import com.op.wms.mapper.SysFactoryMapper;
|
|
|
|
|
import com.op.wms.domain.SysFactory;
|
|
|
|
|
import com.op.wms.service.ISysFactoryService;
|
|
|
|
|
import static com.op.common.core.web.domain.AjaxResult.success;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 工厂模型Service业务层处理
|
|
|
|
@ -99,15 +101,16 @@ public class SysFactoryServiceImpl implements ISysFactoryService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询工厂模型列表
|
|
|
|
|
* 查询工作中心
|
|
|
|
|
*
|
|
|
|
|
* @param sysFactory 工厂模型
|
|
|
|
|
* @return 工厂模型
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public List<SysFactory> getWorkCenterList(SysFactory sysFactory) {
|
|
|
|
|
return sysFactoryMapper.getWorkCenterList(sysFactory);
|
|
|
|
|
public AjaxResult getWorkCenterList(SysFactory sysFactory) {
|
|
|
|
|
List<SysFactory> list= sysFactoryMapper.getWorkCenterList(sysFactory);
|
|
|
|
|
return success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|