|
@@ -237,9 +237,9 @@ public class stockbill extends Controller {
|
|
|
RowsMap rowsMap =rows.toRowsMap("st_stockbillid");
|
|
RowsMap rowsMap =rows.toRowsMap("st_stockbillid");
|
|
|
RowsMap periodrowsMap =dbConnect.runSqlQuery("select CONCAT(year, '-',LPAD(month, 2, '0')) period,isclose from st_period").toRowsMap("isclose");
|
|
RowsMap periodrowsMap =dbConnect.runSqlQuery("select CONCAT(year, '-',LPAD(month, 2, '0')) period,isclose from st_period").toRowsMap("isclose");
|
|
|
|
|
|
|
|
- if(periodrowsMap.get("1").toRowsMap("period").containsKey(period)){
|
|
|
|
|
- return getErrReturnObject().setErrMsg("原单据会计期间已关闭,不可调整").toString();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// if(periodrowsMap.get("1").toRowsMap("period").containsKey(period)){
|
|
|
|
|
+// return getErrReturnObject().setErrMsg("原单据会计期间已关闭,不可调整").toString();
|
|
|
|
|
+// }
|
|
|
for (Object o : st_stockbillids) {
|
|
for (Object o : st_stockbillids) {
|
|
|
long st_stockbillid = Long.parseLong(o.toString());
|
|
long st_stockbillid = Long.parseLong(o.toString());
|
|
|
if(rowsMap.containsKey(st_stockbillid)){
|
|
if(rowsMap.containsKey(st_stockbillid)){
|