| | |
| | | <result property="minAppSecret" column="min_app_secret" /> |
| | | <result property="callbackUrl" column="callback_url" /> |
| | | <result property="payUrl" column="pay_url" /> |
| | | <result property="orderClass" column="order_class" /> |
| | | <result property="userId" column="user_id" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSysClientAppVo"> |
| | | select app_id, client_name, app_key, security_key, valid_start_time, valid_end_time, status, del_flag, create_by, create_time, update_by, update_time, remark, min_app_id, min_app_secret, callback_url, pay_url from sys_client_app |
| | | select app_id, client_name, app_key, security_key, valid_start_time, valid_end_time, status, del_flag, create_by, create_time, update_by, update_time, remark, min_app_id, min_app_secret, callback_url, pay_url, order_class, user_id from sys_client_app |
| | | </sql> |
| | | |
| | | <select id="selectSysClientAppList" parameterType="SysClientApp" resultMap="SysClientAppResult"> |
| | |
| | | <if test="minAppSecret != null">min_app_secret,</if> |
| | | <if test="callbackUrl != null">callback_url,</if> |
| | | <if test="payUrl != null">pay_url,</if> |
| | | <if test="orderClass != null">order_class,</if> |
| | | <if test="userId != null">user_id,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="clientName != null">#{clientName},</if> |
| | |
| | | <if test="minAppSecret != null">#{minAppSecret},</if> |
| | | <if test="callbackUrl != null">#{callbackUrl},</if> |
| | | <if test="payUrl != null">#{payUrl},</if> |
| | | <if test="orderClass != null">#{orderClass},</if> |
| | | <if test="userId != null">#{userId},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="minAppSecret != null">min_app_secret = #{minAppSecret},</if> |
| | | <if test="callbackUrl != null">callback_url = #{callbackUrl},</if> |
| | | <if test="payUrl != null">pay_url = #{payUrl},</if> |
| | | <if test="orderClass != null">order_class = #{orderClass},</if> |
| | | <if test="userId != null">user_id = #{userId},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | update_time = sysdate() |
| | | </set> |