diff --git a/uapbd/src/public/nccloud/api/uapbd/QuerySync.java b/uapbd/src/public/nccloud/api/uapbd/QuerySync.java index 5b3f686..8d308ce 100644 --- a/uapbd/src/public/nccloud/api/uapbd/QuerySync.java +++ b/uapbd/src/public/nccloud/api/uapbd/QuerySync.java @@ -81,6 +81,7 @@ public class QuerySync extends AbstractNCCRestResource { case "queryDept" -> queryDept(ufinterface); case "queryCustomer" -> queryCustomer(ufinterface); case "querySupplier" -> querySupplier(ufinterface); + case "queryPsndoc" -> queryPsndoc(ufinterface); default -> ResultMessageUtil.exceptionToJSON(new Exception("不支持的查询类型: " + type)); }; } catch (Exception e) { @@ -100,12 +101,6 @@ public class QuerySync extends AbstractNCCRestResource { return baseQuery(apiUfinterface, "V_UAPBD_QUERYSYNC_DEPT", "pk_defdoc"); } - /** - * 查询物料信息 - */ - private JSONString queryMaterial(ApiUfinterface apiUfinterface) { - return null; - } private JSONString queryStordoc(ApiUfinterface apiUfinterface) throws DAOException { return baseQuery(apiUfinterface, "V_UAPBD_QUERYSYNC_STORDOC", "pk_stordoc"); @@ -115,4 +110,32 @@ public class QuerySync extends AbstractNCCRestResource { return baseQuery(ufinterface, "V_UAPBD_QUERYSYNC_SUPPLIER", "pk_supplier"); } + /** + * 查询物料信息 + */ + private JSONString queryMaterial(ApiUfinterface ufinterface) throws DAOException { + return baseQuery(ufinterface, "V_UAPBD_QUERYSYNC_MATERIAL", "pk_material"); + } + + /** + * 查询BOM维护信息 + */ + private JSONString queryBom(ApiUfinterface ufinterface) throws DAOException { + return baseQuery(ufinterface, "V_UAPBD_QUERYSYNC_BOM", "cpickmid"); + } + + /** + * 查询物料分类 + */ + private JSONString queryMaterialClass(ApiUfinterface ufinterface) throws DAOException { + return baseQuery(ufinterface, "V_UAPBD_QUERYSYNC_MATERIALCLASS", "pk_marbasclass"); + } + + /** + * 查询人员信息 + */ + private JSONString queryPsndoc(ApiUfinterface ufinterface) throws DAOException { + return baseQuery(ufinterface, "V_UAPBD_QUERYSYNC_PSNDOC", "pk_psndoc"); + } + } \ No newline at end of file