廖井涛
2024-07-28 dffdcaa14f32c51a63b4ab2cc7a38eebf17f8f44
north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
@@ -47,9 +47,10 @@
        BasicOtherMoney basicOtherMoney = basicOtherMoneyList.get(0);
        String getColumn = basicOtherMoney.getColumn()==null?
                "0":
                basicOtherMoney.getColumn().
                        replace("M","").
                        replace("S","");
                String.valueOf(basicOtherMoney.getId());
//                basicOtherMoney.getColumn().
//                        replace("M","").
//                        replace("S","");
        int  columnNum = Integer.parseInt(getColumn)+1;
        BasicOtherMoney newBasicOtherMoney = new  BasicOtherMoney();
        newBasicOtherMoney.setColumn("M"+String.format("%02d", columnNum));