| | |
| | | <result property="jxbz" column="jxbz"/> |
| | | <result property="createId" column="create_id"/> |
| | | <result property="updateId" column="update_id"/> |
| | | <result property="isPay" column="is_pay"/> |
| | | <result property="isApply" column="is_apply"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTjSamplingVo"> |
| | |
| | | </if> |
| | | <if test="updateId != null">update_id, |
| | | </if> |
| | | <if test="isPay != null">is_pay, |
| | | </if> |
| | | <if test="isApply != null">is_apply, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id}, |
| | |
| | | <if test="createId != null">#{createId}, |
| | | </if> |
| | | <if test="updateId != null">#{updateId}, |
| | | </if> |
| | | <if test="isPay != null">#{isPay}, |
| | | </if> |
| | | <if test="isApply != null">#{isApply}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | </if> |
| | | <if test="updateId != null">update_id = #{updateId}, |
| | | </if> |
| | | <if test="isPay != null">is_pay = #{isPay}, |
| | | </if> |
| | | <if test="isApply != null">is_apply = #{isApply}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |