|
|
@@ -551,10 +551,10 @@ public class aftersalesmag extends Controller {
|
|
|
SQLFactory sqlFactoryupdate;
|
|
|
if (ischeck) {
|
|
|
InsertSQL insertSQL = SQLFactory.createInsertSQL(this, "st_stockbill");
|
|
|
- long st_stockbillid = createTableID("STOCKBILL8");
|
|
|
+ long st_stockbillid = createTableID("st_stockbill");
|
|
|
insertSQL.setUniqueid(st_stockbillid);
|
|
|
insertSQL.setSiteid(siteid);
|
|
|
- insertSQL.setValue("billno", createBillCode("stockbill"));
|
|
|
+ insertSQL.setValue("billno", createBillCode("STOCKBILL8"));
|
|
|
insertSQL.setValue("type", "返修入库");
|
|
|
// insertSQL.setValue("typemx", "");
|
|
|
insertSQL.setValue("sys_enterpriseid", rows.get(0).getLong("sys_enterpriseid"));
|