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