shenjingwei преди 3 месеца
родител
ревизия
a646328980
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/custom/restcontroller/webmanage/sale/period/period.java

+ 1 - 1
src/custom/restcontroller/webmanage/sale/period/period.java

@@ -142,7 +142,7 @@ public class period extends Controller {
     @CACHEING_CLEAN(apiClass = {period.class})
     public String cashbeginbalclose() throws YosException {
         int closeYear = content.getInteger("year");//结算年份
-        Rows accountrows = dbConnect.runSqlQuery("select sa_accountclassid from sa_accountclass where siteid='" + siteid + "' and accountnoa='01'");
+        Rows accountrows = dbConnect.runSqlQuery("select sa_accountclassid from sa_accountclass where siteid='" + siteid + "' and accountno='01'");
         if (accountrows.isEmpty()) {
             return getErrReturnObject().setErrMsg("01账户不存在").toString();
         }