廖井涛
2024-07-06 a63145ac1499a46cac039fc8aaba229e7156148f
north-glass-erp/src/main/java/com/example/erp/service/pp/FlowCardService.java
@@ -359,6 +359,19 @@
        return map;
    }
    public Boolean updatePrintStateSv(Integer printState, Map<String, Object> object) {
        List<FlowCard> flowCardList = JSONArray.parseArray(JSONObject.toJSONString(object.get("printList")), FlowCard.class);
        if (!flowCardList.isEmpty()) {
            for (FlowCard flowCard : flowCardList) {
                // 更新打印状态
                flowCardMapper.updatePrintStateMp(printState,flowCard.getProcessId(),flowCard.getTechnologyNumber());
            }
            return true;
        } else {
            return false;
        }
    }
}