Ver código fonte

收支凭证新增字段非必填

hu 2 anos atrás
pai
commit
958be40493

+ 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) {