From 6d0599644493672bc3f5ee8562881f2a8ed06fac Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Mon, 14 Oct 2024 16:34:11 +0800 Subject: [PATCH] 10.14 --- .../business/petrolStationManagement/entity/OilNumber.java | 1 + .../petrolStationManagement/mapper/xml/OilNumberMapper.xml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java index a0ae1799b..409eca382 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java @@ -23,6 +23,7 @@ public class OilNumber extends BaseEntity { @TableId(value = "number_id", type = IdType.AUTO) public Integer numberId; //id(主键) private String oilType; // 油品类型 + private Integer oilId; // 油品id private String oilName; //油品名称 private Double oilPrice; //油品单价 private Double gbPrice; //国标价格 diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml index a0f199aef..c10158444 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/mapper/xml/OilNumberMapper.xml @@ -34,10 +34,11 @@ - select omm.number_id , onn.oil_type, + onn.id oilId, onn.oil_name, onn.id, omm.oil_price,