计价规则字段查询;
This commit is contained in:
+3
@@ -281,6 +281,9 @@ public class MaterialBaseInfoPO extends BaseVOEntity {
|
|||||||
@ApiModelProperty(name = "收费标准")
|
@ApiModelProperty(name = "收费标准")
|
||||||
private BigDecimal chargeStandard;
|
private BigDecimal chargeStandard;
|
||||||
|
|
||||||
|
@ApiModelProperty(name = "物料分类收费标准")
|
||||||
|
private BigDecimal chargeStandardClass;
|
||||||
|
|
||||||
@ApiModelProperty(name = "单位")
|
@ApiModelProperty(name = "单位")
|
||||||
private String unit;
|
private String unit;
|
||||||
}
|
}
|
||||||
@@ -67,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="unit" column="unit" />
|
<result property="unit" column="unit" />
|
||||||
<result property="insureAmount" column="insure_amount" />
|
<result property="insureAmount" column="insure_amount" />
|
||||||
<result property="chargeStandard" column="charge_standard" />
|
<result property="chargeStandard" column="charge_standard" />
|
||||||
|
<result property="chargeStandardClass" column="charge_standard_class" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
|
|
||||||
@@ -76,9 +77,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
material_shape_name, a.material_size, a.material_length, a.material_width, a.material_height, a.remark, a.nullify, a.create_time, a.create_by, a.create_by_name, a.update_time, a.update_by, a.update_by_name, a.del_flag, a.common,
|
material_shape_name, a.material_size, a.material_length, a.material_width, a.material_height, a.remark, a.nullify, a.create_time, a.create_by, a.create_by_name, a.update_time, a.update_by, a.update_by_name, a.del_flag, a.common,
|
||||||
sku_code, a.unit_price, a.currency, a.origin_country, a.hs_code, a.declaration_unit, a.statutory_unit, a.statutory_second_unit, a.copy_code,
|
sku_code, a.unit_price, a.currency, a.origin_country, a.hs_code, a.declaration_unit, a.statutory_unit, a.statutory_second_unit, a.copy_code,
|
||||||
a.push_status,a.push_time,a.push_by,a.goods_type,a.gross_weight,a.push_by_name,a.unit,a.INSURE_AMOUNT,a.CHARGE_STANDARD,
|
a.push_status,a.push_time,a.push_by,a.goods_type,a.gross_weight,a.push_by_name,a.unit,a.INSURE_AMOUNT,a.CHARGE_STANDARD,
|
||||||
specification_model as specification_model,nvl(b.stock_qty,0) as stock_quantity from material_base_info a left join (
|
specification_model as specification_model,nvl(b.stock_qty,0) as stock_quantity,c.charge_standard as charge_standard_class
|
||||||
|
|
||||||
|
from material_base_info a left join (
|
||||||
select material_base_info_id, sum(INVENTORY_QUANTITY) as stock_qty from MATERIAL_INVENTORY group by material_base_info_id
|
select material_base_info_id, sum(INVENTORY_QUANTITY) as stock_qty from MATERIAL_INVENTORY group by material_base_info_id
|
||||||
) b on a.material_base_info_id = b.material_base_info_id
|
) b on a.material_base_info_id = b.material_base_info_id left join "NGWL_TEST_SYSTEM"."MATERIAL_CLASSIFY" c on a.MATERIAL_CLASSIFY_CODE = c. CODE
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<sql id="JoinMaterialBaseInfoPo">
|
<sql id="JoinMaterialBaseInfoPo">
|
||||||
|
|||||||
Reference in New Issue
Block a user