update 查询所属运营商,带权限校验

This commit is contained in:
Guoqs
2024-06-13 15:44:46 +08:00
parent fe87fa038c
commit 53d83bf1af
6 changed files with 46 additions and 4 deletions

View File

@@ -100,6 +100,17 @@
where id = #{id}
</select>
<select id="selectPileMerchantInfoListByIdList" resultMap="PileMerchantInfoResult">
select
<include refid="Base_Column_List"/>
from pile_merchant_info
where id in
<foreach collection="merchantIdList" item="merchantId" open="(" separator="," close=")">
#{merchantId,jdbcType=VARCHAR}
</foreach>
</select>
<insert id="insertPileMerchantInfo" parameterType="com.jsowell.pile.domain.PileMerchantInfo">
insert into pile_merchant_info
<trim prefix="(" suffix=")" suffixOverrides=",">
@@ -428,4 +439,5 @@
t1.del_flag = '0'
AND t1.id = #{stationId,jdbcType=VARCHAR}
</select>
</mapper>