刘小明
2024-08-13 986de1ea52ea40a848a8e8ffe478122850bb03a2
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proItems/ProItemsSv.java
@@ -22,7 +22,7 @@
    @Transactional
    public int save(PltProductQualityInspectionItems item) {
        int count = dao.insert(item);
        int count = dao.insertSelective(item);
        return count;
    }
@@ -66,4 +66,12 @@
        rsVo.obj = this.dao.selectSome(params) ;
        return rsVo ;
    }
    @Transactional
    public int disabled(Long id, Boolean disabled) {
        PltProductQualityInspectionItems item = new PltProductQualityInspectionItems();
        item.setId(id);
        item.setDisabled(disabled);
        return dao.updateByPrimaryKeySelective(item);
    }
}