| | |
| | | @TableField(exist = false) |
| | | private TjCustomer customer; |
| | | |
| | | /** |
| | | * 合并后的父id |
| | | */ |
| | | private String parentId; |
| | | |
| | | /** |
| | | * 向lis申请单的检验序号 |
| | | */ |
| | | private String jyxh; |
| | | |
| | | public String getParentId() { |
| | | return parentId; |
| | | } |
| | | |
| | | public void setParentId(String parentId) { |
| | | this.parentId = parentId; |
| | | } |
| | | |
| | | public String getJyxh() { |
| | | return jyxh; |
| | | } |
| | | |
| | | public void setJyxh(String jyxh) { |
| | | this.jyxh = jyxh; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("deleted", getDeleted()) |
| | | .append("parentId", getParentId()) |
| | | .append("jyxh", getJyxh()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | <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> |