src/main/java/com/ken/wms/common/service/Impl/StorageManageServiceImpl.java
(开头部分) 28KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.ken.wms.common.service.Impl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.ken.wms.common.service.Interface.StorageManageService;
import com.ken.wms.common.util.EJConvertor;
import com.ken.wms.common.util.FileUtil;
import com.ken.wms.dao.StorageMapper;
import com.ken.wms.domain.Emergency;
import com.ken.wms.domain.Storage;
import com.ken.wms.exception.StorageManageServiceException;
import com.ken.wms.util.aop.UserOperation;
import org.apache.ibatis.exceptions.PersistenceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import java.io.File;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.*;
/**
* 信息管理 service 实现类
*
* @author Ken
*/
@Service
public class StorageManageServiceImpl implements StorageManageService {
@Autowired
private StorageMapper storageMapper;
// @Autowired
// private GoodsMapper goodsMapper;
// @Autowired
// private RepositoryMapper repositoryMapper;
@Autowired
private EJConvertor ejConvertor;
// /**
// * 返回所有的库存记录
// *
// * @return 结果的一个Map,其中: key为 data 的代表记录数据;key 为 total 代表结果记录的数量
// */
// @Override
// public Map<String, Object> selectAll(Integer repository) throws StorageManageServiceException {
// return selectAll(repository, -1, -1);
// }
// /**
// * 分页返回所有的库存记录
// *
// * @param offset 分页偏移值
// * @param limit 分页大小
// * @return 结果的一个Map,其中: key为 data 的代表记录数据;key 为 total 代表结果记录的数量
// */
// @Override
// public Map<String, Object> selectAll(Integer repositoryID, int offset, int limit) throws StorageManageServiceException {
// // 初始化结果集
// Map<String, Object> resultSet = new HashMap<>();
后面还有 710 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
