chenlu
2024-07-08 4c368a7d1f0bb452b4cbb063a86701b571a01a95
north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java
@@ -45,7 +45,12 @@
        }
        BasicOtherMoney basicOtherMoney = basicOtherMoneyList.get(0);
        String getColumn = basicOtherMoney.getColumn()==null?"0":basicOtherMoney.getColumn().replace("M","");
        String getColumn = basicOtherMoney.getColumn()==null?
                "0":
                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));