廖井涛
2024-06-25 01c08f1464263c27aa86d4d1ce67fc0967f4120c
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));