guoyuji
2024-06-24 bb49ffdb11d8aacb2f52ea3b0d787b02d738edab
修改基础数据问题
1个文件已修改
7 ■■■■■ 已修改文件
north-glass-erp/src/main/java/com/example/erp/service/sd/BasicOtherMoneyService.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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));