|
|
@@ -299,9 +299,11 @@ public class toolscode extends Controller {
|
|
|
|
|
|
@API(title = "查询商品序列号档案列表", apiversion = R.ID20221215101003.v1.class)
|
|
|
public String queryToolscodeList() throws YosException {
|
|
|
+ this.pageSorting = null;
|
|
|
QuerySQL skuQuery = SQLFactory.createQuerySQL(this, "sa_itemsku").setTableAlias("t1");
|
|
|
skuQuery.setPage(pageSize, pageNumber);
|
|
|
skuQuery.setWhere("siteid", siteid);
|
|
|
+ skuQuery.setOrderBy("sa_itemskuid desc");
|
|
|
if (content.containsKey("where")) {
|
|
|
JSONObject whereObject = content.getJSONObject("where");
|
|
|
if (!"".equals(whereObject.getStringValue("condition"))) {
|