|
|
@@ -46,6 +46,17 @@ public class Stock extends Controller {
|
|
|
return getSucReturnObject().setData(rows).toString();
|
|
|
}
|
|
|
|
|
|
+ @API(title = "详情", apiversion = R.ID2025022513090103.v1.class)
|
|
|
+ @CACHEING
|
|
|
+ public String querydetail() throws YosException {
|
|
|
+ QuerySQL querySQL = SQLFactory.createQuerySQL(this, "st_stock");
|
|
|
+ querySQL.setSiteid(siteid);
|
|
|
+ querySQL.setWhere("stockid",content.getLong("stockid"));
|
|
|
+ Rows rows = querySQL.query();
|
|
|
+ return getSucReturnObject().setData(rows).toString();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@API(title = "新增或更新", apiversion = R.ID20230104094704.v1.class)
|
|
|
@CACHEING_CLEAN(apiversions = {R.ID20230104094604.v1.class})
|
|
|
public String insertOrUpdate() throws YosException {
|