pref_mail@163.com
4 months ago
14 changed files with 264 additions and 1 deletions
@ -0,0 +1,58 @@
|
||||
package com.logpm.warehouse.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
import org.springblade.core.tenant.mp.TenantEntity; |
||||
|
||||
@Data |
||||
@TableName("logpm_warehouse_config") |
||||
@ApiModel(value = "WarehouseConfig对象", description = "仓库扩展配置") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WarehouseConfigEntity extends TenantEntity { |
||||
|
||||
|
||||
/** |
||||
* 仓库ID |
||||
*/ |
||||
@ApiModelProperty(value = "仓库ID") |
||||
private Long warehouseId ; |
||||
|
||||
/** |
||||
* 是否严格装车 |
||||
*/ |
||||
@ApiModelProperty(value = "仓库ID") |
||||
private Integer isStrictLoading; |
||||
|
||||
/** |
||||
* 预留1 |
||||
*/ |
||||
@ApiModelProperty(value = "预留1") |
||||
private String reserve1; |
||||
/** |
||||
* 预留2 |
||||
*/ |
||||
@ApiModelProperty(value = "预留2") |
||||
private String reserve2; |
||||
/** |
||||
* 预留3 |
||||
*/ |
||||
@ApiModelProperty(value = "预留3") |
||||
private String reserve3; |
||||
/** |
||||
* 预留4 |
||||
*/ |
||||
@ApiModelProperty(value = "预留4") |
||||
private String reserve4; |
||||
/** |
||||
* 预留5 |
||||
*/ |
||||
@ApiModelProperty(value = "预留5") |
||||
private String reserve5; |
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,65 @@
|
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* ReWarehouse and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* ReWarehouses of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* ReWarehouses in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the Warehouse. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package com.logpm.warehouse.controller; |
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
||||
import com.logpm.warehouse.entity.WarehouseStockEntity; |
||||
import com.logpm.warehouse.excel.WarehouseStockExcel; |
||||
import com.logpm.warehouse.service.IWarehouseConfigService; |
||||
import com.logpm.warehouse.service.IWarehouseStockService; |
||||
import com.logpm.warehouse.vo.WarehouseScanInventoryRecordVO; |
||||
import com.logpm.warehouse.vo.WarehouseScanRecordVO; |
||||
import com.logpm.warehouse.vo.WarehouseStockVO; |
||||
import com.logpm.warehouse.wrapper.WarehouseStockVOWrapper; |
||||
import com.logpm.warehouse.wrapper.WarehouseStockWrapper; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
import lombok.AllArgsConstructor; |
||||
import org.springblade.core.boot.ctrl.BladeController; |
||||
import org.springblade.core.excel.util.ExcelUtil; |
||||
import org.springblade.core.mp.support.Condition; |
||||
import org.springblade.core.mp.support.Query; |
||||
import org.springblade.core.tool.api.R; |
||||
import org.springblade.core.tool.utils.DateUtil; |
||||
import org.springblade.core.tool.utils.Func; |
||||
import org.springframework.web.bind.annotation.*; |
||||
import springfox.documentation.annotations.ApiIgnore; |
||||
|
||||
import javax.servlet.http.HttpServletResponse; |
||||
import javax.validation.Valid; |
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* 备货扫描记录 控制器 |
||||
* |
||||
* @author lmy |
||||
* @since 2023-08-24 |
||||
*/ |
||||
@RestController |
||||
@AllArgsConstructor |
||||
@RequestMapping("/warehouseConfig") |
||||
@Api(value = "备货扫描记录", tags = "备货扫描记录接口") |
||||
public class WarehouseConfigController extends BladeController { |
||||
|
||||
private final IWarehouseConfigService warehouseConfigService; |
||||
|
||||
|
||||
|
||||
} |
@ -0,0 +1,35 @@
|
||||
/* |
||||
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||
* |
||||
* ReWarehouse and use in source and binary forms, with or without |
||||
* modification, are permitted provided that the following conditions are met: |
||||
* |
||||
* ReWarehouses of source code must retain the above copyright notice, |
||||
* this list of conditions and the following disclaimer. |
||||
* ReWarehouses in binary form must reproduce the above copyright |
||||
* notice, this list of conditions and the following disclaimer in the |
||||
* documentation and/or other materials provided with the Warehouse. |
||||
* Neither the name of the dreamlu.net developer nor the names of its |
||||
* contributors may be used to endorse or promote products derived from |
||||
* this software without specific prior written permission. |
||||
* Author: Chill 庄骞 (smallchill@163.com) |
||||
*/ |
||||
package com.logpm.warehouse.dto; |
||||
|
||||
import com.logpm.warehouse.entity.WarehouseConfigEntity; |
||||
import com.logpm.warehouse.entity.WarehouseStockEntity; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
/** |
||||
* 仓库扩展配置 数据传输对象实体类 |
||||
* |
||||
* @author lmy |
||||
* @since 2023-08-24 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class WarehouseConfigDTO extends WarehouseConfigEntity { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.logpm.warehouse.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.logpm.warehouse.entity.WarehouseConfigEntity; |
||||
import com.logpm.warehouse.entity.WarehouseLog; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
@Mapper |
||||
public interface WarehouseConfigMapper extends BaseMapper<WarehouseConfigEntity> { |
||||
} |
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.logpm.warehouse.mapper.WarehouseConfigMapper"> |
||||
|
||||
|
||||
</mapper> |
@ -0,0 +1,10 @@
|
||||
package com.logpm.warehouse.service; |
||||
|
||||
import com.logpm.warehouse.entity.WarehouseConfigEntity; |
||||
import com.logpm.warehouse.entity.WarehouseLog; |
||||
import org.springblade.core.mp.base.BaseService; |
||||
|
||||
public interface IWarehouseConfigService extends BaseService<WarehouseConfigEntity> { |
||||
|
||||
|
||||
} |
@ -0,0 +1,22 @@
|
||||
package com.logpm.warehouse.service.impl; |
||||
|
||||
import com.logpm.warehouse.entity.WarehouseConfigEntity; |
||||
import com.logpm.warehouse.entity.WarehouseLog; |
||||
import com.logpm.warehouse.mapper.WarehouseConfigMapper; |
||||
import com.logpm.warehouse.mapper.WarehouseLogMapper; |
||||
import com.logpm.warehouse.service.IWarehouseConfigService; |
||||
import com.logpm.warehouse.service.IWarehouseLogService; |
||||
import lombok.AllArgsConstructor; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.springblade.core.mp.base.BaseServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
@Slf4j |
||||
@AllArgsConstructor |
||||
@Service |
||||
public class WarehouseConfigServiceImpl extends BaseServiceImpl<WarehouseConfigMapper, WarehouseConfigEntity> implements IWarehouseConfigService { |
||||
|
||||
private final WarehouseConfigMapper warehouseConfigMapper; |
||||
|
||||
|
||||
} |
Loading…
Reference in new issue