运营商管理

This commit is contained in:
majian314
2025-07-01 19:14:02 +08:00
parent 854477eafe
commit 87e606c685
10 changed files with 248 additions and 554 deletions

View File

@ -26,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="allowChange" column="allow_change" />
<result property="channelId" column="channel_id" />
<result property="citys" column="citys" />
<result property="cityName" column="city_name" />
<result property="aliPayModel" column="ali_pay_model" />
<result property="aliReceivingAccount" column="ali_receiving_account" />
<result property="aliKey" column="ali_key" />
@ -54,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectCompanyVo">
select id, company_name, contact_name, phone, address, balance, deposit, type, is_delete, allow_split_bill, max_percentage, is_add_rules, sharing_ratio, wechat_pay_model, wechat_receiving_account, wechat_key, charge_mode, charge_param, allow_change, channel_id, citys, ali_pay_model, ali_receiving_account, ali_key, service_order_type, split_order_type, wechat_balance, alipay_balance, invite_reward_mode, invite_reward_param, reward_type, reward_param, is_reservation, reservation_duration, reservation_number, status, del_flag, create_by, create_time, update_by, update_time, extend1, extend2, extend3, extend4, extend5 from company
select id, company_name, contact_name, phone, address, balance, deposit, type, is_delete, allow_split_bill, max_percentage, is_add_rules, sharing_ratio, wechat_pay_model, wechat_receiving_account, wechat_key, charge_mode, charge_param, allow_change, channel_id, citys, city_name, ali_pay_model, ali_receiving_account, ali_key, service_order_type, split_order_type, wechat_balance, alipay_balance, invite_reward_mode, invite_reward_param, reward_type, reward_param, is_reservation, reservation_duration, reservation_number, status, del_flag, create_by, create_time, update_by, update_time, extend1, extend2, extend3, extend4, extend5 from company
</sql>
<select id="selectCompanyList" parameterType="Company" resultMap="CompanyResult">
@ -96,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="reservationNumber != null "> and reservation_number = #{reservationNumber}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
</where>
order by update_time desc
</select>
<select id="selectCompanyById" parameterType="Long" resultMap="CompanyResult">
@ -126,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="allowChange != null">allow_change,</if>
<if test="channelId != null">channel_id,</if>
<if test="citys != null">citys,</if>
<if test="cityName != null">city_name,</if>
<if test="aliPayModel != null">ali_pay_model,</if>
<if test="aliReceivingAccount != null and aliReceivingAccount != ''">ali_receiving_account,</if>
<if test="aliKey != null and aliKey != ''">ali_key,</if>
@ -173,6 +176,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="allowChange != null">#{allowChange},</if>
<if test="channelId != null">#{channelId},</if>
<if test="citys != null">#{citys},</if>
<if test="cityName != null">#{cityName},</if>
<if test="aliPayModel != null">#{aliPayModel},</if>
<if test="aliReceivingAccount != null and aliReceivingAccount != ''">#{aliReceivingAccount},</if>
<if test="aliKey != null and aliKey != ''">#{aliKey},</if>
@ -224,6 +228,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="allowChange != null">allow_change = #{allowChange},</if>
<if test="channelId != null">channel_id = #{channelId},</if>
<if test="citys != null">citys = #{citys},</if>
<if test="cityName != null">city_name = #{cityName},</if>
<if test="aliPayModel != null">ali_pay_model = #{aliPayModel},</if>
<if test="aliReceivingAccount != null and aliReceivingAccount != ''">ali_receiving_account = #{aliReceivingAccount},</if>
<if test="aliKey != null and aliKey != ''">ali_key = #{aliKey},</if>
@ -264,4 +269,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
</mapper>
</mapper>