Browse Source

收支凭证新增字段非必填

hu 2 years ago
parent
commit
958be40493
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/custom/restcontroller/sale/cashbill/cashbill.java

+ 2 - 2
src/custom/restcontroller/sale/cashbill/cashbill.java

@@ -296,8 +296,8 @@ public class cashbill extends Controller {
         Long sys_enterpriseid = content.getLong("sys_enterpriseid");
         Long sa_accountclassid = content.getLong("sa_accountclassid");
         String billcode = createBillCode("cashbill");
-        String subclass = content.getString("subclass");
-        String class1 = content.getString("class");
+        String subclass = content.getStringValue("subclass");
+        String class1 = content.getStringValue("class");
         String period = content.getStringValue("period");
         if (StringUtils.isEmpty(period)) {
             if (type == 1) {