hongjli
2025-05-21 9cca98d3f486495767ef745f7ada20042571f58d
补充标准焊缝数据数据查询接口,新增适用plant(适用工厂)字段
已修改2个文件
8 ■■■■ 文件已修改
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsWeldSeamStandard.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsWeldSeamStandard.java
@@ -49,6 +49,10 @@
    /** 焊接形式(hup\lod) */
    @Excel(name = "焊接形式")
    private String type;
    /** 适用工厂 */
    @Excel(name = "适用工厂")
    private String plant;
    /** 是否删除(0否,1是) */
    private Integer delFlag;
aps-modules/aps-core/src/main/resources/mapper/core/ApsWeldSeamStandardMapper.xml
@@ -12,11 +12,12 @@
        <result property="hupQty"    column="hup_qty"    />
        <result property="lodQty"    column="lod_qty"    />
        <result property="type"    column="type"    />
        <result property="plant"    column="plant"    />
        <result property="delFlag"    column="del_flag"    />
    </resultMap>
    <sql id="selectApsWeldSeamStandardVo">
        select id, item_code, item_figure, item_figure_version, hup_qty, lod_qty, type, del_flag from aps_weld_seam_standard
        select id, item_code, item_figure, item_figure_version, hup_qty, lod_qty, type, plant, del_flag from aps_weld_seam_standard
    </sql>
    <select id="selectApsWeldSeamStandardList" parameterType="com.aps.core.domain.ApsWeldSeamStandard" resultMap="ApsWeldSeamStandardResult">
@@ -28,6 +29,7 @@
            <if test="hupQty != null "> and hup_qty = #{hupQty}</if>
            <if test="lodQty != null "> and lod_qty = #{lodQty}</if>
            <if test="type != null  and type != ''"> and type = #{type}</if>
            <if test="plant != null  and plant != ''"> and plant = #{plant}</if>
            and del_flag = 0
        </where>
    </select>