Fancy
2024-07-31 4db1c10cc1865cfda53910b100856e48a31d3023
disabled filter
3个文件已修改
8 ■■■■■ 已修改文件
pms-parent/pms-global/src/main/resources/mapper/PltProductQualityInspectionItemsMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/resources/mapper/PltProductTestInspectionItemsMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pms-parent/pms-global/src/main/resources/mapper/PltProductQualityInspectionItemsMapper.xml
@@ -84,6 +84,9 @@
            <if test="item != null  and item != ''">
                t.item like concat('%', #{item}, '%') and
            </if>
            <if test="disabled != null  and disabled != ''">
                t.disabled != 1  and        -- FIND_IN_SET(t.disabled, #{disabled}) and
            </if>
        </trim>
        order by sort desc
        <trim prefix="limit " >
pms-parent/pms-global/src/main/resources/mapper/PltProductTestInspectionItemsMapper.xml
@@ -38,6 +38,9 @@
            <if test="item != null  and item != ''">
                t.item like concat('%', #{item}, '%') and
            </if>
            <if test="disabled != null  and disabled != ''">
                t.disabled != 1  and        -- FIND_IN_SET(t.disabled, #{disabled}) and
            </if>
        </trim>
    </select>
pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/assemblyStep/AssemblyStepSv.java
@@ -473,6 +473,7 @@
    public List<PltProductQualityInspectionItems> getQualityItems(String proId) {
        Map<String, Object> params = new HashMap<>();
        params.put("proId", proId);//item  start  count
        params.put("disabled", "0");
        //查询符合条件的记录
        return qualityItemsDao.selectSome(params);
    }
@@ -480,6 +481,7 @@
    public List<PltProductTestInspectionItems> getTestItems(String proId) {
        Map<String, Object> params = new HashMap<>();
        params.put("proId", proId);
        params.put("disabled", "0");
        return testItemsDao.selectSome(params);
    }