feat(销售退货单处理平台):

1.发货信息查看表增加原始主数量、原始副数量字段

refs: #41558
This commit is contained in:
leiqiaozhen 2024-11-04 11:00:04 +08:00
parent 60fe5d7f09
commit dfc46d4be0
5 changed files with 15 additions and 5 deletions

View File

@ -117,6 +117,18 @@ public class SalesOutInvoiceDeliveryItem extends Model<SalesOutInvoiceDeliveryIt
@TableField(fill = FieldFill.INSERT_UPDATE)
private LocalDateTime dateUpdate;
/**
* 原始主数量
*/
@ApiModelProperty(value="原始主数量")
private BigDecimal originalMainQty;
/**
* 原始副数量
*/
@ApiModelProperty(value="原始副数量")
private BigDecimal originalDeputyQty;
/**
* 物料编码
*/

View File

@ -61,7 +61,6 @@ public class SalesOutvoiceDeliveryServiceImpl extends ServiceImpl<SalesOutvoiceD
@Transactional(rollbackFor = Exception.class)
@Override
public SalesOutvoiceDelivery getOneObjByHandle(String handle) {
SalesOutvoiceDelivery salesOutvoiceDelivery = this.baseMapper.getOneObjByHandle(handle);
if (salesOutvoiceDelivery != null) {
List<SalesOutvoiceDeliveryItem> salesOutvoiceDeliveryItemList = salesOutvoiceDeliveryItemMapper.getAllSalesOutvoiceDeliveryItemByParentBo(salesOutvoiceDelivery.getHandle());

View File

@ -1,7 +1,6 @@
package com.foreverwin.nlv.wms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.foreverwin.nlv.wms.entity.SalesInvoiceDelivery;
import com.foreverwin.nlv.wms.entity.SalesOutInvoiceDeliveryItem;
import com.foreverwin.nlv.wms.entity.SalesOutvoiceDelivery;
import org.apache.ibatis.annotations.Mapper;

View File

@ -2,8 +2,6 @@ package com.foreverwin.nlv.wms.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.foreverwin.nlv.wms.entity.SalesInvoiceDelivery;
import com.foreverwin.nlv.wms.entity.SalesOutvoiceDelivery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -19,5 +17,5 @@ public interface SalesOutvoiceDeliveryMapper extends BaseMapper<SalesOutvoiceDel
IPage<SalesOutvoiceDelivery> getSalesOutvoiceDeliveryPage(IPage<SalesOutvoiceDelivery> page,@Param("dto") SalesOutvoiceDelivery dto);
SalesOutvoiceDelivery getOneObjByHandle(String handle);
SalesOutvoiceDelivery getOneObjByHandle(@Param("handle") String handle);
}

View File

@ -18,6 +18,8 @@
<result property="updater" column="UPDATER"/>
<result property="dateCreate" column="DATE_CREATE"/>
<result property="dateUpdate" column="DATE_UPDATE"/>
<result property="originalMainQty" column="ORIGINAL_MAIN_QTY"/>
<result property="originalDeputyQty" column="ORIGINAL_DEPUTY_QTY"/>
</resultMap>
<select id="selectSalesOutInvoiceDeliveryItem" resultType="com.foreverwin.nlv.wms.entity.SalesOutInvoiceDeliveryItem">