jack
2024-04-18 5a8a43d5edb7af016b76246d9e9f661f4363342e
src/main/resources/mapper/SitePayMapper.xml
@@ -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="," >