lxw
2022-08-13 5d0f425324ee72e50f0b7ad5200ccebab32e7099
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);
    }