4 changed files with 111 additions and 3 deletions
@ -0,0 +1,49 @@
|
||||
/* |
||||
* 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.wrapper; |
||||
|
||||
import com.logpm.warehouse.entity.WarehouseStockEntity; |
||||
import com.logpm.warehouse.vo.WarehouseScanRecordVO; |
||||
import com.logpm.warehouse.vo.WarehouseStockVO; |
||||
import lombok.extern.log4j.Log4j2; |
||||
import org.springblade.core.mp.support.BaseEntityWrapper; |
||||
import org.springblade.core.tool.utils.BeanUtil; |
||||
|
||||
import java.util.Objects; |
||||
|
||||
/** |
||||
* 备货扫描记录 包装类,返回视图层所需的字段 |
||||
* |
||||
* @author lmy |
||||
* @since 2023-08-24 |
||||
*/ |
||||
@Log4j2 |
||||
public class WarehouseStockRecordWrapper extends BaseEntityWrapper<WarehouseScanRecordVO, WarehouseScanRecordVO> { |
||||
|
||||
public static WarehouseStockRecordWrapper build() { |
||||
return new WarehouseStockRecordWrapper(); |
||||
} |
||||
|
||||
@Override |
||||
public WarehouseScanRecordVO entityVO(WarehouseScanRecordVO WarehouseStock) { |
||||
log.info("WarehouseStock>>>>>>>>>>>{}",WarehouseStock); |
||||
|
||||
return WarehouseStock; |
||||
} |
||||
|
||||
|
||||
} |
Loading…
Reference in new issue