whycxzp
2022-08-13 fde67238dfcd493876d45d6916d3f7bdd2bb7120
src/main/java/com/whyc/service/ComponentApprovingService.java
@@ -152,9 +152,9 @@
        return mapper.selectList(query);
    }
    public void endType(Integer mainId) {
    public void endStatus(Integer mainId) {
        UpdateWrapper<ComponentApproving> update = Wrappers.update();
        update.set("type",2).eq("main_id",mainId);
        update.set("status",2).eq("main_id",mainId);
        mapper.update(null,update);
    }