| | |
| | | */ |
| | | private String jyxh; |
| | | |
| | | public String getSpecimenTypeCode() { |
| | | return specimenTypeCode; |
| | | } |
| | | |
| | | public void setSpecimenTypeCode(String specimenTypeCode) { |
| | | this.specimenTypeCode = specimenTypeCode; |
| | | } |
| | | |
| | | private String specimenTypeCode; |
| | | |
| | | public String getParentId() { |
| | | return parentId; |
| | | } |
| | |
| | | .append("deleted", getDeleted()) |
| | | .append("parentId", getParentId()) |
| | | .append("jyxh", getJyxh()) |
| | | .append("specimenTypeCode", getSpecimenTypeCode()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | <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> |