wms 库存管理-抄码商品对照表-打印页面查询
This commit is contained in:
+4
@@ -3,11 +3,15 @@ package com.mhd.wms.domain.copyCodeReference.repository.facade;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.po.CopyCodeReferencePO;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.todo.CopyCodeReferenceDO;
|
||||
import com.mhd.wms.interfaces.dto.copyCodeReference.CopyCodeReferenceDTO;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public interface ICopyCodeReferenceService extends IService<CopyCodeReferenceDO> {
|
||||
|
||||
|
||||
List<CopyCodeReferencePO> queryList(CopyCodeReferenceDO copyCodeReferenceDO);
|
||||
|
||||
List<CopyCodeReferencePO> queryWeightList(CopyCodeReferenceDTO dto);
|
||||
}
|
||||
|
||||
+4
@@ -3,12 +3,16 @@ package com.mhd.wms.domain.copyCodeReference.repository.mapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.po.CopyCodeReferencePO;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.todo.CopyCodeReferenceDO;
|
||||
import com.mhd.wms.interfaces.dto.copyCodeReference.CopyCodeReferenceDTO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Mapper
|
||||
public interface CopyCodeReferenceMapper extends BaseMapper<CopyCodeReferenceDO> {
|
||||
List<CopyCodeReferencePO> queryList(CopyCodeReferenceDO copyCodeReferenceDO);
|
||||
|
||||
List<CopyCodeReferencePO> queryWeightList(CopyCodeReferenceDTO dto);
|
||||
}
|
||||
|
||||
+13
-1
@@ -8,12 +8,17 @@ import com.mhd.wms.domain.copyCodeReference.repository.todo.CopyCodeReferenceDO;
|
||||
import com.mhd.wms.domain.inMaterialDetailSerialNumber.entity.InMaterialDetailSerialNumber;
|
||||
import com.mhd.wms.domain.inMaterialDetailSerialNumber.repository.facade.IInMaterialDetailSerialNumberService;
|
||||
import com.mhd.wms.domain.inMaterialDetailSerialNumber.repository.mapper.InMaterialDetailSerialNumberMapper;
|
||||
import com.mhd.wms.interfaces.dto.copyCodeReference.CopyCodeReferenceDTO;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
public class CopyCodeReferenceImpl extends ServiceImpl<CopyCodeReferenceMapper, CopyCodeReferenceDO> implements ICopyCodeReferenceService {
|
||||
|
||||
@@ -23,8 +28,15 @@ public class CopyCodeReferenceImpl extends ServiceImpl<CopyCodeReferenceMapper,
|
||||
|
||||
@Override
|
||||
public List<CopyCodeReferencePO> queryList(CopyCodeReferenceDO copyCodeReferenceDO) {
|
||||
List<CopyCodeReferencePO> l = copyCodeReferenceMapper.queryList(copyCodeReferenceDO);
|
||||
//List<CopyCodeReferencePO> l = copyCodeReferenceMapper.queryList(copyCodeReferenceDO);
|
||||
// log.info()
|
||||
return copyCodeReferenceMapper.queryList(copyCodeReferenceDO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CopyCodeReferencePO> queryWeightList(CopyCodeReferenceDTO dto) {
|
||||
List<CopyCodeReferencePO> a = copyCodeReferenceMapper.queryWeightList(dto);
|
||||
log.info("{}",a);
|
||||
return copyCodeReferenceMapper.queryWeightList(dto);
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -61,5 +61,9 @@ public class CopyCodeReferencePO extends BaseVOEntity {
|
||||
@Excel(name = "托盘号")
|
||||
private String boxPalletNo;
|
||||
|
||||
@ApiModelProperty("物料状态")
|
||||
@Excel(name = "物料状态")
|
||||
private String materialStatusName;
|
||||
|
||||
|
||||
}
|
||||
|
||||
+13
@@ -1,5 +1,6 @@
|
||||
package com.mhd.wms.domain.copyCodeReference.repository.todo;
|
||||
|
||||
import com.mhd.common.core.annotation.Excel;
|
||||
import com.mhd.common.core.web.domain.BaseVOEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
@@ -24,4 +25,16 @@ public class CopyCodeReferenceDO extends BaseVOEntity {
|
||||
@ApiModelProperty("托盘号")
|
||||
private String containerCode;
|
||||
|
||||
@ApiModelProperty("组织表ID")
|
||||
@Excel(name = "组织表ID")
|
||||
private Long organizationId;
|
||||
|
||||
@ApiModelProperty("组织名称")
|
||||
@Excel(name = "组织名称")
|
||||
private String organizationName;
|
||||
|
||||
@ApiModelProperty("一级组织表ID")
|
||||
@Excel(name = "一级组织表ID")
|
||||
private Long topOrganizationId;
|
||||
|
||||
}
|
||||
|
||||
+6
@@ -4,9 +4,11 @@ package com.mhd.wms.domain.copyCodeReference.service;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.facade.ICopyCodeReferenceService;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.po.CopyCodeReferencePO;
|
||||
import com.mhd.wms.domain.copyCodeReference.repository.todo.CopyCodeReferenceDO;
|
||||
import com.mhd.wms.interfaces.dto.copyCodeReference.CopyCodeReferenceDTO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@@ -18,4 +20,8 @@ public class CopyCodeReferenceDomainService {
|
||||
public List<CopyCodeReferencePO> queryList(CopyCodeReferenceDO copyCodeReferenceDO) {
|
||||
return copyCodeReferenceService.queryList(copyCodeReferenceDO);
|
||||
}
|
||||
|
||||
public List<CopyCodeReferencePO> queryWeightList(CopyCodeReferenceDTO dto) {
|
||||
return copyCodeReferenceService.queryWeightList(dto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user