chore:删除不需要的字段

dev
袁子龙 2024-09-22 10:16:12 +08:00
parent 9e59d7f63f
commit 608d934b33
2 changed files with 2 additions and 9 deletions

View File

@ -43,9 +43,7 @@ public class SysCarFault extends BaseEntity{
@Excel(name = "故障类型")
private Long typeId;
/** 车辆VIN码 */
@Excel(name = "车辆VIN码")
private String carVin;
/** 故障标签 */
@Excel(name = "故障标签")
@ -94,7 +92,6 @@ public class SysCarFault extends BaseEntity{
.append("faultCode", getFaultCode())
.append("faultName", getFaultName())
.append("typeId", getTypeId())
.append("carVin", getCarVin())
.append("faultLabel", getFaultLabel())
.append("faultBit", getFaultBit())
.append("faultValue", getFaultValue())

View File

@ -9,7 +9,6 @@
<result property="faultCode" column="fault_code" />
<result property="faultName" column="fault_name" />
<result property="typeId" column="type_id" />
<result property="carVin" column="car_vin" />
<result property="faultLabel" column="fault_label" />
<result property="faultBit" column="fault_bit" />
<result property="faultValue" column="fault_value" />
@ -27,7 +26,7 @@
</resultMap>
<sql id="selectSysCarFaultVo">
select id, fault_code, fault_name, type_id, car_vin, fault_label, fault_bit, fault_value, fault_rank, fault_desc, fault_min_threshold, fault_max_threshold, status, warn_status, remark, create_by, create_time, update_by, update_time from sys_car_fault
select id, fault_code, fault_name, type_id, fault_label, fault_bit, fault_value, fault_rank, fault_desc, fault_min_threshold, fault_max_threshold, status, warn_status, remark, create_by, create_time, update_by, update_time from sys_car_fault
</sql>
<select id="selectSysCarFaultList" parameterType="com.muyu.breakdown.domain.SysCarFault" resultMap="SysCarFaultResult">
@ -50,7 +49,6 @@
<if test="faultCode != null and faultCode != ''">fault_code,</if>
<if test="faultName != null">fault_name,</if>
<if test="typeId != null">type_id,</if>
<if test="carVin != null">car_vin,</if>
<if test="faultLabel != null">fault_label,</if>
<if test="faultBit != null">fault_bit,</if>
<if test="faultValue != null">fault_value,</if>
@ -70,7 +68,6 @@
<if test="faultCode != null and faultCode != ''">#{faultCode},</if>
<if test="faultName != null">#{faultName},</if>
<if test="typeId != null">#{typeId},</if>
<if test="carVin != null">#{carVin},</if>
<if test="faultLabel != null">#{faultLabel},</if>
<if test="faultBit != null">#{faultBit},</if>
<if test="faultValue != null">#{faultValue},</if>
@ -94,7 +91,6 @@
<if test="faultCode != null and faultCode != ''">fault_code = #{faultCode},</if>
<if test="faultName != null">fault_name = #{faultName},</if>
<if test="typeId != null">type_id = #{typeId},</if>
<if test="carVin != null">car_vin = #{carVin},</if>
<if test="faultLabel != null">fault_label = #{faultLabel},</if>
<if test="faultBit != null">fault_bit = #{faultBit},</if>
<if test="faultValue != null">fault_value = #{faultValue},</if>