1
zj
2024-05-21 0e20a4ee1fb4f46598948e9a42c350e7486f73b4
target/classes/mapper/SitePayMapper.xml
@@ -18,7 +18,7 @@
      <result column="is_lock"  property="isLock"/>
      <result column="total_price"  property="totalPrice"/>
      <result column="assets_type" property="assetsType"/>
      <result column="bank_number" property="bankNumber"/>
  </resultMap>
@@ -36,17 +36,17 @@
    delete from site_pay
    where id = #{id,jdbcType=INTEGER}
  </delete>
  <insert id="insert" parameterType="com.nq.pojo.SitePay" >
    insert into site_pay (id, c_type,form_url,form_code,channel_type, channel_name,
      channel_desc, channel_account, channel_img,
      channel_min_limit, channel_max_limit, is_show,
      is_lock, totalPrice)
    values (#{id,jdbcType=INTEGER}, #{cType,jdbcType=INTEGER},#{formUrl,jdbcType=VARCHAR},#{formCode,jdbcType=VARCHAR},
      #{channelType,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},
      #{channelDesc,jdbcType=VARCHAR}, #{channelAccount,jdbcType=VARCHAR}, #{channelImg,jdbcType=VARCHAR},
      #{channelMinLimit,jdbcType=INTEGER}, #{channelMaxLimit,jdbcType=INTEGER}, #{isShow,jdbcType=INTEGER},
      #{isLock,jdbcType=INTEGER},#{totalPrice,jdbcType=DECIMAL})
  </insert>
<!--  <insert id="insert" parameterType="com.nq.pojo.SitePay" >-->
<!--    insert into site_pay (id, c_type,form_url,form_code,channel_type, channel_name,-->
<!--      channel_desc, channel_account, channel_img,-->
<!--      channel_min_limit, channel_max_limit, is_show,-->
<!--      is_lock, total_price)-->
<!--    values (#{id,jdbcType=INTEGER}, #{cType,jdbcType=INTEGER},#{formUrl,jdbcType=VARCHAR},#{formCode,jdbcType=VARCHAR},-->
<!--      #{channelType,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR},-->
<!--      #{channelDesc,jdbcType=VARCHAR}, #{channelAccount,jdbcType=VARCHAR}, #{channelImg,jdbcType=VARCHAR},-->
<!--      #{channelMinLimit,jdbcType=INTEGER}, #{channelMaxLimit,jdbcType=INTEGER}, #{isShow,jdbcType=INTEGER},-->
<!--      #{isLock,jdbcType=INTEGER},#{totalPrice,jdbcType=DECIMAL})-->
<!--  </insert>-->
  <insert id="insertSelective" parameterType="com.nq.pojo.SitePay" >
    insert into site_pay
    <trim prefix="(" suffix=")" suffixOverrides="," >
@@ -219,7 +219,7 @@
  <select id="listByAdmin" parameterType="string" resultMap="BaseResultMap">
    SELECT
    <include refid="Base_Column_List"/>
   *
    FROM site_pay
    <where>
      <if test="channelType != null and channelType != '' ">
@@ -232,7 +232,7 @@
  <select id="getPayInfo" resultMap="BaseResultMap">
    SELECT
    <include refid="Base_Column_List"/>
    *
    FROM site_pay WHERE is_show = 0
  </select>