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