zhaowenxuan
2024-10-16 d536b588ff3a76b7f7074580feb56bee9915dc38
增加lis项目代码字段
2个文件已修改
21 ■■■■■ 已修改文件
ltkj-hosp/src/main/java/com/ltkj/hosp/domain/TjSampling.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-hosp/src/main/java/com/ltkj/hosp/domain/TjSampling.java
@@ -125,6 +125,16 @@
     */
    private Integer isMerge;
    private String jyxmdm;
    public String getJyxmdm() {
        return jyxmdm;
    }
    public void setJyxmdm(String jyxmdm) {
        this.jyxmdm = jyxmdm;
    }
    public Integer getIsMerge() {
        return isMerge;
    }
ltkj-hosp/src/main/resources/mapper/hosp/TjSamplingMapper.xml
@@ -24,6 +24,7 @@
        <result property="jyxh" column="jyxh"/>
        <result property="specimenTypeCode" column="specimen_type_code"/>
        <result property="isMerge" column="is_merge"/>
        <result property="jyxmdm" column="jyxmdm"/>
    </resultMap>
    <sql id="selectTjSamplingVo">
@@ -45,7 +46,8 @@
               parent_id,
               jyxh,
               specimen_type_code,
               is_merge
               is_merge,
               jyxmdm
        from tj_sampling
    </sql>
@@ -129,6 +131,8 @@
            </if>
            <if test="isMerge != null">is_merge,
            </if>
            <if test="jyxmdm != null">jyxmdm,
            </if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="id != null">#{id},
@@ -168,6 +172,8 @@
            <if test="specimenTypeCode != null">#{specimenTypeCode},
            </if>
            <if test="isMerge != null">#{isMerge},
            </if>
            <if test="jyxmdm != null">#{jyxmdm},
            </if>
        </trim>
    </insert>
@@ -228,6 +234,9 @@
            <if test="isMerge != null">is_merge =
                #{isMerge},
            </if>
            <if test="isMerge != null">jyxmdm =
                #{jyxmdm},
            </if>
        </trim>
        where id = #{id}
    </update>