| | |
| | | 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="," > |