|
|
@@ -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();
|
|
|
}
|