zhaowenxuan
2024-10-16 86d28d655da31baebb505cfee98d7a36cde17d3b
增加字段
2个文件已修改
48 ■■■■■ 已修改文件
ltkj-hosp/src/main/java/com/ltkj/hosp/domain/TjSampling.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-hosp/src/main/java/com/ltkj/hosp/domain/TjSampling.java
@@ -105,6 +105,32 @@
    @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;
    }
@@ -187,6 +213,8 @@
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .append("parentId", getParentId())
                .append("jyxh", getJyxh())
                .toString();
    }
}
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -20,6 +20,8 @@
        <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">
@@ -37,7 +39,9 @@
               create_time,
               update_by,
               update_time,
               deleted
               deleted,
               parent_id,
               jyxh
        from tj_sampling
    </sql>
@@ -113,6 +117,10 @@
            </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},
@@ -144,6 +152,10 @@
            <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>
@@ -192,6 +204,12 @@
            <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>