|
|
@@ -1,5 +1,6 @@
|
|
|
package service;
|
|
|
|
|
|
+import beans.period.Period;
|
|
|
import beans.stockbill.Stockbill;
|
|
|
import common.ServiceController;
|
|
|
import common.YosException;
|
|
|
@@ -107,13 +108,14 @@ public class GetStockBillFromU8 extends ServiceController {
|
|
|
stStockbill.setValue("siteid", "MD");
|
|
|
stStockbill.setValue("departmentid", departmentRowsMap.get("103").get(0).getLong("departmentid"));
|
|
|
stStockbill.setValue("billdate", ddate);
|
|
|
+ stStockbill.setValue("period", Period.get(dbConnect, "MD", ddate));
|
|
|
+
|
|
|
stStockbill.setValue("stockid", stockid);
|
|
|
stStockbill.setValue("remarks", cmemo);
|
|
|
stStockbill.setValue("createby", "u8");
|
|
|
stStockbill.setValue("status", "新建");
|
|
|
stStockbill.setValue("rb", 1);
|
|
|
|
|
|
-
|
|
|
for (Row u8billmxRow : u8billmxRows) {
|
|
|
String cinvcode = u8billmxRow.getString("cinvcode");
|
|
|
String autoid = u8billmxRow.getString("autoid");
|
|
|
@@ -185,5 +187,4 @@ public class GetStockBillFromU8 extends ServiceController {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|