Commit e0ae775b authored by 温志超's avatar 温志超

增加单价字段

parent 0891dc46
......@@ -191,5 +191,9 @@ public class ProProductionSolution extends BaseEntity {
*/
private String sapUsageId;
/**
* 规格书
*/
@ApiModelProperty("单价")
private BigDecimal unitPrice;
}
......@@ -212,6 +212,11 @@ public class ProProductionSolutionVo implements Serializable {
@ApiModelProperty("SAP用途")
private String sapUsageId;
/**
* 规格书
*/
@ApiModelProperty("单价")
private BigDecimal unitPrice;
/**
* BOM头信息
*/
......@@ -230,4 +235,6 @@ public class ProProductionSolutionVo implements Serializable {
@ApiModelProperty("规格书")
private ProProductionSolutionSpecificationSheet specificationSheet;
}
......@@ -71,7 +71,8 @@
pps.min_lot,
pps.unit_of_measure,
pps.ecn_code,
pps.sap_usage_id
pps.sap_usage_id,
pps.unitPrice
from pro_production_solution pps
left join md_item mi on pps.item_id = mi.item_id
left join pro_route pr on pr.route_id = pps.route_id
......@@ -156,6 +157,7 @@
<if test="unitOfMeasure != null">unit_of_measure,</if>
<if test="sapUsageId != null">sap_usage_id,</if>
<if test="sapPrototypeMakeCode != null">sap_prototype_make_code,</if>
<if test="unitPrice != null">unit_price,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="productionSolutionCode != null">#{productionSolutionCode},</if>
......@@ -184,6 +186,7 @@
<if test="unitOfMeasure != null">#{unitOfMeasure},</if>
<if test="sapUsageId != null">#{sapUsageId},</if>
<if test="sapPrototypeMakeCode != null">#{sapPrototypeMakeCode},</if>
<if test="unitPrice != null">#{unitPrice},</if>
</trim>
</insert>
......@@ -216,6 +219,7 @@
<if test="unitOfMeasure != null">unit_of_measure = #{unitOfMeasure},</if>
<if test="sapUsageId != null">sap_usage_id = #{sapUsageId},</if>
<if test="sapPrototypeMakeCode != null">sap_prototype_make_code = #{sapPrototypeMakeCode},</if>
<if test="unitPrice != null">unit_price = #{unitPrice},</if>
</trim>
where production_solution_id = #{productionSolutionId}
</update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment