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