| | |
| | | <!--@mbg.generated--> |
| | | insert into plt_product_params |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null and id !=''"> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="proId != null and proId !=''"> |
| | | <if test="proId != null"> |
| | | pro_id, |
| | | </if> |
| | | <if test="paramName!= null and paramName !=''"> |
| | |
| | | <if test="paramValue!= null and paramValue !=''"> |
| | | param_value, |
| | | </if> |
| | | <if test="deleted != null and deleted !=''"> |
| | | <if test="deleted != null"> |
| | | deleted |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null and id !=''"> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="proId != null and proId !=''"> |
| | | <if test="proId != null"> |
| | | #{proId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="paramName!= null and paramName !=''"> |
| | |
| | | <if test="paramValue!= null and paramValue !=''"> |
| | | #{paramValue,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deleted != null and deleted !=''"> |
| | | <if test="deleted != null"> |
| | | #{deleted,jdbcType=TINYINT} |
| | | </if> |
| | | </trim> |
| | |
| | | <!--@mbg.generated--> |
| | | update plt_product_params |
| | | <set> |
| | | <if test="proId != null and proId !=''"> |
| | | <if test="proId != null"> |
| | | pro_id = #{proId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="paramName!= null and paramName !=''"> |
| | |
| | | <if test="paramValue!= null and paramValue !=''"> |
| | | param_value = #{paramValue,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deleted != null and deleted !=''"> |
| | | <if test="deleted != null"> |
| | | deleted = #{deleted,jdbcType=TINYINT} |
| | | </if> |
| | | </set> |