|
@@ -36,6 +36,12 @@ public class u8billcodes extends Controller {
|
|
|
where.append("t1.rb ='").append(whereObject.getString("rb")).append("' ");
|
|
|
where.append(")");
|
|
|
}
|
|
|
+ if (whereObject.containsKey("st_stockbillid") && !"".equals(whereObject.getString("st_stockbillid"))) {
|
|
|
+ where.append(" and(");
|
|
|
+ where.append("t1.st_stockbillid ='").append(whereObject.getString("st_stockbillid")).append("' ");
|
|
|
+ where.append(")");
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
QuerySQL querySQL = SQLFactory.createQuerySQL(this, "u8billcodes","*");
|
|
|
querySQL.setTableAlias("t1");
|