mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-05 06:27:59 +08:00
update 查询运营商配置的提现方式
This commit is contained in:
@@ -647,7 +647,7 @@ public class PileMerchantInfoServiceImpl implements PileMerchantInfoService {
|
|||||||
if (pileMerchantInfo != null) {
|
if (pileMerchantInfo != null) {
|
||||||
MerchantWithdrawalTypeVO merchantWithdrawalTypeVO = new MerchantWithdrawalTypeVO();
|
MerchantWithdrawalTypeVO merchantWithdrawalTypeVO = new MerchantWithdrawalTypeVO();
|
||||||
merchantWithdrawalTypeVO.setMerchantId(pileMerchantInfo.getId() + "");
|
merchantWithdrawalTypeVO.setMerchantId(pileMerchantInfo.getId() + "");
|
||||||
merchantWithdrawalTypeVO.setWithdrawalType(pileMerchantInfo.getDelayMode());
|
merchantWithdrawalTypeVO.setWithdrawalType(pileMerchantInfo.getWithdrawalType());
|
||||||
merchantWithdrawalTypeVO.setReservedAmount(pileMerchantInfo.getReservedAmount());
|
merchantWithdrawalTypeVO.setReservedAmount(pileMerchantInfo.getReservedAmount());
|
||||||
return merchantWithdrawalTypeVO;
|
return merchantWithdrawalTypeVO;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,14 +29,14 @@
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
id, merchant_name, merchant_level, parent_id, address, dept_id, `status`, delay_mode,
|
id, merchant_name, merchant_level, parent_id, address, dept_id, `status`, delay_mode,
|
||||||
organization_code, manager_name, manager_phone, service_phone, logo_url, app_id,
|
organization_code, manager_name, manager_phone, service_phone, logo_url, app_id,
|
||||||
alipay_app_id, withdrawal_type, reserved_amount, create_by, create_time, update_by,
|
alipay_app_id, withdrawal_type, reserved_amount, create_by, create_time, update_by,
|
||||||
update_time, del_flag
|
update_time, del_flag
|
||||||
</sql>
|
</sql>
|
||||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from pile_merchant_info
|
from pile_merchant_info
|
||||||
where id = #{id,jdbcType=INTEGER}
|
where id = #{id,jdbcType=INTEGER}
|
||||||
@@ -525,19 +525,19 @@
|
|||||||
<insert id="batchInsert" keyColumn="id" keyProperty="id" parameterType="map" useGeneratedKeys="true">
|
<insert id="batchInsert" keyColumn="id" keyProperty="id" parameterType="map" useGeneratedKeys="true">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
insert into pile_merchant_info
|
insert into pile_merchant_info
|
||||||
(merchant_name, merchant_level, parent_id, address, dept_id, `status`, delay_mode,
|
(merchant_name, merchant_level, parent_id, address, dept_id, `status`, delay_mode,
|
||||||
organization_code, manager_name, manager_phone, service_phone, logo_url, app_id,
|
organization_code, manager_name, manager_phone, service_phone, logo_url, app_id,
|
||||||
alipay_app_id, withdrawal_type, reserved_amount, create_by, create_time, update_by,
|
alipay_app_id, withdrawal_type, reserved_amount, create_by, create_time, update_by,
|
||||||
update_time, del_flag)
|
update_time, del_flag)
|
||||||
values
|
values
|
||||||
<foreach collection="list" item="item" separator=",">
|
<foreach collection="list" item="item" separator=",">
|
||||||
(#{item.merchantName,jdbcType=VARCHAR}, #{item.merchantLevel,jdbcType=VARCHAR}, #{item.parentId,jdbcType=VARCHAR},
|
(#{item.merchantName,jdbcType=VARCHAR}, #{item.merchantLevel,jdbcType=VARCHAR}, #{item.parentId,jdbcType=VARCHAR},
|
||||||
#{item.address,jdbcType=VARCHAR}, #{item.deptId,jdbcType=VARCHAR}, #{item.status,jdbcType=CHAR},
|
#{item.address,jdbcType=VARCHAR}, #{item.deptId,jdbcType=VARCHAR}, #{item.status,jdbcType=CHAR},
|
||||||
#{item.delayMode,jdbcType=VARCHAR}, #{item.organizationCode,jdbcType=VARCHAR},
|
#{item.delayMode,jdbcType=VARCHAR}, #{item.organizationCode,jdbcType=VARCHAR},
|
||||||
#{item.managerName,jdbcType=VARCHAR}, #{item.managerPhone,jdbcType=VARCHAR}, #{item.servicePhone,jdbcType=VARCHAR},
|
#{item.managerName,jdbcType=VARCHAR}, #{item.managerPhone,jdbcType=VARCHAR}, #{item.servicePhone,jdbcType=VARCHAR},
|
||||||
#{item.logoUrl,jdbcType=VARCHAR}, #{item.appId,jdbcType=VARCHAR}, #{item.alipayAppId,jdbcType=VARCHAR},
|
#{item.logoUrl,jdbcType=VARCHAR}, #{item.appId,jdbcType=VARCHAR}, #{item.alipayAppId,jdbcType=VARCHAR},
|
||||||
#{item.withdrawalType,jdbcType=VARCHAR}, #{item.reservedAmount,jdbcType=DECIMAL},
|
#{item.withdrawalType,jdbcType=VARCHAR}, #{item.reservedAmount,jdbcType=DECIMAL},
|
||||||
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
|
#{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR},
|
||||||
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=CHAR})
|
#{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=CHAR})
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
@@ -597,7 +597,7 @@
|
|||||||
#{updateTime,jdbcType=TIMESTAMP},
|
#{updateTime,jdbcType=TIMESTAMP},
|
||||||
#{delFlag,jdbcType=CHAR},
|
#{delFlag,jdbcType=CHAR},
|
||||||
</trim>
|
</trim>
|
||||||
on duplicate key update
|
on duplicate key update
|
||||||
<trim suffixOverrides=",">
|
<trim suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
id = #{id,jdbcType=INTEGER},
|
id = #{id,jdbcType=INTEGER},
|
||||||
@@ -765,7 +765,7 @@
|
|||||||
#{delFlag,jdbcType=CHAR},
|
#{delFlag,jdbcType=CHAR},
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
on duplicate key update
|
on duplicate key update
|
||||||
<trim suffixOverrides=",">
|
<trim suffixOverrides=",">
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
id = #{id,jdbcType=INTEGER},
|
id = #{id,jdbcType=INTEGER},
|
||||||
@@ -835,7 +835,7 @@
|
|||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<resultMap id="PileMerchantInfoResult" type="com.jsowell.pile.domain.PileMerchantInfo">
|
<resultMap id="BaseResultMap" type="com.jsowell.pile.domain.PileMerchantInfo">
|
||||||
<result column="id" property="id" />
|
<result column="id" property="id" />
|
||||||
<result column="merchant_name" property="merchantName" />
|
<result column="merchant_name" property="merchantName" />
|
||||||
<result column="merchant_level" property="merchantLevel" />
|
<result column="merchant_level" property="merchantLevel" />
|
||||||
@@ -864,7 +864,7 @@
|
|||||||
from pile_merchant_info
|
from pile_merchant_info
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectPileMerchantInfoList" parameterType="com.jsowell.pile.domain.PileMerchantInfo" resultMap="PileMerchantInfoResult">
|
<select id="selectPileMerchantInfoList" parameterType="com.jsowell.pile.domain.PileMerchantInfo" resultMap="BaseResultMap">
|
||||||
<include refid="selectPileMerchantInfoVo" />
|
<include refid="selectPileMerchantInfoVo" />
|
||||||
<where>
|
<where>
|
||||||
del_flag = '0'
|
del_flag = '0'
|
||||||
@@ -905,17 +905,17 @@
|
|||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectPileMerchantInfoById" parameterType="Long" resultMap="PileMerchantInfoResult">
|
<select id="selectPileMerchantInfoById" parameterType="Long" resultMap="BaseResultMap">
|
||||||
<include refid="selectPileMerchantInfoVo" />
|
<include refid="selectPileMerchantInfoVo" />
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
<select id="selectPileMerchantInfoListByIdList" resultMap="PileMerchantInfoResult">
|
<select id="selectPileMerchantInfoListByIdList" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from pile_merchant_info
|
from pile_merchant_info
|
||||||
where id in
|
where id in
|
||||||
<foreach close=")" collection="merchantIdList" item="merchantId" open="(" separator=",">
|
<foreach close=")" collection="merchantIdList" item="merchantId" open="(" separator=",">
|
||||||
#{merchantId,jdbcType=VARCHAR}
|
#{merchantId,jdbcType=VARCHAR}
|
||||||
</foreach>
|
</foreach>
|
||||||
@@ -1125,7 +1125,7 @@
|
|||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<select id="selectPileMerchantInfoByWxAppId" resultMap="PileMerchantInfoResult">
|
<select id="selectPileMerchantInfoByWxAppId" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from pile_merchant_info
|
from pile_merchant_info
|
||||||
@@ -1149,7 +1149,7 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="queryInfoByDeptId" resultMap="PileMerchantInfoResult">
|
<select id="queryInfoByDeptId" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from pile_merchant_info
|
from pile_merchant_info
|
||||||
@@ -1157,7 +1157,7 @@
|
|||||||
and dept_id = #{deptId,jdbcType=VARCHAR}
|
and dept_id = #{deptId,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="queryInfoListByIds" resultMap="PileMerchantInfoResult">
|
<select id="queryInfoListByIds" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from
|
from
|
||||||
@@ -1171,7 +1171,7 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="queryFirstLevelMerchantList" resultMap="PileMerchantInfoResult">
|
<select id="queryFirstLevelMerchantList" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from
|
from
|
||||||
@@ -1180,7 +1180,7 @@
|
|||||||
and merchant_level = '1'
|
and merchant_level = '1'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getFirstLevelMerchantByWxAppId" resultMap="PileMerchantInfoResult">
|
<select id="getFirstLevelMerchantByWxAppId" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from
|
from
|
||||||
@@ -1190,7 +1190,7 @@
|
|||||||
and app_id = #{wxAppId,jdbcType=VARCHAR}
|
and app_id = #{wxAppId,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getFirstLevelMerchantByAlipayAppId" resultMap="PileMerchantInfoResult">
|
<select id="getFirstLevelMerchantByAlipayAppId" resultMap="BaseResultMap">
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from
|
from
|
||||||
@@ -1248,7 +1248,7 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectListByFirstMerchant" resultMap="PileMerchantInfoResult">
|
<select id="selectListByFirstMerchant" resultMap="BaseResultMap">
|
||||||
select <include refid="Base_Column_List" />
|
select <include refid="Base_Column_List" />
|
||||||
from pile_merchant_info
|
from pile_merchant_info
|
||||||
where del_flag = '0'
|
where del_flag = '0'
|
||||||
@@ -1269,4 +1269,4 @@
|
|||||||
AND t1.id = #{stationId,jdbcType=VARCHAR}
|
AND t1.id = #{stationId,jdbcType=VARCHAR}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user