fix(oms):明细表修改
This commit is contained in:
+7
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -41,4 +42,10 @@ public class ExecutionOutMaterialDetailWithOrderPO extends ExecutionOutMaterialD
|
|||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date orderOutboundTime;
|
private Date orderOutboundTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("保额")
|
||||||
|
private BigDecimal insureAmount;
|
||||||
|
|
||||||
|
@ApiModelProperty("货物类型:0-物料 1-半成品 2-成品")
|
||||||
|
private Integer goodsType;
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -459,6 +459,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="orderShipperName" column="order_shipper_name" />
|
<result property="orderShipperName" column="order_shipper_name" />
|
||||||
<result property="orderOutboundDate" column="order_outbound_date" />
|
<result property="orderOutboundDate" column="order_outbound_date" />
|
||||||
<result property="orderOutboundTime" column="order_outbound_time" />
|
<result property="orderOutboundTime" column="order_outbound_time" />
|
||||||
|
<result property="insureAmount" column="insure_amount" />
|
||||||
|
<result property="goodsType" column="goods_type" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="queryOutOrderDetailList"
|
<select id="queryOutOrderDetailList"
|
||||||
@@ -493,6 +495,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
a.stock_unit, a.stock_quantity, a.inventory_quantity,
|
a.stock_unit, a.stock_quantity, a.inventory_quantity,
|
||||||
a.line_num_gw, a.spec_gw, a.unit_gw, a.qty_gw,
|
a.line_num_gw, a.spec_gw, a.unit_gw, a.qty_gw,
|
||||||
a.erp_curr_gw, a.erp_price_gw, a.amount_gw, a.in_order_number_gw, a.in_line_num_gw,
|
a.erp_curr_gw, a.erp_price_gw, a.amount_gw, a.in_order_number_gw, a.in_line_num_gw,
|
||||||
|
c.insure_amount, c.goods_type,
|
||||||
b.shipper_id as order_shipper_id,
|
b.shipper_id as order_shipper_id,
|
||||||
b.shipper_code as order_shipper_code,
|
b.shipper_code as order_shipper_code,
|
||||||
b.shipper_name as order_shipper_name,
|
b.shipper_name as order_shipper_name,
|
||||||
@@ -502,6 +505,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
b.audit_status as out_order_audit_status
|
b.audit_status as out_order_audit_status
|
||||||
from execution_out_material_detail a
|
from execution_out_material_detail a
|
||||||
left join execution_stock_out_order b on a.out_order_number = b.out_order_number
|
left join execution_stock_out_order b on a.out_order_number = b.out_order_number
|
||||||
|
left join NGWL_TEST_WMS.material_base_info c on a.material_base_info_id = c.material_base_info_id
|
||||||
<where>
|
<where>
|
||||||
<if test="organizationId != null ">
|
<if test="organizationId != null ">
|
||||||
and a.organization_id = #{organizationId}
|
and a.organization_id = #{organizationId}
|
||||||
|
|||||||
Reference in New Issue
Block a user