update 运营商等级

This commit is contained in:
2023-08-03 17:24:14 +08:00
parent 8874db5676
commit ad61b2a84e
2 changed files with 32 additions and 0 deletions

View File

@@ -27,6 +27,16 @@ public class PileMerchantInfo extends BaseEntity {
@Excel(name = "运营商名称")
private String merchantName;
/**
* 运营商等级1-一级运营商2-二级运营商)
*/
private String merchantLevel;
/**
* 父级运营商id
*/
private String parentId;
/**
* 地址
*/

View File

@@ -6,6 +6,8 @@
<resultMap type="com.jsowell.pile.domain.PileMerchantInfo" id="PileMerchantInfoResult">
<result property="id" column="id"/>
<result property="merchantName" column="merchant_name"/>
<result property="merchantLevel" column="merchant_level"/>
<result property="parentId" column="parent_id"/>
<result property="address" column="address"/>
<result property="status" column="status"/>
<result property="organizationCode" column="organization_code"/>
@@ -25,6 +27,8 @@
<sql id="Base_Column_List">
id,
merchant_name,
merchant_level,
parent_id,
address,
status,
organization_code,
@@ -99,6 +103,12 @@
<if test="merchantName != null">
merchant_name,
</if>
<if test="merchantLevel != null">
merchant_level,
</if>
<if test="parentId != null">
parent_id,
</if>
<if test="address != null">
address,
</if>
@@ -149,6 +159,12 @@
<if test="merchantName != null">
#{merchantName},
</if>
<if test="merchantLevel != null">
#{merchantLevel},
</if>
<if test="parentId != null">
#{parentId},
</if>
<if test="address != null">
#{address},
</if>
@@ -200,6 +216,12 @@
<if test="merchantName != null">
merchant_name = #{merchantName},
</if>
<if test="merchantLevel != null">
merchant_level = #{merchantLevel},
</if>
<if test="parentId != null">
parent_id = #{parentId},
</if>
<if test="address != null">
address = #{address},
</if>