update 查询运营商列表

This commit is contained in:
2023-11-10 17:13:27 +08:00
parent 140726f388
commit 84b93e9a3c
7 changed files with 88 additions and 11 deletions

View File

@@ -50,13 +50,14 @@
<sql id="selectPileMerchantInfoVo">
select
<include refid="Base_Column_List"/>
from pile_merchant_info t
from pile_merchant_info
</sql>
<select id="selectPileMerchantInfoList" parameterType="com.jsowell.pile.domain.PileMerchantInfo"
resultMap="PileMerchantInfoResult">
<include refid="selectPileMerchantInfoVo"/>
<where>
del_flag = '0'
<if test="merchantName != null and merchantName != ''">
and merchant_name like concat('%', #{merchantName}, '%')
</if>
@@ -408,4 +409,11 @@
and t1.manager_phone = #{dto.managerPhone,jdbcType=VARCHAR}
</if>
</select>
<select id="selectListByFirstMerchant" resultMap="PileMerchantInfoResult">
select <include refid="Base_Column_List"/>
from pile_merchant_info
where del_flag = '0'
and (parent_id = #{firstMerchantId,jdbcType=VARCHAR} or id = #{firstMerchantId,jdbcType=VARCHAR})
</select>
</mapper>