zhaowenxuan
2024-10-17 12c5944737557edc4e2de557992efa18adc02266
增加补录标志字段
2个文件已修改
27 ■■■■■ 已修改文件
ltkj-hosp/src/main/java/com/ltkj/hosp/domain/TjSampling.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-hosp/src/main/java/com/ltkj/hosp/domain/TjSampling.java
@@ -125,8 +125,24 @@
     */
    private Integer isMerge;
    /**
     * lis检验项目代码
     */
    private String jyxmdm;
    /**
     * 补录项目标志编码
     */
    private String jxbz;
    public String getJxbz() {
        return jxbz;
    }
    public void setJxbz(String jxbz) {
        this.jxbz = jxbz;
    }
    public String getJyxmdm() {
        return jyxmdm;
    }
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -25,6 +25,7 @@
        <result property="specimenTypeCode" column="specimen_type_code"/>
        <result property="isMerge" column="is_merge"/>
        <result property="jyxmdm" column="jyxmdm"/>
        <result property="jxbz" column="jxbz"/>
    </resultMap>
    <sql id="selectTjSamplingVo">
@@ -47,7 +48,8 @@
               jyxh,
               specimen_type_code,
               is_merge,
               jyxmdm
               jyxmdm,
               jxbz
        from tj_sampling
    </sql>
@@ -133,6 +135,8 @@
            </if>
            <if test="jyxmdm != null">jyxmdm,
            </if>
            <if test="jxbz != null">jxbz,
            </if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="id != null">#{id},
@@ -174,6 +178,8 @@
            <if test="isMerge != null">#{isMerge},
            </if>
            <if test="jyxmdm != null">#{jyxmdm},
            </if>
            <if test="jxbz != null">#{jxbz},
            </if>
        </trim>
    </insert>
@@ -237,6 +243,9 @@
            <if test="isMerge != null">jyxmdm =
                #{jyxmdm},
            </if>
            <if test="jxbz != null">jxbz =
                #{jxbz},
            </if>
        </trim>
        where id = #{id}
    </update>