diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionStockListVO.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionStockListVO.java index b7e23522d..3d97d9459 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionStockListVO.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionStockListVO.java @@ -117,6 +117,11 @@ public class DistributionStockListVO extends DistributionStockListEntity { */ @ApiModelProperty(value = "货位信息") private String positionCode; + /** + * 品牌名称 + */ + @ApiModelProperty(value = "品牌名称") + private String brandName; /** * 类型 */ diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java index 1e242c892..02ce36e2c 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/entity/QuestDetailEntity.java @@ -24,6 +24,7 @@ import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; +import java.util.Date; import java.util.List; /** @@ -115,6 +116,18 @@ public class QuestDetailEntity extends TenantEntity { */ @ApiModelProperty(value = "品类名称;对应零担") private String categoryName; + + /** + * 发站仓名称 + */ + @ApiModelProperty(value = "发站仓名称") + private String sendWarehouseName; + + /** + * 品牌名称 + */ + @ApiModelProperty(value = "品牌名称") + private String brandName; /** * 库存品ID;对应库存品 */ @@ -172,8 +185,7 @@ public class QuestDetailEntity extends TenantEntity { /** * 托盘名称 */ - @ApiModelProperty(value = "托盘码") - @TableField(exist = false) + @ApiModelProperty(value = "托盘名称") private String trayName; /** @@ -227,6 +239,23 @@ public class QuestDetailEntity extends TenantEntity { */ @ApiModelProperty(value = "批次号") private String incomingBatch; + /** + * 盘点人 + */ + @ApiModelProperty(value = "盘点人") + private Long inventoryUser; + + /** + * 盘点时间 + */ + @ApiModelProperty(value = "盘点时间") + private Date inventoryTime; + @ApiModelProperty(value = "盘点开始时间") + @TableField(exist = false) + private String startTime;// 开始时间 + @ApiModelProperty(value = "盘点结束时间") + @TableField(exist = false) + private String endTime;// 结束时间 } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml index cece9e1ba..2df87a8fe 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml @@ -36,7 +36,7 @@ select ldsl.market_name marketName,ldsl.incoming_batch incomingBatch,ldsl.quantity_stock quantityStock,ldsl.warehouse_id warehouseId, ldsl.description_goods descriptionGoods,ldsl.cargo_number cargoNumber,ldsl.market_id marketId,ldsl.material_id materialId, - ldsl.id id + ldsl.id id,ldsl.brand_name brandName from logpm_distribution_stock_list ldsl ldsl.warehouse_id = #{par.warehouseId} and ldsl.quantity_stock > 0 and ldsl.source_type = 2 diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/TaskQuestController.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/TaskQuestController.java index 4361d00a9..e5f84ea83 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/TaskQuestController.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/controller/TaskQuestController.java @@ -136,7 +136,7 @@ public class TaskQuestController extends BladeController { /** - * 查询盘点明细数据 + * 盘点任务 查询盘点明细数据 * @return */ @GetMapping("/getDetailInfo") @@ -148,7 +148,7 @@ public class TaskQuestController extends BladeController { } /** - * 查询盘点对比数据 + *盘点任务 查询盘点对比数据 * @return */ @GetMapping("/getContrastInfo") @@ -161,7 +161,7 @@ public class TaskQuestController extends BladeController { /** - * 查询盘点对比数据 + * 导出数据 查询盘点对比数据 * @return */ @GetMapping("/export-getContrastInfo") diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/dto/QuestDetailDTO.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/dto/QuestDetailDTO.java index 52ffaad92..94613c953 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/dto/QuestDetailDTO.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/dto/QuestDetailDTO.java @@ -49,6 +49,11 @@ public class QuestDetailDTO extends QuestDetailEntity { private String cargoName;//盘点的包件状态名称 + private String startTime;// 开始时间 + + private String endTime;// 结束时间 + + } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml index 204ccd3e5..e1b98b32e 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/TaskQuestMapper.xml @@ -118,6 +118,11 @@ `incoming_batch` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批次号(库存品)', `material_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '物料名称(库存品)', `waybill_number` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '运单号', + `send_warehouse_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发站仓名称', + `tray_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '托盘名称', + `brand_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '品牌名称', + `inventory_time` datetime(0) NULL DEFAULT NULL COMMENT '盘点时间', + `inventory_user` bigint(20) NULL DEFAULT NULL COMMENT '盘点人', PRIMARY KEY (`id`) USING BTREE, INDEX `quest_id_index`(`quest_id`,`tenant_id`) USING BTREE COMMENT '任务id', INDEX `order_id_index`(`order_id`) USING BTREE COMMENT '订单id', @@ -133,14 +138,14 @@ `is_deleted`, `status`, `reserve1`, `reserve2`, `reserve3`, `reserve4`, `reserve5`, `order_code`, `quest_id`, `order_id`, `quest_type`, `quest_target`, `order_package_code`, `order_package_id`, `category_name`, `stock_id`, `quest_status`, `stock_num`, `warehouse_id`, `position_code`, `tray_code`, `tray_id`, `allocation_id`, `grounding_allocation_id`, `is_new`, `grounding_position_code`, `material_code`, `market_name`, `firsts`, `second`, - `third_product`, `incoming_batch`, `material_name`, `waybill_number`) VALUES + `third_product`, `incoming_batch`, `material_name`, `waybill_number`,`send_warehouse_name`,`tray_name`,`brand_name`) VALUES (#{item.id}, #{item.tenantId}, #{item.createUser}, #{item.createTime}, #{item.updateUser}, #{item.updateTime}, #{item.createDept}, #{item.isDeleted} , #{item.status}, #{item.reserve1}, #{item.reserve2}, #{item.reserve3}, #{item.reserve4}, #{item.reserve5}, #{item.orderCode}, #{item.questId}, #{item.orderId} , #{item.questType}, #{item.questTarget}, #{item.orderPackageCode}, #{item.orderPackageId}, #{item.categoryName}, #{item.stockId}, #{item.questStatus}, #{item.stockNum}, #{item.warehouseId} , #{item.positionCode}, #{item.trayCode}, #{item.trayId}, #{item.allocationId}, #{item.groundingAllocationId}, #{item.isNew}, #{item.groundingPositionCode}, #{item.materialCode}, #{item.marketName} , #{item.firsts} , #{item.second} , - #{item.thirdProduct} , #{item.incomingBatch}, #{item.materialName}, #{item.waybillNumber} + #{item.thirdProduct} , #{item.incomingBatch}, #{item.materialName}, #{item.waybillNumber}, #{item.sendWarehouseName},#{item.trayName},#{item.brandName} ) @@ -235,11 +240,17 @@ and allocation_id =#{param.allocationId } and tray_id =#{param.trayId } and order_code like concat('%',#{param.orderCode },'%') - and category_name like concat('%'#{param.categoryName },'%') + and category_name like concat('%',#{param.categoryName },'%') and material_code like concat('%',#{param.materialCode },'%') and tray_code like concat('%',#{param.trayCode },'%') + and tray_name like concat('%',#{param.trayName },'%') + and brand_name like concat('%',#{param.brandName },'%') and market_name like concat('%',#{param.marketName},'%') + and material_name like concat('%',#{param.materialName},'%') + and position_code like concat('%',#{param.positionCode},'%') and order_package_code =#{param.orderPackageCode } + and inventory_user like concat('%',#{param.inventoryUser },'%') + and inventory_time BETWEEN #{param.startTime } and #{param.endTime} and material_name in @@ -304,6 +315,8 @@ allocation_id = #{item.allocationId }, update_user = #{item.updateUser }, update_time = #{item.updateTime }, + inventory_user = #{item.inventoryUser }, + inventory_time = #{item.inventoryTime },