123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.bluesx.erp.mapper.PaymentConfigMapper">
- <resultMap id="BaseResultMap" type="com.bluesx.erp.entity.PaymentConfig">
- <id column="id" jdbcType="VARCHAR" property="id" />
- <result column="data_order" jdbcType="INTEGER" property="dataOrder" />
- <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
- <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
- <result column="make_person" jdbcType="VARCHAR" property="makePerson" />
- <result column="modifier" jdbcType="VARCHAR" property="modifier" />
- <result column="modifier_time" jdbcType="TIMESTAMP" property="modifierTime" />
- <result column="locked" jdbcType="INTEGER" property="locked" />
- <result column="del_tag" jdbcType="INTEGER" property="delTag" />
- <result column="check_tag" jdbcType="INTEGER" property="checkTag" />
- <result column="check_status" jdbcType="VARCHAR" property="checkStatus" />
- <result column="check_time" jdbcType="TIMESTAMP" property="checkTime" />
- <result column="check_person" jdbcType="VARCHAR" property="checkPerson" />
- <result column="print_tag" jdbcType="INTEGER" property="printTag" />
- <result column="invalid_tag" jdbcType="INTEGER" property="invalidTag" />
- <result column="menu_id" jdbcType="VARCHAR" property="menuId" />
- <result column="menu_name" jdbcType="VARCHAR" property="menuName" />
- <result column="remarks" jdbcType="VARCHAR" property="remarks" />
- <result column="merchant_id" jdbcType="VARCHAR" property="merchantId" />
- <result column="app_id" jdbcType="VARCHAR" property="appId" />
- <result column="member_id" jdbcType="VARCHAR" property="memberId" />
- <result column="ali_pid" jdbcType="VARCHAR" property="aliPid" />
- <result column="store_id" jdbcType="VARCHAR" property="storeId" />
- <result column="agent_id" jdbcType="VARCHAR" property="agentId" />
- <result column="agent_name" jdbcType="VARCHAR" property="agentName" />
- <result column="store_type" jdbcType="INTEGER" property="storeType" />
- <result column="payment_type" jdbcType="INTEGER" property="paymentType" />
- <result column="merchant_code" jdbcType="VARCHAR" property="merchantCode" />
- <result column="merchant_counter_code" jdbcType="VARCHAR" property="merchantCounterCode" />
- <result column="the_branch_code" jdbcType="VARCHAR" property="theBranchCode" />
- <result column="sys_id" jdbcType="VARCHAR" property="sysId" />
- <result column="huifu_id" jdbcType="VARCHAR" property="huifuId" />
- <result column="merchant_name" jdbcType="VARCHAR" property="merchantName" />
- <result column="store_name" jdbcType="VARCHAR" property="storeName" />
- <result column="available_tag" jdbcType="INTEGER" property="availableTag" />
- <result column="private_key_dougong" jdbcType="VARCHAR" property="privateKeyDougong" />
- <result column="public_key_huifu" jdbcType="VARCHAR" property="publicKeyHuifu" />
- <result column="applet_id" jdbcType="VARCHAR" property="appletId" />
- <result column="applet_secret" jdbcType="VARCHAR" property="appletSecret" />
- <result column="wechat_secret" jdbcType="VARCHAR" property="wechatSecret" />
- <result column="dougong_product_id" jdbcType="VARCHAR" property="dougongProductId" />
- </resultMap>
- <sql id="Example_Where_Clause">
- <where>
- <foreach collection="oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause">
- <where>
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List">
- id, data_order, create_time, update_time, make_person, modifier, modifier_time, locked,
- del_tag, check_tag, check_status, check_time, check_person, print_tag, invalid_tag,
- menu_id, menu_name, remarks, merchant_id, app_id, member_id, ali_pid, store_id, agent_id,
- agent_name, store_type, payment_type, merchant_code, merchant_counter_code, the_branch_code,
- sys_id, huifu_id, merchant_name, store_name, available_tag, private_key_dougong,
- public_key_huifu, applet_id, applet_secret, wechat_secret, dougong_product_id
- </sql>
- <select id="selectByExample" parameterType="com.bluesx.erp.entity.PaymentConfigExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from mp_payment_config
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
- select
- <include refid="Base_Column_List" />
- from mp_payment_config
- where id = #{id,jdbcType=VARCHAR}
- </select>
- <select id="selectByHostName" parameterType="java.lang.String" resultType="string">
- select
- token
- from mp_payment_config
- where host_name LIKE CONCAT('%', #{hostName}, '%')
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
- delete from mp_payment_config
- where id = #{id,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.bluesx.erp.entity.PaymentConfigExample">
- delete from mp_payment_config
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.bluesx.erp.entity.PaymentConfig">
- insert into mp_payment_config (id, data_order, create_time,
- update_time, make_person, modifier,
- modifier_time, locked, del_tag,
- check_tag, check_status, check_time,
- check_person, print_tag, invalid_tag,
- menu_id, menu_name, remarks,
- merchant_id, app_id, member_id,
- ali_pid, store_id, agent_id,
- agent_name, store_type, payment_type,
- merchant_code, merchant_counter_code, the_branch_code,
- sys_id, huifu_id, merchant_name,
- store_name, available_tag, private_key_dougong,
- public_key_huifu, applet_id, applet_secret,
- wechat_secret, dougong_product_id)
- values (#{id,jdbcType=VARCHAR}, #{dataOrder,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
- #{updateTime,jdbcType=TIMESTAMP}, #{makePerson,jdbcType=VARCHAR}, #{modifier,jdbcType=VARCHAR},
- #{modifierTime,jdbcType=TIMESTAMP}, #{locked,jdbcType=INTEGER}, #{delTag,jdbcType=INTEGER},
- #{checkTag,jdbcType=INTEGER}, #{checkStatus,jdbcType=VARCHAR}, #{checkTime,jdbcType=TIMESTAMP},
- #{checkPerson,jdbcType=VARCHAR}, #{printTag,jdbcType=INTEGER}, #{invalidTag,jdbcType=INTEGER},
- #{menuId,jdbcType=VARCHAR}, #{menuName,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR},
- #{merchantId,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{memberId,jdbcType=VARCHAR},
- #{aliPid,jdbcType=VARCHAR}, #{storeId,jdbcType=VARCHAR}, #{agentId,jdbcType=VARCHAR},
- #{agentName,jdbcType=VARCHAR}, #{storeType,jdbcType=INTEGER}, #{paymentType,jdbcType=INTEGER},
- #{merchantCode,jdbcType=VARCHAR}, #{merchantCounterCode,jdbcType=VARCHAR}, #{theBranchCode,jdbcType=VARCHAR},
- #{sysId,jdbcType=VARCHAR}, #{huifuId,jdbcType=VARCHAR}, #{merchantName,jdbcType=VARCHAR},
- #{storeName,jdbcType=VARCHAR}, #{availableTag,jdbcType=INTEGER}, #{privateKeyDougong,jdbcType=VARCHAR},
- #{publicKeyHuifu,jdbcType=VARCHAR}, #{appletId,jdbcType=VARCHAR}, #{appletSecret,jdbcType=VARCHAR},
- #{wechatSecret,jdbcType=VARCHAR}, #{dougongProductId,jdbcType=VARCHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.bluesx.erp.entity.PaymentConfig">
- insert into mp_payment_config
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- id,
- </if>
- <if test="dataOrder != null">
- data_order,
- </if>
- <if test="createTime != null">
- create_time,
- </if>
- <if test="updateTime != null">
- update_time,
- </if>
- <if test="makePerson != null">
- make_person,
- </if>
- <if test="modifier != null">
- modifier,
- </if>
- <if test="modifierTime != null">
- modifier_time,
- </if>
- <if test="locked != null">
- locked,
- </if>
- <if test="delTag != null">
- del_tag,
- </if>
- <if test="checkTag != null">
- check_tag,
- </if>
- <if test="checkStatus != null">
- check_status,
- </if>
- <if test="checkTime != null">
- check_time,
- </if>
- <if test="checkPerson != null">
- check_person,
- </if>
- <if test="printTag != null">
- print_tag,
- </if>
- <if test="invalidTag != null">
- invalid_tag,
- </if>
- <if test="menuId != null">
- menu_id,
- </if>
- <if test="menuName != null">
- menu_name,
- </if>
- <if test="remarks != null">
- remarks,
- </if>
- <if test="merchantId != null">
- merchant_id,
- </if>
- <if test="appId != null">
- app_id,
- </if>
- <if test="memberId != null">
- member_id,
- </if>
- <if test="aliPid != null">
- ali_pid,
- </if>
- <if test="storeId != null">
- store_id,
- </if>
- <if test="agentId != null">
- agent_id,
- </if>
- <if test="agentName != null">
- agent_name,
- </if>
- <if test="storeType != null">
- store_type,
- </if>
- <if test="paymentType != null">
- payment_type,
- </if>
- <if test="merchantCode != null">
- merchant_code,
- </if>
- <if test="merchantCounterCode != null">
- merchant_counter_code,
- </if>
- <if test="theBranchCode != null">
- the_branch_code,
- </if>
- <if test="sysId != null">
- sys_id,
- </if>
- <if test="huifuId != null">
- huifu_id,
- </if>
- <if test="merchantName != null">
- merchant_name,
- </if>
- <if test="storeName != null">
- store_name,
- </if>
- <if test="availableTag != null">
- available_tag,
- </if>
- <if test="privateKeyDougong != null">
- private_key_dougong,
- </if>
- <if test="publicKeyHuifu != null">
- public_key_huifu,
- </if>
- <if test="appletId != null">
- applet_id,
- </if>
- <if test="appletSecret != null">
- applet_secret,
- </if>
- <if test="wechatSecret != null">
- wechat_secret,
- </if>
- <if test="dougongProductId != null">
- dougong_product_id,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=VARCHAR},
- </if>
- <if test="dataOrder != null">
- #{dataOrder,jdbcType=INTEGER},
- </if>
- <if test="createTime != null">
- #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateTime != null">
- #{updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="makePerson != null">
- #{makePerson,jdbcType=VARCHAR},
- </if>
- <if test="modifier != null">
- #{modifier,jdbcType=VARCHAR},
- </if>
- <if test="modifierTime != null">
- #{modifierTime,jdbcType=TIMESTAMP},
- </if>
- <if test="locked != null">
- #{locked,jdbcType=INTEGER},
- </if>
- <if test="delTag != null">
- #{delTag,jdbcType=INTEGER},
- </if>
- <if test="checkTag != null">
- #{checkTag,jdbcType=INTEGER},
- </if>
- <if test="checkStatus != null">
- #{checkStatus,jdbcType=VARCHAR},
- </if>
- <if test="checkTime != null">
- #{checkTime,jdbcType=TIMESTAMP},
- </if>
- <if test="checkPerson != null">
- #{checkPerson,jdbcType=VARCHAR},
- </if>
- <if test="printTag != null">
- #{printTag,jdbcType=INTEGER},
- </if>
- <if test="invalidTag != null">
- #{invalidTag,jdbcType=INTEGER},
- </if>
- <if test="menuId != null">
- #{menuId,jdbcType=VARCHAR},
- </if>
- <if test="menuName != null">
- #{menuName,jdbcType=VARCHAR},
- </if>
- <if test="remarks != null">
- #{remarks,jdbcType=VARCHAR},
- </if>
- <if test="merchantId != null">
- #{merchantId,jdbcType=VARCHAR},
- </if>
- <if test="appId != null">
- #{appId,jdbcType=VARCHAR},
- </if>
- <if test="memberId != null">
- #{memberId,jdbcType=VARCHAR},
- </if>
- <if test="aliPid != null">
- #{aliPid,jdbcType=VARCHAR},
- </if>
- <if test="storeId != null">
- #{storeId,jdbcType=VARCHAR},
- </if>
- <if test="agentId != null">
- #{agentId,jdbcType=VARCHAR},
- </if>
- <if test="agentName != null">
- #{agentName,jdbcType=VARCHAR},
- </if>
- <if test="storeType != null">
- #{storeType,jdbcType=INTEGER},
- </if>
- <if test="paymentType != null">
- #{paymentType,jdbcType=INTEGER},
- </if>
- <if test="merchantCode != null">
- #{merchantCode,jdbcType=VARCHAR},
- </if>
- <if test="merchantCounterCode != null">
- #{merchantCounterCode,jdbcType=VARCHAR},
- </if>
- <if test="theBranchCode != null">
- #{theBranchCode,jdbcType=VARCHAR},
- </if>
- <if test="sysId != null">
- #{sysId,jdbcType=VARCHAR},
- </if>
- <if test="huifuId != null">
- #{huifuId,jdbcType=VARCHAR},
- </if>
- <if test="merchantName != null">
- #{merchantName,jdbcType=VARCHAR},
- </if>
- <if test="storeName != null">
- #{storeName,jdbcType=VARCHAR},
- </if>
- <if test="availableTag != null">
- #{availableTag,jdbcType=INTEGER},
- </if>
- <if test="privateKeyDougong != null">
- #{privateKeyDougong,jdbcType=VARCHAR},
- </if>
- <if test="publicKeyHuifu != null">
- #{publicKeyHuifu,jdbcType=VARCHAR},
- </if>
- <if test="appletId != null">
- #{appletId,jdbcType=VARCHAR},
- </if>
- <if test="appletSecret != null">
- #{appletSecret,jdbcType=VARCHAR},
- </if>
- <if test="wechatSecret != null">
- #{wechatSecret,jdbcType=VARCHAR},
- </if>
- <if test="dougongProductId != null">
- #{dougongProductId,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.bluesx.erp.entity.PaymentConfigExample" resultType="java.lang.Long">
- select count(*) from mp_payment_config
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update mp_payment_config
- <set>
- <if test="record.id != null">
- id = #{record.id,jdbcType=VARCHAR},
- </if>
- <if test="record.dataOrder != null">
- data_order = #{record.dataOrder,jdbcType=INTEGER},
- </if>
- <if test="record.createTime != null">
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.updateTime != null">
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.makePerson != null">
- make_person = #{record.makePerson,jdbcType=VARCHAR},
- </if>
- <if test="record.modifier != null">
- modifier = #{record.modifier,jdbcType=VARCHAR},
- </if>
- <if test="record.modifierTime != null">
- modifier_time = #{record.modifierTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.locked != null">
- locked = #{record.locked,jdbcType=INTEGER},
- </if>
- <if test="record.delTag != null">
- del_tag = #{record.delTag,jdbcType=INTEGER},
- </if>
- <if test="record.checkTag != null">
- check_tag = #{record.checkTag,jdbcType=INTEGER},
- </if>
- <if test="record.checkStatus != null">
- check_status = #{record.checkStatus,jdbcType=VARCHAR},
- </if>
- <if test="record.checkTime != null">
- check_time = #{record.checkTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.checkPerson != null">
- check_person = #{record.checkPerson,jdbcType=VARCHAR},
- </if>
- <if test="record.printTag != null">
- print_tag = #{record.printTag,jdbcType=INTEGER},
- </if>
- <if test="record.invalidTag != null">
- invalid_tag = #{record.invalidTag,jdbcType=INTEGER},
- </if>
- <if test="record.menuId != null">
- menu_id = #{record.menuId,jdbcType=VARCHAR},
- </if>
- <if test="record.menuName != null">
- menu_name = #{record.menuName,jdbcType=VARCHAR},
- </if>
- <if test="record.remarks != null">
- remarks = #{record.remarks,jdbcType=VARCHAR},
- </if>
- <if test="record.merchantId != null">
- merchant_id = #{record.merchantId,jdbcType=VARCHAR},
- </if>
- <if test="record.appId != null">
- app_id = #{record.appId,jdbcType=VARCHAR},
- </if>
- <if test="record.memberId != null">
- member_id = #{record.memberId,jdbcType=VARCHAR},
- </if>
- <if test="record.aliPid != null">
- ali_pid = #{record.aliPid,jdbcType=VARCHAR},
- </if>
- <if test="record.storeId != null">
- store_id = #{record.storeId,jdbcType=VARCHAR},
- </if>
- <if test="record.agentId != null">
- agent_id = #{record.agentId,jdbcType=VARCHAR},
- </if>
- <if test="record.agentName != null">
- agent_name = #{record.agentName,jdbcType=VARCHAR},
- </if>
- <if test="record.storeType != null">
- store_type = #{record.storeType,jdbcType=INTEGER},
- </if>
- <if test="record.paymentType != null">
- payment_type = #{record.paymentType,jdbcType=INTEGER},
- </if>
- <if test="record.merchantCode != null">
- merchant_code = #{record.merchantCode,jdbcType=VARCHAR},
- </if>
- <if test="record.merchantCounterCode != null">
- merchant_counter_code = #{record.merchantCounterCode,jdbcType=VARCHAR},
- </if>
- <if test="record.theBranchCode != null">
- the_branch_code = #{record.theBranchCode,jdbcType=VARCHAR},
- </if>
- <if test="record.sysId != null">
- sys_id = #{record.sysId,jdbcType=VARCHAR},
- </if>
- <if test="record.huifuId != null">
- huifu_id = #{record.huifuId,jdbcType=VARCHAR},
- </if>
- <if test="record.merchantName != null">
- merchant_name = #{record.merchantName,jdbcType=VARCHAR},
- </if>
- <if test="record.storeName != null">
- store_name = #{record.storeName,jdbcType=VARCHAR},
- </if>
- <if test="record.availableTag != null">
- available_tag = #{record.availableTag,jdbcType=INTEGER},
- </if>
- <if test="record.privateKeyDougong != null">
- private_key_dougong = #{record.privateKeyDougong,jdbcType=VARCHAR},
- </if>
- <if test="record.publicKeyHuifu != null">
- public_key_huifu = #{record.publicKeyHuifu,jdbcType=VARCHAR},
- </if>
- <if test="record.appletId != null">
- applet_id = #{record.appletId,jdbcType=VARCHAR},
- </if>
- <if test="record.appletSecret != null">
- applet_secret = #{record.appletSecret,jdbcType=VARCHAR},
- </if>
- <if test="record.wechatSecret != null">
- wechat_secret = #{record.wechatSecret,jdbcType=VARCHAR},
- </if>
- <if test="record.dougongProductId != null">
- dougong_product_id = #{record.dougongProductId,jdbcType=VARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update mp_payment_config
- set id = #{record.id,jdbcType=VARCHAR},
- data_order = #{record.dataOrder,jdbcType=INTEGER},
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
- make_person = #{record.makePerson,jdbcType=VARCHAR},
- modifier = #{record.modifier,jdbcType=VARCHAR},
- modifier_time = #{record.modifierTime,jdbcType=TIMESTAMP},
- locked = #{record.locked,jdbcType=INTEGER},
- del_tag = #{record.delTag,jdbcType=INTEGER},
- check_tag = #{record.checkTag,jdbcType=INTEGER},
- check_status = #{record.checkStatus,jdbcType=VARCHAR},
- check_time = #{record.checkTime,jdbcType=TIMESTAMP},
- check_person = #{record.checkPerson,jdbcType=VARCHAR},
- print_tag = #{record.printTag,jdbcType=INTEGER},
- invalid_tag = #{record.invalidTag,jdbcType=INTEGER},
- menu_id = #{record.menuId,jdbcType=VARCHAR},
- menu_name = #{record.menuName,jdbcType=VARCHAR},
- remarks = #{record.remarks,jdbcType=VARCHAR},
- merchant_id = #{record.merchantId,jdbcType=VARCHAR},
- app_id = #{record.appId,jdbcType=VARCHAR},
- member_id = #{record.memberId,jdbcType=VARCHAR},
- ali_pid = #{record.aliPid,jdbcType=VARCHAR},
- store_id = #{record.storeId,jdbcType=VARCHAR},
- agent_id = #{record.agentId,jdbcType=VARCHAR},
- agent_name = #{record.agentName,jdbcType=VARCHAR},
- store_type = #{record.storeType,jdbcType=INTEGER},
- payment_type = #{record.paymentType,jdbcType=INTEGER},
- merchant_code = #{record.merchantCode,jdbcType=VARCHAR},
- merchant_counter_code = #{record.merchantCounterCode,jdbcType=VARCHAR},
- the_branch_code = #{record.theBranchCode,jdbcType=VARCHAR},
- sys_id = #{record.sysId,jdbcType=VARCHAR},
- huifu_id = #{record.huifuId,jdbcType=VARCHAR},
- merchant_name = #{record.merchantName,jdbcType=VARCHAR},
- store_name = #{record.storeName,jdbcType=VARCHAR},
- available_tag = #{record.availableTag,jdbcType=INTEGER},
- private_key_dougong = #{record.privateKeyDougong,jdbcType=VARCHAR},
- public_key_huifu = #{record.publicKeyHuifu,jdbcType=VARCHAR},
- applet_id = #{record.appletId,jdbcType=VARCHAR},
- applet_secret = #{record.appletSecret,jdbcType=VARCHAR},
- wechat_secret = #{record.wechatSecret,jdbcType=VARCHAR},
- dougong_product_id = #{record.dougongProductId,jdbcType=VARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.bluesx.erp.entity.PaymentConfig">
- update mp_payment_config
- <set>
- <if test="dataOrder != null">
- data_order = #{dataOrder,jdbcType=INTEGER},
- </if>
- <if test="createTime != null">
- create_time = #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateTime != null">
- update_time = #{updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="makePerson != null">
- make_person = #{makePerson,jdbcType=VARCHAR},
- </if>
- <if test="modifier != null">
- modifier = #{modifier,jdbcType=VARCHAR},
- </if>
- <if test="modifierTime != null">
- modifier_time = #{modifierTime,jdbcType=TIMESTAMP},
- </if>
- <if test="locked != null">
- locked = #{locked,jdbcType=INTEGER},
- </if>
- <if test="delTag != null">
- del_tag = #{delTag,jdbcType=INTEGER},
- </if>
- <if test="checkTag != null">
- check_tag = #{checkTag,jdbcType=INTEGER},
- </if>
- <if test="checkStatus != null">
- check_status = #{checkStatus,jdbcType=VARCHAR},
- </if>
- <if test="checkTime != null">
- check_time = #{checkTime,jdbcType=TIMESTAMP},
- </if>
- <if test="checkPerson != null">
- check_person = #{checkPerson,jdbcType=VARCHAR},
- </if>
- <if test="printTag != null">
- print_tag = #{printTag,jdbcType=INTEGER},
- </if>
- <if test="invalidTag != null">
- invalid_tag = #{invalidTag,jdbcType=INTEGER},
- </if>
- <if test="menuId != null">
- menu_id = #{menuId,jdbcType=VARCHAR},
- </if>
- <if test="menuName != null">
- menu_name = #{menuName,jdbcType=VARCHAR},
- </if>
- <if test="remarks != null">
- remarks = #{remarks,jdbcType=VARCHAR},
- </if>
- <if test="merchantId != null">
- merchant_id = #{merchantId,jdbcType=VARCHAR},
- </if>
- <if test="appId != null">
- app_id = #{appId,jdbcType=VARCHAR},
- </if>
- <if test="memberId != null">
- member_id = #{memberId,jdbcType=VARCHAR},
- </if>
- <if test="aliPid != null">
- ali_pid = #{aliPid,jdbcType=VARCHAR},
- </if>
- <if test="storeId != null">
- store_id = #{storeId,jdbcType=VARCHAR},
- </if>
- <if test="agentId != null">
- agent_id = #{agentId,jdbcType=VARCHAR},
- </if>
- <if test="agentName != null">
- agent_name = #{agentName,jdbcType=VARCHAR},
- </if>
- <if test="storeType != null">
- store_type = #{storeType,jdbcType=INTEGER},
- </if>
- <if test="paymentType != null">
- payment_type = #{paymentType,jdbcType=INTEGER},
- </if>
- <if test="merchantCode != null">
- merchant_code = #{merchantCode,jdbcType=VARCHAR},
- </if>
- <if test="merchantCounterCode != null">
- merchant_counter_code = #{merchantCounterCode,jdbcType=VARCHAR},
- </if>
- <if test="theBranchCode != null">
- the_branch_code = #{theBranchCode,jdbcType=VARCHAR},
- </if>
- <if test="sysId != null">
- sys_id = #{sysId,jdbcType=VARCHAR},
- </if>
- <if test="huifuId != null">
- huifu_id = #{huifuId,jdbcType=VARCHAR},
- </if>
- <if test="merchantName != null">
- merchant_name = #{merchantName,jdbcType=VARCHAR},
- </if>
- <if test="storeName != null">
- store_name = #{storeName,jdbcType=VARCHAR},
- </if>
- <if test="availableTag != null">
- available_tag = #{availableTag,jdbcType=INTEGER},
- </if>
- <if test="privateKeyDougong != null">
- private_key_dougong = #{privateKeyDougong,jdbcType=VARCHAR},
- </if>
- <if test="publicKeyHuifu != null">
- public_key_huifu = #{publicKeyHuifu,jdbcType=VARCHAR},
- </if>
- <if test="appletId != null">
- applet_id = #{appletId,jdbcType=VARCHAR},
- </if>
- <if test="appletSecret != null">
- applet_secret = #{appletSecret,jdbcType=VARCHAR},
- </if>
- <if test="wechatSecret != null">
- wechat_secret = #{wechatSecret,jdbcType=VARCHAR},
- </if>
- <if test="dougongProductId != null">
- dougong_product_id = #{dougongProductId,jdbcType=VARCHAR},
- </if>
- </set>
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.bluesx.erp.entity.PaymentConfig">
- update mp_payment_config
- set data_order = #{dataOrder,jdbcType=INTEGER},
- create_time = #{createTime,jdbcType=TIMESTAMP},
- update_time = #{updateTime,jdbcType=TIMESTAMP},
- make_person = #{makePerson,jdbcType=VARCHAR},
- modifier = #{modifier,jdbcType=VARCHAR},
- modifier_time = #{modifierTime,jdbcType=TIMESTAMP},
- locked = #{locked,jdbcType=INTEGER},
- del_tag = #{delTag,jdbcType=INTEGER},
- check_tag = #{checkTag,jdbcType=INTEGER},
- check_status = #{checkStatus,jdbcType=VARCHAR},
- check_time = #{checkTime,jdbcType=TIMESTAMP},
- check_person = #{checkPerson,jdbcType=VARCHAR},
- print_tag = #{printTag,jdbcType=INTEGER},
- invalid_tag = #{invalidTag,jdbcType=INTEGER},
- menu_id = #{menuId,jdbcType=VARCHAR},
- menu_name = #{menuName,jdbcType=VARCHAR},
- remarks = #{remarks,jdbcType=VARCHAR},
- merchant_id = #{merchantId,jdbcType=VARCHAR},
- app_id = #{appId,jdbcType=VARCHAR},
- member_id = #{memberId,jdbcType=VARCHAR},
- ali_pid = #{aliPid,jdbcType=VARCHAR},
- store_id = #{storeId,jdbcType=VARCHAR},
- agent_id = #{agentId,jdbcType=VARCHAR},
- agent_name = #{agentName,jdbcType=VARCHAR},
- store_type = #{storeType,jdbcType=INTEGER},
- payment_type = #{paymentType,jdbcType=INTEGER},
- merchant_code = #{merchantCode,jdbcType=VARCHAR},
- merchant_counter_code = #{merchantCounterCode,jdbcType=VARCHAR},
- the_branch_code = #{theBranchCode,jdbcType=VARCHAR},
- sys_id = #{sysId,jdbcType=VARCHAR},
- huifu_id = #{huifuId,jdbcType=VARCHAR},
- merchant_name = #{merchantName,jdbcType=VARCHAR},
- store_name = #{storeName,jdbcType=VARCHAR},
- available_tag = #{availableTag,jdbcType=INTEGER},
- private_key_dougong = #{privateKeyDougong,jdbcType=VARCHAR},
- public_key_huifu = #{publicKeyHuifu,jdbcType=VARCHAR},
- applet_id = #{appletId,jdbcType=VARCHAR},
- applet_secret = #{appletSecret,jdbcType=VARCHAR},
- wechat_secret = #{wechatSecret,jdbcType=VARCHAR},
- dougong_product_id = #{dougongProductId,jdbcType=VARCHAR}
- where id = #{id,jdbcType=VARCHAR}
- </update>
- </mapper>
|