|
@@ -299,6 +299,8 @@ public class cashbill extends Controller {
|
|
|
String billcode = createBillCode("cashbill");
|
|
String billcode = createBillCode("cashbill");
|
|
|
String subclass = content.getString("subclass");
|
|
String subclass = content.getString("subclass");
|
|
|
String class1 = content.getString("class");
|
|
String class1 = content.getString("class");
|
|
|
|
|
+ String period = content.getStringValue("period");
|
|
|
|
|
+
|
|
|
//String billcode = "123456789";
|
|
//String billcode = "123456789";
|
|
|
BigDecimal amount = content.getBigDecimal("amount");
|
|
BigDecimal amount = content.getBigDecimal("amount");
|
|
|
String remarks = content.getString("remarks");
|
|
String remarks = content.getString("remarks");
|
|
@@ -327,6 +329,7 @@ public class cashbill extends Controller {
|
|
|
sqlFactory.addParameter("ownerid", 0);
|
|
sqlFactory.addParameter("ownerid", 0);
|
|
|
sqlFactory.addParameter("source", "");
|
|
sqlFactory.addParameter("source", "");
|
|
|
sqlFactory.addParameter("sourcenote", "");
|
|
sqlFactory.addParameter("sourcenote", "");
|
|
|
|
|
+ sqlFactory.addParameter("period", period);
|
|
|
content.put("sa_cashbillid", sa_cashbillid);
|
|
content.put("sa_cashbillid", sa_cashbillid);
|
|
|
sqlList.add(sqlFactory.getSQL());
|
|
sqlList.add(sqlFactory.getSQL());
|
|
|
} else {
|
|
} else {
|
|
@@ -352,6 +355,7 @@ public class cashbill extends Controller {
|
|
|
sqlFactory.addParameter("username", username);
|
|
sqlFactory.addParameter("username", username);
|
|
|
sqlFactory.addParameter("source", "");
|
|
sqlFactory.addParameter("source", "");
|
|
|
sqlFactory.addParameter("sourcenote", "");
|
|
sqlFactory.addParameter("sourcenote", "");
|
|
|
|
|
+ sqlFactory.addParameter("period", period);
|
|
|
sqlList.add(sqlFactory.getSQL());
|
|
sqlList.add(sqlFactory.getSQL());
|
|
|
}
|
|
}
|
|
|
dbConnect.runSqlUpdate(sqlList);
|
|
dbConnect.runSqlUpdate(sqlList);
|