diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java
index a38c4877d..bb37f666b 100644
--- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java
+++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileBasicInfo.java
@@ -86,6 +86,12 @@ public class PileBasicInfo extends BaseEntity {
@Excel(name = "sim卡id")
private Long simId;
+ /**
+ * sim卡iccId
+ */
+ @Excel(name = "iccId")
+ private String iccId;
+
/**
* 运营商id
*/
diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml
index a573d4bef..ef9b5527c 100644
--- a/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml
+++ b/jsowell-pile/src/main/resources/mapper/pile/PileBasicInfoMapper.xml
@@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
@@ -29,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
id, sn, name, business_type, secret_key, software_protocol, production_date, licence_id, model_id, sim_id,
- merchant_id, station_id, fault_reason, create_by, create_time, update_by, update_time, del_flag, remark
+ iccid, merchant_id, station_id, fault_reason, create_by, create_time, update_by, update_time, del_flag, remark
@@ -49,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
--> and licence_id = #{licenceId}
and model_id = #{modelId}
and sim_id = #{simId}
+ and iccid = #{iccId}
and merchant_id = #{merchantId}
and station_id = #{stationId}
and fault_reason = #{faultReason}
@@ -78,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
licence_id,
model_id,
sim_id,
+ iccid,
merchant_id,
station_id,
fault_reason,
@@ -98,6 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{licenceId},
#{modelId},
#{simId},
+ #{iccId},
#{merchantId},
#{stationId},
#{faultReason},
@@ -122,6 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
licence_id = #{licenceId},
model_id = #{modelId},
sim_id = #{simId},
+ iccid = #{iccId},
merchant_id = #{merchantId},
station_id = #{stationId},
fault_reason = #{faultReason},
@@ -202,7 +207,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into pile_basic_info
- (sn, name, business_type, secret_key, software_protocol, production_date, licence_id, model_id, sim_id,
+ (sn, name, business_type, secret_key, software_protocol, production_date, licence_id, model_id, sim_id, iccid,
merchant_id, station_id, fault_reason, create_by, update_by, del_flag, remark)
values
@@ -216,6 +221,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.licenceId,jdbcType=BIGINT},
#{item.modelId,jdbcType=BIGINT},
#{item.simId,jdbcType=BIGINT},
+ #{item.iccId,jdbcType=VARCHAR},
#{item.merchantId,jdbcType=BIGINT},
#{item.stationId,jdbcType=BIGINT},
#{item.faultReason,jdbcType=VARCHAR},