| | |
| | | <result property="parentId" column="parent_id"/> |
| | | <result property="jyxh" column="jyxh"/> |
| | | <result property="specimenTypeCode" column="specimen_type_code"/> |
| | | <result property="isMerge" column="is_merge"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTjSamplingVo"> |
| | |
| | | deleted, |
| | | parent_id, |
| | | jyxh, |
| | | specimen_type_code |
| | | specimen_type_code, |
| | | is_merge |
| | | from tj_sampling |
| | | </sql> |
| | | |
| | |
| | | </if> |
| | | <if test="specimenTypeCode != null">specimen_type_code, |
| | | </if> |
| | | <if test="isMerge != null">is_merge, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id}, |
| | |
| | | <if test="jyxh != null">#{jyxh}, |
| | | </if> |
| | | <if test="specimenTypeCode != null">#{specimenTypeCode}, |
| | | </if> |
| | | <if test="isMerge != null">#{isMerge}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="specimenTypeCode != null">specimen_type_code = |
| | | #{specimenTypeCode}, |
| | | </if> |
| | | <if test="isMerge != null">is_merge = |
| | | #{isMerge}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |