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