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