| | |
| | | <arg column="end_display" jdbcType="BIT" javaType="java.lang.Boolean" /> |
| | | <arg column="stock_margin_display" jdbcType="BIT" javaType="java.lang.Boolean" /> |
| | | <arg column="holiday_display" jdbcType="BIT" javaType="java.lang.Boolean" /> |
| | | <arg column="stock_dz_display" jdbcType="BIT" javaType="java.lang.Boolean" /> |
| | | <arg column="tran_withdraw_display" jdbcType="BIT" javaType="java.lang.Boolean" /> |
| | | |
| | | |
| | | </constructor> |
| | | </resultMap> |
| | | <sql id="Base_Column_List" > |
| | |
| | | margin_display, |
| | | end_display, |
| | | stock_margin_display, |
| | | holiday_display |
| | | holiday_display,stock_dz_display,tran_withdraw_display |
| | | </sql> |
| | | <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" > |
| | | select |
| | |
| | | delay_display, |
| | | expand_display, |
| | | margin_display, |
| | | end_display) |
| | | end_display,stock_dz_display,tran_withdraw_display) |
| | | values (#{id,jdbcType=INTEGER}, #{stockDisplay,jdbcType=BIT}, #{kcStockDisplay,jdbcType=BIT}, |
| | | #{indexDisplay,jdbcType=BIT}, #{futuresDisplay,jdbcType=BIT}, #{realNameDisplay,jdbcType=BIT} |
| | | , #{fundsDisplay,jdbcType=BIT}, #{delayDisplay,jdbcType=BIT}, #{expandDisplay,jdbcType=BIT} |
| | | , #{marginDisplay,jdbcType=BIT}, #{endDisplay,jdbcType=BIT}) |
| | | , #{marginDisplay,jdbcType=BIT}, #{endDisplay,jdbcType=BIT},#{stockDzDisplay,jdbcType=BIT},#{tranWithdrawDisplay,jdbcType=BIT}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.nq.pojo.SiteProduct" > |
| | | insert into site_product |
| | |
| | | <if test ='null != endDisplay'> |
| | | end_display |
| | | </if> |
| | | <if test ='null != stockDzDisplay'> |
| | | stock_dz_display |
| | | </if> |
| | | <if test ='null != tranWithdrawDisplay'> |
| | | tran_withdraw_display |
| | | </if> |
| | | |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides="," > |
| | | <if test="id != null" > |
| | |
| | | <if test ='null != endDisplay'> |
| | | #{endDisplay,jdbcType=BIT} |
| | | </if> |
| | | <if test ='null != stockDzDisplay'> |
| | | #{stockDzDisplay,jdbcType=BIT} |
| | | </if> |
| | | <if test ='null != tranWithdrawDisplay'> |
| | | #{tranWithdrawDisplay,jdbcType=BIT} |
| | | </if> |
| | | |
| | | </trim> |
| | | </insert> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.nq.pojo.SiteProduct" > |
| | |
| | | <if test="fundsDisplay != null" > |
| | | funds_display = #{fundsDisplay,jdbcType=BIT}, |
| | | </if> |
| | | <if test="stockDzDisplay != null" > |
| | | stock_dz_display = #{stockDzDisplay,jdbcType=BIT}, |
| | | </if> |
| | | <if test="tranWithdrawDisplay != null" > |
| | | tran_withdraw_display = #{tranWithdrawDisplay,jdbcType=BIT}, |
| | | </if> |
| | | |
| | | <if test ='null != delayDisplay'>delay_display = #{delayDisplay},</if> |
| | | <if test ='null != expandDisplay'>expand_display = #{expandDisplay},</if> |
| | | <if test ='null != marginDisplay'>margin_display = #{marginDisplay},</if> |
| | |
| | | index_display = #{indexDisplay,jdbcType=BIT}, |
| | | futures_display = #{futuresDisplay,jdbcType=BIT}, |
| | | real_name_display = #{realNameDisplay,jdbcType=BIT}, |
| | | funds_display = #{fundsDisplay,jdbcType=BIT} |
| | | funds_display = #{fundsDisplay,jdbcType=BIT}, |
| | | stock_dz_display = #{stockDzDisplay,jdbcType=BIT}, |
| | | tran_withdraw_display = #{tranWithdrawDisplay,jdbcType=BIT} |
| | | where id = #{id,jdbcType=INTEGER} |
| | | </update> |
| | | |